pmc/include/object.h
changeset 54 c064ce9f40f5
parent 42 83b8151b966d
equal deleted inserted replaced
53:6b3d7e3418c1 54:c064ce9f40f5
     6 #ifndef OBJECT_H
     6 #ifndef OBJECT_H
     7 #define OBJECT_H
     7 #define OBJECT_H
     8 
     8 
     9 #include <string>
     9 #include <string>
    10 
    10 
       
    11 extern int refCounter;
       
    12 
    11 class Object {
    13 class Object {
    12   protected:
    14   protected:
    13     std::string name;
    15     std::string name;
    14 
    16 
    15   public:
    17   public:
    16     virtual ~ Object ();
    18     virtual ~ Object ();
       
    19 
    17     virtual std::string getName ();
    20     virtual std::string getName ();
    18     virtual Object getClass ();
    21     virtual Object getClass ();
       
    22     int getInstances ();
    19 };
    23 };
    20 #endif
    24 #endif