]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/FormToc.h
ws cleanup
[lyx.git] / src / frontends / gnome / FormToc.h
1 // -*- C++ -*-
2 // THIS FILE IS NOT IN USE DUE TO API CHANGES.
3 #include "frontends/xforms/FormToc.h"
4 // #if 0
5 // // -*- C++ -*-
6 // /* This file is part of
7 //  * ======================================================
8 //  *
9 //  *           LyX, The Document Processor
10 //  *
11 //  *           Copyright 2000 The LyX Team.
12 //  *
13 //  * ======================================================
14 //  */
15
16 // #ifndef FORMTOC_H
17 // #define FORMTOC_H
18
19 // #ifdef __GNUG__
20 // #pragma interface
21 // #endif
22
23 // #include "DialogBase.h"
24 // #include "LString.h"
25 // #include "insets/insetcommand.h"
26 // #include "buffer.h"
27
28 // #include <gnome--/dialog.h>
29 // #include <gtk--/optionmenu.h>
30 // #include <gtk--/list.h>
31
32 // /** This class provides an Gnome implementation of the FormToc Dialog.
33 //  */
34 // class FormToc : public DialogBase {
35 // public:
36 //   ///
37 //   FormToc(LyXView *, Dialogs *);
38 //   ///
39 //   ~FormToc();
40 // private:
41 //   /// Slot launching dialog to (possibly) create a new inset
42 //   void createInset( string const & );
43 //   /// Slot launching dialog to an existing inset
44 //   void showInset( InsetCommand * const );
45
46 //   /// Update dialog before showing it
47 //   virtual void update() { }
48 //   virtual void updateSlot(bool = false);
49 //   /// Explicitly free the dialog.
50 //   void free();
51 //   /// Create the dialog if necessary, update it and display it.
52 //   void show();
53 //   /// Hide the dialog.
54 //   void hide();
55 //   /// move cursor in LyXView
56 //   void apply(Buffer::TocItem);
57 //   /// change type of the list
58 //   void changeList(Buffer::TocType);
59
60 //   /** Which LyXFunc do we use?
61 //       We could modify Dialogs to have a visible LyXFunc* instead and
62 //       save a couple of bytes per dialog.
63 //   */
64 //   LyXView * lv_;
65 //   /** Which Dialogs do we belong to?
66 //       Used so we can get at the signals we have to connect to.
67 //   */
68 //   Dialogs * d_;
69 //   /// pointer to the inset passed through showInset (if any)
70 //   InsetCommand * inset_;
71 //   /// the nitty-griity. What is modified and passed back
72 //   InsetCommandParams params;
73 //   /// Update connection.
74 //   Connection u_;
75 //   /// Hide connection.
76 //   Connection h_;
77 //   /// inset::hide connection.
78 //   Connection ih_;
79
80 //   /// Real GUI implementation.
81 //   Gnome::Dialog * dialog_;
82
83 //   Gtk::OptionMenu * choice_;
84
85 //   Gtk::List * list_;
86
87 //   bool ignore_callback_;
88 // };
89
90 #endif
91 #endif