lleditmenuhandler.h

Go to the documentation of this file.
00001 
00032 #ifndef LLEDITMENUHANDLER_H
00033 #define LLEDITMENUHANDLER_H
00034 
00035 // Interface used by menu system for plug-in hotkey/menu handling
00036 class LLEditMenuHandler
00037 {
00038 public:
00039         // this is needed even though this is just an interface class.
00040         virtual ~LLEditMenuHandler();
00041         
00042         virtual void    undo();
00043         virtual BOOL    canUndo();
00044         
00045         virtual void    redo();
00046         virtual BOOL    canRedo();
00047         
00048         virtual void    cut();
00049         virtual BOOL    canCut();
00050         
00051         virtual void    copy();
00052         virtual BOOL    canCopy();
00053         
00054         virtual void    paste();
00055         virtual BOOL    canPaste();
00056         
00057         // "delete" is a keyword
00058         virtual void    doDelete();
00059         virtual BOOL    canDoDelete();
00060         
00061         virtual void    selectAll();
00062         virtual BOOL    canSelectAll();
00063         
00064         virtual void    deselect();
00065         virtual BOOL    canDeselect();
00066         
00067         virtual void    duplicate();
00068         virtual BOOL    canDuplicate();
00069 };
00070 
00071 extern LLEditMenuHandler* gEditMenuHandler;
00072 
00073 #endif

Generated on Thu Jul 1 06:08:28 2010 for Second Life Viewer by  doxygen 1.4.7