From c435c7daa9df1b08dc85132fcd1c154bea9b69e2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 18:21:03 +0000 Subject: Fixes to use libbu++ Bu::String --- src/rule.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/rule.h') diff --git a/src/rule.h b/src/rule.h index 5344d02..d8accf0 100644 --- a/src/rule.h +++ b/src/rule.h @@ -8,10 +8,10 @@ class Rule { friend Bu::Formatter &operator<<( Bu::Formatter &f, const Rule &t ); public: - Rule( const Bu::FString &sName ); + Rule( const Bu::String &sName ); virtual ~Rule(); - const Bu::FString &getName() const; + const Bu::String &getName() const; void setInput( const AstBranch *pNewInput ); const AstBranch *getInput() const; @@ -22,21 +22,21 @@ public: void addProfile( const AstBranch *pProfile ); void prepTarget( class Target *pTarget ); - class Target *createTarget( class Runner &r, const Bu::FString &sInput, + class Target *createTarget( class Runner &r, const Bu::String &sInput, class Target *pParent ); - bool ruleMatches( class Runner &r, const Bu::FString &sInput ); + bool ruleMatches( class Runner &r, const Bu::String &sInput ); - void addTag( const Bu::FString &sTag ); + void addTag( const Bu::String &sTag ); const StrList &getTagList() const; - void setDisplay( const Bu::FString &sStr ); - const Bu::FString &getDisplay() const; + void setDisplay( const Bu::String &sStr ); + const Bu::String &getDisplay() const; void addRequires( const AstBranch *pBr ); private: - Bu::FString sName; - Bu::FString sDisplay; + Bu::String sName; + Bu::String sDisplay; const AstBranch *pInput; AstBranchList lOutput; ProfileHash hProfiles; -- cgit v1.2.3