pmc/include/object.hpp
changeset 65 76514757b0d6
equal deleted inserted replaced
64:993b97c4ad2d 65:76514757b0d6
       
     1 /**
       
     2  * test/demos/pmc/include/object.h
       
     3  * Copyright (C) 2008 Markus Broeker
       
     4  */
       
     5 
       
     6 #ifndef OBJECT_H
       
     7 #define OBJECT_H
       
     8 
       
     9 #include <string>
       
    10 
       
    11 extern int refCounter;
       
    12 
       
    13 class Object {
       
    14   protected:
       
    15     std::string name;
       
    16 
       
    17   public:
       
    18     virtual ~ Object ();
       
    19 
       
    20     virtual std::string getName ();
       
    21     virtual Object getClass ();
       
    22     int getInstances ();
       
    23 };
       
    24 #endif