equal
deleted
inserted
replaced
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 |