llfloaterurlentry.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLFLOATERURLENTRY_H
00033 #define LL_LLFLOATERURLENTRY_H
00034 
00035 #include "llfloater.h"
00036 #include "llpanellandmedia.h"
00037 
00038 class LLLineEditor;
00039 class LLComboBox;
00040 
00041 class LLFloaterURLEntry : public LLFloater
00042 {
00043 public:
00044         // Can only be shown by LLPanelLandMedia, and pushes data back into
00045         // that panel via the handle.
00046         static LLHandle<LLFloater> show(LLHandle<LLPanel> panel_land_media_handle);
00047 
00048         void updateFromLandMediaPanel();
00049 
00050         void headerFetchComplete(U32 status, const std::string& mime_type);
00051 
00052         bool addURLToCombobox(const std::string& media_url);
00053 
00054 private:
00055         LLFloaterURLEntry(LLHandle<LLPanel> parent);
00056         /*virtual*/ ~LLFloaterURLEntry();
00057         void buildURLHistory();
00058 
00059 private:
00060         LLComboBox*             mMediaURLEdit;
00061         LLHandle<LLPanel> mPanelLandMediaHandle;
00062 
00063         static void             onBtnOK(void*);
00064         static void             onBtnCancel(void*);
00065         static void             onBtnClear(void*);
00066         static void             callback_clear_url_list(S32 option, void* userdata);
00067 };
00068 
00069 #endif  // LL_LLFLOATERURLENTRY_H

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