Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __CS_PRFXCFG_H__
00020 #define __CS_PRFXCFG_H__
00021
00026 #include "csextern.h"
00027 #include "csutil/cfgfile.h"
00028
00036 class CS_CRYSTALSPACE_EXPORT csPrefixConfig : public csConfigFile
00037 {
00038 public:
00040 csPrefixConfig(const char *fName, iVFS *vfs, const char *pref,
00041 const char *AliasName = 0);
00043 ~csPrefixConfig();
00044
00045 private:
00046 virtual bool LoadNow(const char *Filename, iVFS *vfs, bool overwrite);
00047 virtual bool SaveNow(const char *Filename, iVFS *vfs) const;
00048 virtual const char *GetFileName () const;
00049
00050 char *Prefix;
00051 size_t PrefixLength;
00052 char *Alias;
00053 };
00054
00055 #endif // __CS_PRFXCFG_H__