]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarDefaults.h
fix typo that put too many include paths for most people
[lyx.git] / src / ToolbarDefaults.h
index c8c3f76eba740268d0b147e7ec4d6c2296e2e486..a3ffb4de2d9555ddeca8c95b0f2db8e0ee3a7f4d 100644 (file)
@@ -1,21 +1,44 @@
 // -*- C++ -*-
+/* This file is part of
+ * ======================================================
+ *
+ *           LyX, The Document Processor
+ *
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2001 The LyX Team.
+ *
+ *
+ * ====================================================== */
+
 
 #ifndef TOOLBARDEFAULTS_H
 #define TOOLBARDEFAULTS_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include <vector>
 
 #include "LString.h"
 
 class LyXLex;
 
-using std::vector;
-
 ///
 class ToolbarDefaults {
 public:
+       /// The special toolbar actions
+       enum  ItemType {
+               /// adds space between buttons in the toolbar
+               SEPARATOR=-3,
+               /// a special combox insead of a button
+               LAYOUTS=-2,
+               /// begin a new line of button (not working)
+               NEWLINE=-1
+       };
+
        ///
-       typedef vector<int> Defaults;
+       typedef std::vector<int> Defaults;
        ///
        typedef Defaults::iterator iterator;
        ///
@@ -51,7 +74,8 @@ private:
        Defaults defaults;
 };
 
-#endif
-
+/// The global instance
+extern ToolbarDefaults toolbardefaults;
 
 
+#endif