2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
11 * ====================================================== */
14 #ifndef TOOLBARDEFAULTS_H
15 #define TOOLBARDEFAULTS_H
24 class ToolbarDefaults {
26 /// The special toolbar actions
28 /// adds space between buttons in the toolbar
30 /// a special combox insead of a button
32 /// begin a new line of button (not working)
37 typedef std::vector<int> Defaults;
39 typedef Defaults::iterator iterator;
41 typedef Defaults::const_iterator const_iterator;
46 return defaults.begin();
49 const_iterator begin() const {
50 return defaults.begin();
54 return defaults.end();
57 const_iterator end() const {
58 return defaults.end();
65 /// This func is just to make it easy for me...
68 void add(string const &);
73 /// The global instance
74 extern ToolbarDefaults toolbardefaults;