-/* $Id$
-
-This file is part of gldbg
-Copyright © 2010 Mikko Rasa, Mikkosoft Productions
-Distributed under the GPL
-*/
-
#ifndef TOOL_H_
#define TOOL_H_
{
protected:
Factory();
-
public:
+ virtual ~Factory() { }
+
virtual Tool *create(GlDbg &) const = 0;
};
virtual ~Tool() { }
virtual void decode(const char *, unsigned) = 0;
+ virtual void process_started() { }
+ virtual void process_stopped(int) { }
static std::list<Factory *> &get_factories();
};