diff options
Diffstat (limited to 'engines/titanic/core/resource_key.h')
-rw-r--r-- | engines/titanic/core/resource_key.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/titanic/core/resource_key.h b/engines/titanic/core/resource_key.h index b38448aa4f..a165a11e1a 100644 --- a/engines/titanic/core/resource_key.h +++ b/engines/titanic/core/resource_key.h @@ -32,6 +32,8 @@ class CResourceKey: public CSaveableObject { private: CString _key; CString _value; + + void setValue(const CString &name); public: CLASSDEF @@ -45,7 +47,16 @@ public: */ virtual void load(SimpleFile *file); + /** + * Return the key + */ const CString &getString() const { return _key; } + + /** + * Checks whether a file for the given key exists, + * and returns it's filename if it does + */ + CString exists(); }; } // End of namespace Titanic |