X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finternalaction.h;h=60942cd9995ff45f11599032de7f9c3212dc3cda;hb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;hp=284db03a5ac1a0759d2190538240f7d6ddabf858;hpb=ab25857fd626152bc9a2832de82b400c062857e6;p=builder.git diff --git a/source/internalaction.h b/source/internalaction.h index 284db03..60942cd 100644 --- a/source/internalaction.h +++ b/source/internalaction.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef INTERNALACTION_H_ #define INTERNALACTION_H_ @@ -13,15 +6,11 @@ Distributed under the LGPL class InternalAction: public Action { -public: - virtual ~InternalAction(); - - virtual int check(); protected: class Worker: public Msp::Thread { public: - bool get_done() const { return done; } + bool get_done() const { return done; } bool get_error() const { return error; } protected: bool done; @@ -33,6 +22,10 @@ protected: Worker *worker; InternalAction(Builder &); +public: + virtual ~InternalAction(); + + virtual int check(); }; #endif