llpaneldirevents.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLPANELDIREVENTS_H
00033 #define LL_LLPANELDIREVENTS_H
00034 
00035 #include "llpaneldirbrowser.h"
00036 
00037 class LLUICtrl;
00038 
00039 class LLPanelDirEvents : public LLPanelDirBrowser
00040 {
00041 public:
00042         LLPanelDirEvents(const std::string& name, LLFloaterDirectory* floater);
00043         virtual ~LLPanelDirEvents();
00044 
00045         /*virtual*/ void draw();
00046 
00047         virtual BOOL postBuild();
00048 
00049         /*virtual*/ void performQuery();
00050 
00051         void performQueryOrDelete(U32 event_id);
00052 
00053         void refresh();
00054 
00055         // pass 0 for today, 1 for tomorrow
00056         void setDay(S32 day);
00057 
00058 protected:
00059         static void onDateModeCallback(LLUICtrl* ctrl, void *data);
00060         static void onBackBtn(void* data);
00061         static void onForwardBtn(void* data);
00062         static void onClickToday(void *userdata);
00063         static void onCommitMature(LLUICtrl* ctrl, void* data);
00064         static void onClickSearch(void *data);
00065         static void onClickDelete(void *data);
00066 
00067 protected:
00068         BOOL            mDoneQuery;
00069         S32                     mDay;   // 0 = today, 1 = tomorrow
00070 };
00071 
00072 
00073 #endif

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