Changeset 96 for trunk/src/Config.h

Show
Ignore:
Timestamp:
04/20/06 09:41:29 (3 years ago)
Author:
jordi
Message:

The configuration class can now hold the last used directory to open a file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/Config.h

    r94 r96  
    3939            ~Config (void); 
    4040 
     41            gchar *getOpenFileFolder (void); 
    4142            gint getWindowHeight (void); 
    4243            gint getWindowWidth (void); 
     
    4445            gint getWindowY (void); 
    4546            void save(void); 
     47            void setOpenFileFolder (const gchar *folder); 
    4648            void setWindowSize (gint width, gint height); 
    4749            void setWindowPos (gint x, gint y); 
     
    5860            gint getInteger (const gchar *group, const char *key,  
    5961                             gint defaultValue); 
     62            gchar *getString (const gchar *group, const char *key,  
     63                              const gchar *defaultValue); 
    6064    }; 
    6165}