]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/settings.h
safe macro expansion
[wxWidgets.git] / include / wx / os2 / settings.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settings.h
3 // Purpose: wxSystemSettings class
4 // Author: David Webster
5 // Modified by:
6 // Created: 10/15/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_SETTINGS_H_
13 #define _WX_SETTINGS_H_
14
15 #include "wx/setup.h"
16 #include "wx/colour.h"
17 #include "wx/font.h"
18
19
20 class WXDLLEXPORT wxSystemSettings: public wxObject
21 {
22 public:
23 inline wxSystemSettings() {}
24 static wxColour GetSystemColour(int index);
25 static wxFont GetSystemFont(int index);
26 static int GetSystemMetric(int index);
27 static void SetOption( const wxString& rsName
28 ,const wxString& rsValue
29 );
30 static void SetOption( const wxString& rsName
31 ,int nValue
32 );
33 static wxString GetOption(const wxString& rsName) ;
34 static int GetOptionInt(const wxString& rsName) ;
35 static bool HasOption(const wxString& rsName) ;
36 }; // end of CLASS wxSystemSettings
37
38 #endif
39 // _WX_SETTINGS_H_