00001 00018 #ifndef INC_SOA_WMSUILAYERSELECT_H 00019 #define INC_SOA_WMSUILAYERSELECT_H 00020 00021 #ifndef INC_MGUI_FORM_H 00022 #include <mgui/form.h> 00023 #endif 00024 00025 class MISTRINGLIST; 00026 00027 namespace SOA { 00028 namespace WMS { 00029 00030 class CONNECTION; 00031 00032 //===================================================================================================================== 00033 00034 class UI_FORM_LAYERSELECT : public MGUI::FORM_COMPOSITE { 00035 public: 00036 00038 UI_FORM_LAYERSELECT (); 00039 00041 virtual ~UI_FORM_LAYERSELECT (); 00042 00044 void Create ( 00045 MGUI::LAYOUT_PANE_BASE& ParentPane 00046 ); 00047 00049 const MISTRINGLIST& GetSelectedLayerNames ( 00050 ) const; 00051 00055 const MISTRINGLIST& GetSelectedLayerStyles ( 00056 ) const; 00057 00059 void SetDelegateOnChange ( 00060 DELEGATE_VOID_NOPARMS delegate 00061 ); 00062 00065 ERRVALUE SetConnection ( 00066 const WMS::CONNECTION& Connection, 00067 bool notify 00068 ); 00069 00071 void SetSelection ( 00072 const MISTRINGLIST& LayerNameList, 00073 const MISTRINGLIST& LayerStyleList, 00074 bool notify 00075 ); 00076 00077 private: 00078 #ifndef GENERATING_DOXYGEN_OUTPUT 00079 class PRIV; 00080 PRIV *m_pPriv; 00081 00082 UI_FORM_LAYERSELECT (const UI_FORM_LAYERSELECT&); 00083 UI_FORM_LAYERSELECT& operator= (const UI_FORM_LAYERSELECT&); 00084 #endif 00085 }; 00086 00087 //===================================================================================================================== 00088 00089 } // End namespace WMS 00090 } // End namespace SOA 00091 00092 #endif // INC_SOA_WMSUILAYERSELECT_H
1.6.1