lluploaddialog.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_UPLOADDIALOG_H
00033 #define LL_UPLOADDIALOG_H
00034 
00035 #include "llpanel.h"
00036 #include "lltextbox.h"
00037                         
00038 class LLUploadDialog : public LLPanel
00039 {
00040 public:
00041         // Use this function to open a modal dialog and display it until the user presses the "close" button.
00042         static LLUploadDialog*  modalUploadDialog(const std::string& msg);              // Message to display
00043         static void                             modalUploadFinished();          // Message to display
00044 
00045         static bool                             modalUploadIsFinished() { return (sDialog == NULL); }
00046 
00047         void setMessage( const std::string& msg );
00048 
00049 private:
00050         LLUploadDialog( const std::string& msg);
00051         virtual ~LLUploadDialog();      // No you can't kill it.  It can only kill itself.
00052 
00053         LLTextBox* mLabelBox[16];
00054 
00055 private:
00056         static LLUploadDialog*  sDialog;  // Hidden singleton instance, created and destroyed as needed.
00057 };
00058 
00059 #endif  // LL_UPLOADDIALOG_H

Generated on Fri May 16 08:34:08 2008 for SecondLife by  doxygen 1.5.5