#ifndef ROOT_TContextMenuImp #define ROOT_TContextMenuImp //+SEQ,CopyRight,T=NOINCLUDE. //////////////////////////////////////////////////////////////////////////////// // // // TContextMenuImp // // // // This class provides an interface to GUI independent // // context sensitive popup menus. // // // //////////////////////////////////////////////////////////////////////////////// #ifndef ROOT_Rtypes //*KEEP,Rtypes. #include "Rtypes.h" //*KEND. #endif class TContextMenu; class TObject; class TMethod; class TContextMenuImp { protected: TContextMenu *fContextMenu; //TContextMenu associated with this implementation public: TContextMenuImp(TContextMenu *c=0) : fContextMenu(c) { } virtual ~TContextMenuImp() { } virtual TContextMenu *GetContextMenu() const { return fContextMenu; } virtual void Dialog(TObject *object, TMethod *method); virtual void DisplayPopup(Int_t x, Int_t y); ClassDef(TContextMenuImp,0) //Context sensitive popup menu implementation }; inline void TContextMenuImp::Dialog(TObject *, TMethod *) { } inline void TContextMenuImp::DisplayPopup(Int_t, Int_t) { } #endif