#endif
#include <vector>
+#include "gettext.h"
#include "LString.h"
#include <gnome--/app.h>
#include "frontends/Menubar.h"
class MenuItem;
class StrPool;
-#ifdef SIGC_CXX_NAMESPACES
-using SigC::Connection;
-#endif
-
#include "debug.h"
/*
void callbackToc(Buffer::TocItem tg);
/// compose Gnome::UI::Array object describing the menu
void composeUIInfo(string const & menu_name, vector<Gnome::UI::Info> & Menus, string path);
+ /// compose Gnome::UI::Array object describing the TOClist
+ vector<Buffer::TocItem>::const_iterator
+ composeTocUIInfo(vector<Gnome::UI::Info> & menu,
+ vector<Buffer::TocItem> const & toclist,
+ vector<Buffer::TocItem>::const_iterator begin,
+ int mylevel);
/// populate wid_act_ vector with all widgets and corresponding actions
void connectWidgetToAction(GnomeUIInfo * guinfo);
};
/// populate lists
void updateList(vector<Buffer::TocItem> *, vector<ListsHolder> *);
- /// Add to "Menus" the list of exportable/viewable formats
- void add_formats(vector<Gnome::UI::Info> & Menus, kb_action action, bool viewable);
private:
///
vector<GtkWidgetToAction> wid_act_;
/// toc
- Connection utoc_;
+ SigC::Connection utoc_;
vector<ListsHolder> toc_;
};
#endif