00001
00023 #ifndef INC_MGUI_CUSTOMUI_H
00024 #define INC_MGUI_CUSTOMUI_H
00025
00026 #ifndef INC_MI32_STDDEFNS_H
00027 #include <mi32/stddefns.h>
00028 #endif
00029
00030 class FILEPATH;
00031
00032 namespace MGUI {
00033
00034
00036 class CUSTOMUI {
00037 public:
00038
00040 static bool IsComponentEnabled (
00041 ICID icid
00042 );
00043
00044 #ifdef X_NATIVE
00046 static void RegisterWidget (
00047 Widget w,
00048 ICID icid
00049 );
00050 #endif
00051
00053 static void SetComponentEnabled (
00054 ICID icid,
00055 bool enabled
00056 );
00057
00060 static void SetFileDefault (
00061 bool reread
00062 );
00063
00068 static ERRVALUE SetFilePath (
00069 const FILEPATH& filepath,
00070 bool reread
00071 );
00072
00074 static ERRVALUE WriteSettings (
00075 );
00076
00078 ~CUSTOMUI ();
00079
00080 private:
00081 #ifndef GENERATING_DOXYGEN_OUTPUT
00082 class PRIV;
00083 PRIV *m_pPriv;
00084 friend class CUSTOMUI::PRIV;
00085
00086 static CUSTOMUI& GetInstance ();
00087
00088 CUSTOMUI ();
00089
00090 CUSTOMUI (const CUSTOMUI& rhs);
00091 CUSTOMUI& operator= (const CUSTOMUI& rhs);
00092 #endif // GENERATING_DOXYGEN_OUTPUT
00093 };
00094
00095
00096 }
00097
00098 #endif // INC_MGUI_CUSTOMUI_H