pmc/include/object.h
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:49:12 +0200
changeset 41 574503cf7bb0
parent 34 4a35f239fe5b
child 42 83b8151b966d
permissions -rw-r--r--
xml parsing demo 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>
#include <iostream>

class Object {
  protected:
    std::string name;

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