diff options
author | neoraider <devnull@localhost> | 2008-04-11 12:04:04 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-11 12:04:04 +0200 |
commit | b27a517af7b8b99733622193a380bb3ef6674bcc (patch) | |
tree | 6c47ea231462c0c8a329788643032b71951a7e74 /src/Instance.h | |
parent | 3e81e7e05f888eadd81385768baa3ff0c1821452 (diff) | |
download | zoomedit-b27a517af7b8b99733622193a380bb3ef6674bcc.tar zoomedit-b27a517af7b8b99733622193a380bb3ef6674bcc.zip |
zoomedit:
* Instance: Added createLevel and loadLevel methods.
Diffstat (limited to 'src/Instance.h')
-rw-r--r-- | src/Instance.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Instance.h b/src/Instance.h index 384abdf..d9c0509 100644 --- a/src/Instance.h +++ b/src/Instance.h @@ -38,7 +38,10 @@ class Instance { public: virtual ~Instance(); - static bool create(); + void createLevel(); + bool loadLevel(const Glib::ustring &file); + + static bool create(const Glib::ustring &file = Glib::ustring()); private: static guint instances; @@ -49,7 +52,7 @@ class Instance { xmlpp::DomParser *levelXml; Data::Level *level; - Instance(); + Instance(const Glib::ustring &file); void destroy(); |