X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmenus.h;h=bda481d11fb4281a1e264a1767da4c52d7cfed80;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=64bbc6c7750e34f64ac1eb2a616675ae85aaa995;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/menus.h b/src/menus.h index 64bbc6c775..bda481d11f 100644 --- a/src/menus.h +++ b/src/menus.h @@ -9,8 +9,8 @@ * *======================================================*/ -#ifndef _MENUS_H -#define _MENUS_H +#ifndef MENUS_H +#define MENUS_H #ifdef __GNUG__ #pragma interface @@ -18,10 +18,11 @@ #include FORMS_H_LOCATION #include "lyx.h" +#include "LString.h" class BufferView; class LyXView; -class LString; + /// class Menus { @@ -33,21 +34,7 @@ public: /// void hideMenus(); /// - void openByName(LString const &menuName); -private: - /// - void create_menus(int air); - /// - void ScreenOptions(); - /// - void showCopyright(); - /// - void showLicense(); - /// - void MenuDocu(LString const & docname); - /// - void handleBufferMenu(int choice); - + void openByName(string const &menuName); /// static void ShowFileMenu(FL_OBJECT *ob, long); /// @@ -66,6 +53,20 @@ private: static void ShowBufferMenu(FL_OBJECT *ob, long); /// static void ShowHelpMenu(FL_OBJECT *ob, long); +private: + /// + void create_menus(int air); + /// + void ScreenOptions(); + /// + void showCopyright(); + /// + void showLicense(); + /// + void MenuDocu(string const & docname); + /// + void handleBufferMenu(int choice); + /// BufferView *currentView(); ///