uigeolock.h

Go to the documentation of this file.
00001 /**
00002  * \file uigeolock.h <gre/uigeolock.h>
00003  * \brief User Interface classes for GRE_GEOLOCKSETTINGS.
00004  *
00005  * \if NODOC
00006  * $Id: uigeolock.h_v 1.4 2003/12/15 21:39:32 mju Exp $
00007  *
00008  * $Log: uigeolock.h_v $
00009  * Revision 1.4  2003/12/15 21:39:32  mju
00010  * Use dlgshell.
00011  *
00012  * Revision 1.3  2003/09/15 13:48:59  fileserver!dwilliss
00013  * Doxygen
00014  *
00015  * Revision 1.2  2003/07/30 15:40:42  mju
00016  * Ignore private sections.
00017  *
00018  * Revision 1.1  2002/12/16 15:06:53  mju
00019  * Initial revision
00020  * \endif
00021 **/
00022 
00023 #if !defined(INC_GRE_UIGEOLOCK_H) && (defined(X_NATIVE) || defined(WIN32_MFC))
00024 #define  INC_GRE_UIGEOLOCK_H
00025 
00026 #ifndef  INC_GRE_GEOLOCK_H
00027 #include <gre/geolock.h>
00028 #endif
00029 
00030 #ifndef  INC_MGUI_DLGSHELL_H
00031 #include <mgui/dlgshell.h>
00032 #endif
00033 
00034 #ifndef  INC_MGUI_FORM_H
00035 #include <mgui/form.h>
00036 #endif
00037 
00038 //===================================================================================================================
00039 //!   Form for modifying GRE_GEOLOCKSETTINGS.
00040 class GRE_GEOLOCKSETTINGS::FORM : public MGUI::FORM_COMPOSITE {
00041    public:
00042 
00043       //! Constructor.
00044       FORM (
00045          );
00046 
00047       //! Destructor.
00048       virtual ~FORM (
00049          );
00050 
00051       //! Create the form.
00052       void Create (
00053          MGUI::LAYOUT_PANE_BASE& ParentPane
00054          );
00055 
00056       //! Get current value settings.
00057       const GRE_GEOLOCKSETTINGS& GetValues (
00058          ) const;
00059 
00060       //! Set new values.
00061       ERRVALUE SetValues (
00062          const GRE_GEOLOCKSETTINGS& values      //!< New values to set
00063          );
00064 
00065    private:
00066       #ifndef GENERATING_DOXYGEN_OUTPUT
00067       class PRIV;
00068       PRIV *m_pPriv;
00069       #endif //!< GENERATING_DOXYGEN_OUTPUT
00070    };
00071       
00072 
00073 //===================================================================================================================
00074 //! Dialog for modifying GRE_GEOLOCKSETTINGS.
00075 class GRE_GEOLOCKSETTINGS::DLG : public MGUI::DLGSHELL {
00076    public:
00077 
00078       //! Constructor.
00079       DLG (
00080          );
00081 
00082       //! Destructor.
00083       virtual ~DLG (
00084          );
00085 
00086       const GRE_GEOLOCKSETTINGS& GetValues (
00087          ) { return (m_form.GetValues()); }
00088 
00089       ERRVALUE SetValues (
00090          const GRE_GEOLOCKSETTINGS& values
00091          ) { return (m_form.SetValues(values)); }
00092 
00093    private:
00094       #ifndef GENERATING_DOXYGEN_OUTPUT
00095       GRE_GEOLOCKSETTINGS::FORM m_form;
00096 
00097       virtual ERRVALUE v_CreateContent ();
00098       #endif //!< GENERATING_DOXYGEN_OUTPUT
00099    };
00100 
00101 //===================================================================================================================
00102 
00103 #endif   //!< INC_GRE_UIGEOLOCK_H

Generated on Tue Dec 14 13:18:14 2004 for TNTsdk by  doxygen 1.3.8-20040913