mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 23:42:08 +00:00
fixed Mac compilation.
Unlike the other platforms this builds its config paths from variable data.
This commit is contained in:
parent
13b792e953
commit
4f3f25e1ca
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ public:
|
||||||
bool NextInSection (const char *&key, const char *&value);
|
bool NextInSection (const char *&key, const char *&value);
|
||||||
const char *GetValueForKey (const char *key) const;
|
const char *GetValueForKey (const char *key) const;
|
||||||
void SetValueForKey (const char *key, const char *value, bool duplicates=false);
|
void SetValueForKey (const char *key, const char *value, bool duplicates=false);
|
||||||
|
void SetValueForKey(const char* key, const FString& value, bool duplicates = false)
|
||||||
|
{
|
||||||
|
SetValueForKey(key, value.GetChars(), duplicates);
|
||||||
|
}
|
||||||
|
|
||||||
const char *GetPathName () const { return PathName.GetChars(); }
|
const char *GetPathName () const { return PathName.GetChars(); }
|
||||||
void ChangePathName (const char *path);
|
void ChangePathName (const char *path);
|
||||||
|
|
Loading…
Reference in a new issue