Changeset 93 for trunk/src/Config.h

Show
Ignore:
Timestamp:
04/20/06 05:48:51 (3 years ago)
Author:
jordi
Message:

It's possible to set the configuration values and to load the configuration from a file. The test suite for the configuration doesn't test loading from a file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/Config.h

    r92 r93  
    4343            gint getWindowX (void); 
    4444            gint getWindowY (void); 
     45            void setWindowSize (gint width, gint height); 
     46            void setWindowPos (gint x, gint y); 
    4547             
    4648        protected: 
     49            GKeyFile *m_Values; 
     50             
    4751            Config (void); 
    4852            Config (Config &config) { } 
     
    5054            static Config *m_Config; 
    5155            static gboolean m_LoadFile; 
     56 
     57            gint getInteger (const gchar *group, const char *key,  
     58                             gint defaultValue); 
    5259    }; 
    5360}