00001 #ifndef VIS_ROOT_BROWSER_VIS_HTML_ROOT_BROWSER_H 00002 # define VIS_ROOT_BROWSER_VIS_HTML_ROOT_BROWSER_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 #include "VisRoot/VisRootBrowser/interface/config.h" 00006 #include "VisRoot/VisRootModel/interface/VisRootModelEvent.h" 00007 #include "Iguana/Framework/interface/IgBrowser.h" 00008 #include <qcstring.h> 00009 00010 //<<<<<< PUBLIC DEFINES >>>>>> 00011 //<<<<<< PUBLIC CONSTANTS >>>>>> 00012 //<<<<<< PUBLIC TYPES >>>>>> 00013 class IgRepresentable; 00014 class IgState; 00015 class IgSite; 00016 class TCanvas; 00017 class VisRootModel; 00018 00019 //<<<<<< PUBLIC VARIABLES >>>>>> 00020 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00021 //<<<<<< CLASS DECLARATIONS >>>>>> 00022 00023 class VIS_ROOT_BROWSER_API VisHtmlRootBrowser : public IgBrowser 00024 { 00025 public: 00026 static const char *catalogLabel (void); 00027 00028 VisHtmlRootBrowser (IgState *state, IgSite *site, VisRootModel *model = 0); 00029 // implicit copy constructor 00030 // implicit assignment operator 00031 // implicit destructor 00032 void browse (IgRepresentable *object); 00033 void modelChanged (VisRootModelEvent event); 00034 QByteArray getJPGBuffer (void); 00035 private: 00036 IgState * m_state; 00037 TCanvas * m_canvas; 00038 VisRootModel * m_model; 00039 }; 00040 00041 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00042 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00043 00044 #endif // VIS_ROOT_BROWSER_VIS_HTML_ROOT_BROWSER_H