]> git.tdb.fi Git - gldbg.git/blobdiff - source/tool.h
Replace per-file license notices with License.txt
[gldbg.git] / source / tool.h
index b299e2a16024b2c0132eaa709e735c46e8cb5712..badb073a85b921101d5f3323d85720b4908ec31d 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of gldbg
-Copyright © 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the GPL
-*/
-
 #ifndef TOOL_H_
 #define TOOL_H_
 
@@ -19,8 +12,9 @@ public:
        {
        protected:
                Factory();
-
        public:
+               virtual ~Factory() { }
+
                virtual Tool *create(GlDbg &) const = 0;
        };
 
@@ -30,6 +24,8 @@ public:
        virtual ~Tool() { }
 
        virtual void decode(const char *, unsigned) = 0;
+       virtual void process_started() { }
+       virtual void process_stopped(int) { }
 
        static std::list<Factory *> &get_factories();
 };