changeset 4 | 236f8f747073 |
child 9 | c3fecc82ade6 |
3:820ed7fb9314 | 4:236f8f747073 |
---|---|
1 /*** |
|
2 * |
|
3 * $Id: object.h,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $ |
|
4 * $Source: /development/cpp/pmc/include/object.h,v $ |
|
5 */ |
|
6 |
|
7 #ifndef OBJECT_H |
|
8 #define OBJECT_H |
|
9 |
|
10 #include <string> |
|
11 #include <iostream> |
|
12 |
|
13 class Object { |
|
14 protected: |
|
15 std::string name; |
|
16 |
|
17 public: |
|
18 virtual ~ Object () { |
|
19 std::cout << "Freeing Object " << name << std::endl; |
|
20 } |
|
21 }; |
|
22 #endif |