00001 #ifndef _ability_hh_ 00002 #define _ability_hh_ 00003 00004 #include "object.hh" 00005 #include <string> 00006 00007 namespace anoid { 00008 namespace base { 00009 00010 class Element; 00011 00012 class Ability: public Object { 00013 protected: 00014 std::string name; 00015 void registerName(const char *c); 00016 Element *parentElement; 00017 public: 00018 std::string getName() { return name; } 00019 virtual void init(config::Configuration &c); 00020 virtual Ability *lookupFellowAbility(const char *c); 00021 }; 00022 00023 }; 00024 }; 00025 00026 #endif