pmc/include/object.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sat, 13 Dec 2008 17:57:56 +0100
changeset 4 236f8f747073
child 9 c3fecc82ade6
permissions -rw-r--r--
pimp my code, a small xdemo committer: Markus Bröker <mbroeker@largo.homelinux.org>

/***
 *
 * $Id: object.h,v 1.1.1.1 2008-04-28 17:33:22 mbroeker Exp $
 * $Source: /development/cpp/pmc/include/object.h,v $
 */

#ifndef OBJECT_H
#define OBJECT_H

#include <string>
#include <iostream>

class Object {
  protected:
    std::string name;

  public:
    virtual ~ Object () {
		std::cout << "Freeing Object " << name << std::endl;
    }
};
#endif