00001 00031 #ifndef LL_LLFLOATERRELMSG_H 00032 #define LL_LLFLOATERRELMSG_H 00033 00034 #include "llwebbrowserctrl.h" 00035 #include "llfloater.h" 00036 00037 class LLFloaterReleaseMsg : 00038 public LLFloater, 00039 public LLWebBrowserCtrlObserver 00040 { 00041 public: 00042 static LLFloaterReleaseMsg* getInstance(); 00043 virtual ~LLFloaterReleaseMsg(); 00044 00045 static void show(); 00046 static void onClickClose( void* data ); 00047 static bool checkVersion(const LLString& version_channel); 00048 static void displayMessage(const LLString& version_channel); 00049 00050 static bool sDisplayMessage; 00051 static LLFloaterReleaseMsg* sInstance; 00052 LLString mTitleBase; 00053 private: 00054 LLFloaterReleaseMsg(); 00055 LLWebBrowserCtrl* mWebBrowser; 00056 LLButton* mCloseButton; 00057 }; 00058 00059 #endif