diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
commit | c435c7daa9df1b08dc85132fcd1c154bea9b69e2 (patch) | |
tree | 5537f3c91a67b35c4c8aa918b708b7e4aad8f146 /src/target.h | |
parent | 59690513123de8904eef2a03fe7fcaaed98b1b7b (diff) | |
download | build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.gz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.bz2 build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.xz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.zip |
Fixes to use libbu++ Bu::String
Diffstat (limited to '')
-rw-r--r-- | src/target.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/target.h b/src/target.h index 25af1f4..b325682 100644 --- a/src/target.h +++ b/src/target.h | |||
@@ -9,14 +9,14 @@ class Target | |||
9 | friend Bu::Formatter &operator<<( Bu::Formatter &f, const Target &t ); | 9 | friend Bu::Formatter &operator<<( Bu::Formatter &f, const Target &t ); |
10 | public: | 10 | public: |
11 | Target( bool bExplicit ); | 11 | Target( bool bExplicit ); |
12 | Target( const Bu::FString &sOutput, bool bExplicit ); | 12 | Target( const Bu::String &sOutput, bool bExplicit ); |
13 | virtual ~Target(); | 13 | virtual ~Target(); |
14 | 14 | ||
15 | void addInput( const Bu::FString &sInput ); | 15 | void addInput( const Bu::String &sInput ); |
16 | const StrList &getInputList() const; | 16 | const StrList &getInputList() const; |
17 | void resetInputList( const StrList &lInputs ); | 17 | void resetInputList( const StrList &lInputs ); |
18 | 18 | ||
19 | void addRequires( const Bu::FString &sReq ); | 19 | void addRequires( const Bu::String &sReq ); |
20 | void addRequires( const AstBranch *pBr ); | 20 | void addRequires( const AstBranch *pBr ); |
21 | const StrList &getRequiresList() const; | 21 | const StrList &getRequiresList() const; |
22 | /** | 22 | /** |
@@ -27,14 +27,14 @@ public: | |||
27 | void gatherRequires( class Runner &r ); | 27 | void gatherRequires( class Runner &r ); |
28 | void buildRequires( class Runner &r ); | 28 | void buildRequires( class Runner &r ); |
29 | 29 | ||
30 | void addOutput( const Bu::FString &sOutput ); | 30 | void addOutput( const Bu::String &sOutput ); |
31 | const StrList &getOutputList() const; | 31 | const StrList &getOutputList() const; |
32 | 32 | ||
33 | void setPrefix( const Bu::FString &sPrefix ); | 33 | void setPrefix( const Bu::String &sPrefix ); |
34 | const Bu::FString &getPrefix() const; | 34 | const Bu::String &getPrefix() const; |
35 | 35 | ||
36 | void setRule( const Bu::FString &sRule ); | 36 | void setRule( const Bu::String &sRule ); |
37 | const Bu::FString &getRule() const; | 37 | const Bu::String &getRule() const; |
38 | bool hasRule() const; | 38 | bool hasRule() const; |
39 | 39 | ||
40 | bool isExplicit() const; | 40 | bool isExplicit() const; |
@@ -44,16 +44,16 @@ public: | |||
44 | 44 | ||
45 | void addProfile( const class AstBranch *pProfRoot ); | 45 | void addProfile( const class AstBranch *pProfRoot ); |
46 | void addProfile( const class Profile *pSrc ); | 46 | void addProfile( const class Profile *pSrc ); |
47 | bool hasProfile( const Bu::FString &sName ) const; | 47 | bool hasProfile( const Bu::String &sName ) const; |
48 | const class Profile *getProfile( const Bu::FString &sName ) const; | 48 | const class Profile *getProfile( const Bu::String &sName ) const; |
49 | 49 | ||
50 | void setVars( const VarHash &hNewVars ); | 50 | void setVars( const VarHash &hNewVars ); |
51 | const VarHash &getVars() const; | 51 | const VarHash &getVars() const; |
52 | 52 | ||
53 | void setDisplay( const Bu::FString &sNewDisplay ); | 53 | void setDisplay( const Bu::String &sNewDisplay ); |
54 | const Bu::FString &getDisplay() const; | 54 | const Bu::String &getDisplay() const; |
55 | 55 | ||
56 | void process( class Runner &r, const Bu::FString &sProfile ); | 56 | void process( class Runner &r, const Bu::String &sProfile ); |
57 | 57 | ||
58 | void mergeUnder( const Target *pSrc ); | 58 | void mergeUnder( const Target *pSrc ); |
59 | 59 | ||
@@ -74,12 +74,12 @@ private: | |||
74 | StrList lsInput; | 74 | StrList lsInput; |
75 | StrList lsRequires; | 75 | StrList lsRequires; |
76 | StrList lsOutput; | 76 | StrList lsOutput; |
77 | Bu::FString sPrefix; | 77 | Bu::String sPrefix; |
78 | Bu::FString sRule; | 78 | Bu::String sRule; |
79 | VarHash hVars; | 79 | VarHash hVars; |
80 | TargetList lDeps; | 80 | TargetList lDeps; |
81 | ProfileHash hProfiles; | 81 | ProfileHash hProfiles; |
82 | Bu::FString sDisplay; | 82 | Bu::String sDisplay; |
83 | bool bRun; | 83 | bool bRun; |
84 | AstBranchList lbRequires; | 84 | AstBranchList lbRequires; |
85 | int iDepCount; | 85 | int iDepCount; |