diff options
author | neoraider <devnull@localhost> | 2008-04-10 20:36:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-10 20:36:05 +0200 |
commit | 84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57 (patch) | |
tree | d171330a2812706b8ab205fe33b870de6bc077ed /src/Data/Info.h | |
parent | 2271ef709f6785b2e156ddca311c7628b7803af0 (diff) | |
download | zoomedit-84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57.tar zoomedit-84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57.zip |
zoomedit:
* Mapped XML data structures to classes completely.
Diffstat (limited to 'src/Data/Info.h')
-rw-r--r-- | src/Data/Info.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/Data/Info.h b/src/Data/Info.h new file mode 100644 index 0000000..bc51855 --- /dev/null +++ b/src/Data/Info.h @@ -0,0 +1,43 @@ +/* + * Info.h + * + * Copyright (C) 2008 Matthias Schiffer <matthias@gamezock.de> + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef ZOOMEDIT_DATA_INFO_H_ +#define ZOOMEDIT_DATA_INFO_H_ + +#include <libxml++/nodes/element.h> + +namespace ZoomEdit { +namespace Data { + +class Info { + private: + xmlpp::Element *nameNode; + Glib::ustring name; + + xmlpp::Element *descNode; + Glib::ustring desc; + + public: + Info(xmlpp::Element *node); +}; + +} +} + +#endif /*ZOOMEDIT_DATA_INFO_H_*/ |