3 * \file ToolbarBackend.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
12 #ifndef TOOLBAR_BACKEND_H
13 #define TOOLBAR_BACKEND_H
22 class ToolbarBackend {
24 /// The special toolbar actions
26 /// adds space between buttons in the toolbar
28 /// a special combox insead of a button
30 /// begin a new line of button (not working)
35 typedef std::vector<int> Items;
37 typedef Items::iterator iterator;
39 typedef Items::const_iterator const_iterator;
47 const_iterator begin() const {
55 const_iterator end() const {
61 /// This func is just to make it easy for me...
64 void add(string const &);
69 /// The global instance
70 extern ToolbarBackend toolbarbackend;
73 #endif // TOOLBAR_BACKEND_H