Vector and PMC ChangeLog
* global var refCounter counts the objects
* Copy Constructor implemented
-> Surface cannot be copied ==> CC disabled
-> Vector can be copied -> shows a warning
committer: Markus Bröker <mbroeker@largo.homelinux.org>
/**
* test/demos/pmc/include/object.h
* Copyright (C) 2008 Markus Broeker
*/
#ifndef OBJECT_H
#define OBJECT_H
#include <string>
extern int refCounter;
class Object {
protected:
std::string name;
public:
virtual ~ Object ();
virtual std::string getName ();
virtual Object getClass ();
int getInstances ();
};
#endif