X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finternalaction.h;h=a35eae967e3b6648008f17eafdd2b1fb8eb1778b;hb=242c55b17e6608b29a77ca17a5b677e202a3ca90;hp=284db03a5ac1a0759d2190538240f7d6ddabf858;hpb=77461a8c0e2b5686b04cf15f3a9333b215813992;p=builder.git diff --git a/source/internalaction.h b/source/internalaction.h index 284db03..a35eae9 100644 --- a/source/internalaction.h +++ b/source/internalaction.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of builder -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2007, 2009 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -13,15 +13,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 +29,10 @@ protected: Worker *worker; InternalAction(Builder &); +public: + virtual ~InternalAction(); + + virtual int check(); }; #endif