fixed Mac compilation.

Unlike the other platforms this builds its config paths from variable data.
This commit is contained in:
Christoph Oelckers 2023-10-09 16:46:54 +02:00
parent 13b792e953
commit 4f3f25e1ca

View file

@ -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);