* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author unknown
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef TOOLBAR_BACKEND_H
/// iterator for all toolbars
Toolbars::const_iterator begin() const {
- return toolbars.begin();
+ return usedtoolbars.begin();
}
Toolbars::const_iterator end() const {
- return toolbars.end();
+ return usedtoolbars.end();
}
/// read a toolbar from the file
void read(LyXLex &);
+ /// read the used toolbars
+ void readToolbars(LyXLex &);
+
/// return a full path of an XPM for the given action
static string const getIcon(int action);
/// all the toolbars
Toolbars toolbars;
+
+ /// toolbars listed
+ Toolbars usedtoolbars;
};
/// The global instance