]> git.tdb.fi Git - builder.git/blobdiff - source/internalaction.h
Replace per-file copyright notices with a single file
[builder.git] / source / internalaction.h
index 284db03a5ac1a0759d2190538240f7d6ddabf858..60942cd9995ff45f11599032de7f9c3212dc3cda 100644 (file)
@@ -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