From 51e21a316be6e052251b3dfc7d671061ebd67cee Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 18:03:28 +0000 Subject: Removed the old trunk contents. About to load up m3 --- src/target.h | 63 ------------------------------------------------------------ 1 file changed, 63 deletions(-) delete mode 100644 src/target.h (limited to 'src/target.h') diff --git a/src/target.h b/src/target.h deleted file mode 100644 index f51e0e0..0000000 --- a/src/target.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef TARGET_H -#define TARGET_H - -#include - -#include -#include - -#include "action.h" - -typedef std::list StringList; - -class Build; - -class Target -{ -public: - Target(); - virtual ~Target(); - - void run( Action::eAction nAct, Build &bld ); - virtual void check( Build &bld ) = 0; - virtual void clean( Build &bld ) = 0; - - void setName( const std::string &sName ) - { - this->sName = sName; - } - - std::string getName() - { - return sName; - } - - void setRule( const std::string &sRule ) - { - this->sRule = sRule; - } - - std::string getRule() - { - return sRule; - } - - StringList &getInput() - { - return lInput; - } - - bool wasRun() - { - return bRun; - } - - -private: - std::string sName; - std::string sRule; - StringList lInput; - bool bRun; -}; - -#endif -- cgit v1.2.3