#ifndef GUIKACHU_RESOURCE_H #define GUIKACHU_RESOURCE_H #include #include namespace Guikachu { class Resource { std::string id; const char * const * xpm; public: Resource (const std::string &id_, const char * const *xpm_ = 0): id (id_), xpm (xpm_) {}; std::string get_id () const { return id; }; const char * const * get_icon () const { return xpm; }; void activate () const { std::cout << "Activate: " << id << std::endl; }; }; } #endif