]> git.tdb.fi Git - builder.git/blobdiff - source/internalaction.h
Reorder class members
[builder.git] / source / internalaction.h
index 284db03a5ac1a0759d2190538240f7d6ddabf858..a35eae967e3b6648008f17eafdd2b1fb8eb1778b 100644 (file)
@@ -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