Changeset 10870 for trunk


Ignore:
Timestamp:
05/27/11 15:21:05 (13 years ago)
Author:
tbretz
Message:
Remove the necessity for a source file (of just three lines)
Location:
trunk/FACT++/src
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/LocalControl.h

    r10473 r10870  
    120120    }
    121121
    122     string GetUpdatePrompt() const;
     122    string GetUpdatePrompt() const
     123    {
     124        return GetLinePrompt()+" "
     125            "\033[34m\033[1m"+fName+"\033[0m:"
     126            "\033[32m\033[1m"+fStateMachine->GetStateName()+"\033[0m> ";
     127    }
    123128};
    124129
     
    142147        : LocalControl<Shell>(name) { }
    143148
    144     string GetUpdatePrompt() const;
     149    string GetUpdatePrompt() const
     150    {
     151        return GetLinePrompt()+' '+fName+':'+fStateMachine->GetStateName()+"> ";
     152    }
    145153};
    146154
Note: See TracChangeset for help on using the changeset viewer.