X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FToolbarDefaults.h;h=fc5e003e5729fe2313bdf3be3dffb9efd0fa391c;hb=0ba59ef037642f4de07669128355fac762b04746;hp=3781f0c715a00127cd7bb025ff1729a8feada99b;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/ToolbarDefaults.h b/src/ToolbarDefaults.h index 3781f0c715..fc5e003e57 100644 --- a/src/ToolbarDefaults.h +++ b/src/ToolbarDefaults.h @@ -1,22 +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 #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 Defaults; + typedef std::vector Defaults; /// typedef Defaults::iterator iterator; /// @@ -52,7 +74,8 @@ private: Defaults defaults; }; -#endif - +/// The global instance +extern ToolbarDefaults toolbardefaults; +#endif