diff options
Diffstat (limited to 'engines/titanic/core/project_item.h')
-rw-r--r-- | engines/titanic/core/project_item.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/engines/titanic/core/project_item.h b/engines/titanic/core/project_item.h index 3c334986a8..f454392383 100644 --- a/engines/titanic/core/project_item.h +++ b/engines/titanic/core/project_item.h @@ -39,8 +39,8 @@ class CPetControl; class CFileListItem : public ListItem { public: CString _name; - - virtual const char *getClassName() const { return "CFileListItem"; } +public: + CLASSDEF /** * Save the data for the class to file @@ -59,7 +59,7 @@ public: */ class CFileList: public List<CFileListItem> { public: - virtual const char *getClassName() const { return "CFileList"; } + CLASSDEF }; @@ -92,14 +92,10 @@ private: */ void gameLoaded(); public: + CLASSDEF CProjectItem(); /** - * Return the class name - */ - virtual const char *getClassName() const { return "CProjectItem"; } - - /** * Save the data for the class to file */ virtual void save(SimpleFile *file, int indent) const; |