home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / include / wx / sysopt.h < prev    next >
C/C++ Source or Header  |  2001-07-11  |  1KB  |  45 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        sysopt.h
  3. // Purpose:     wxSystemOptions
  4. // Author:      Julian Smart
  5. // Modified by:
  6. // Created:     2001-07-10
  7. // RCS-ID:      $Id: sysopt.h,v 1.1 2001/07/11 10:06:49 JS Exp $
  8. // Copyright:   (c) Julian Smart
  9. // Licence:       wxWindows licence
  10. /////////////////////////////////////////////////////////////////////////////
  11.  
  12. #ifndef _WX_SYSOPT_H_
  13. #define _WX_SYSOPT_H_
  14.  
  15. #include "wx/object.h"
  16.  
  17. #if wxUSE_SYSTEM_OPTIONS
  18.  
  19. // ----------------------------------------------------------------------------
  20. // Enables an application to influence the wxWindows implementation
  21. // ----------------------------------------------------------------------------
  22.  
  23. class WXDLLEXPORT wxSystemOptions : public wxObject
  24. {
  25. public:
  26.     wxSystemOptions() { }
  27.  
  28.     // User-customizable hints to wxWindows or associated libraries
  29.     // These could also be used to influence GetSystem... calls, indeed
  30.     // to implement SetSystemColour/Font/Metric
  31.  
  32.     static void SetOption(const wxString& name, const wxString& value);
  33.     static void SetOption(const wxString& name, int value);
  34.     static wxString GetOption(const wxString& name) ;
  35.     static int GetOptionInt(const wxString& name) ;
  36.     static bool HasOption(const wxString& name) ;
  37. };
  38.  
  39. #endif
  40.  
  41.  
  42. #endif
  43.     // _WX_SYSOPT_H_
  44.  
  45.