// -*- 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
#include "LString.h"
-using std::vector;
-
class LyXLex;
-
///
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;
///
Defaults defaults;
};
-#endif
-
+/// The global instance
+extern ToolbarDefaults toolbardefaults;
+#endif