Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

TableUpdateListener.h

Go to the documentation of this file.
00001 #ifndef VideoExcel_TableUpdateListener_h
00002 #define VideoExcel_TableUpdateListener_h
00003 
00004 namespace Impala {
00005 namespace Application {
00006 namespace VideoExcel {
00007 
00008 class TableUpdateListener
00009 {
00010 public:
00011     TableUpdateListener()
00012     {
00013         mEventEnabled = true;
00014     }
00015 
00016     virtual void UpdateRowsEvent()
00017     {
00018     }
00019 
00020     virtual void UpdateSelectionEvent()
00021     {
00022     }
00023 
00024     virtual void UpdateNumberOfRowsEvent()
00025     {
00026     }
00027 
00028     virtual void UpdateScrollFromSourceEvent()
00029     {
00030     }
00031 
00032     virtual void UpdateSortEvent(std::string col, bool ascending)
00033     {
00034     }
00035 
00036 public:
00037     bool GetListenTableUpdates()
00038     {
00039         return mEventEnabled;
00040     }
00041 
00042     void SetListenTableUpdates(bool val)
00043     {
00044         mEventEnabled = val;
00045     }
00046 
00047 private:
00048     bool mEventEnabled;
00049 };
00050 } // namespace VideoExcel
00051 } // namespace Application
00052 } // namespace Impala
00053 
00054 #endif // TableUpdateListener_h

Generated on Fri Mar 19 09:30:41 2010 for ImpalaSrc by  doxygen 1.5.1