OSDN Git Service

[dennco] integrated engine related changes from denncoCreator
[dennco/dennco.git] / Source / TKCellCode.h
index d8ce32b..3e9f14a 100644 (file)
@@ -21,7 +21,6 @@
 #define __INCLUDE_TKCELLCODE__
 
 #include <string>
-#include <vector>
 
 class TKReceptor;
 class TKContainer;
@@ -31,16 +30,16 @@ class TKCellCodeInstance;
 class TKCellCode
 {
 public:
-    TKCellCode(std::string theName, std::string theCellAPIName) : mName(theName), mCellAPIName(theCellAPIName) {}
+    TKCellCode(std::string theFQNName, std::string theCellAPIName) : mFQNName(theFQNName), mCellAPIName(theCellAPIName) {}
     virtual ~TKCellCode() {}
     
-    std::string getName() { return mName; }
-    std::string getCellAPIName() { return mCellAPIName; }
+    std::string getFQNName() const { return mFQNName; }
+    std::string getCellAPIName() const { return mCellAPIName; }
 
        virtual TKCellCodeInstance* createCellCodeInstance(TKCell *owner, const void *data) = 0;
 
-private:
-    std::string mName;
+protected:
+    std::string mFQNName;
     std::string mCellAPIName;
 };