Code Cleanup

- Fixed comments, compilation warnings.
- Decomposed Context::initialize into several, single-purpose methods.
- Replaced Context::initialize with Context::initialize2.
This commit is contained in:
Paul Beckingham 2011-05-24 19:35:59 -04:00
parent a20a4da412
commit d892a0cbd2
10 changed files with 217 additions and 534 deletions

View file

@ -57,7 +57,6 @@ int handleDone (std::string&);
int handleModify (std::string&);
int handleProjects (std::string&);
int handleCompletionProjects (std::string&);
int handleTags (std::string&);
int handleCompletionTags (std::string&);
int handleCompletionCommands (std::string&);
int handleCompletionIDs (std::string&);
@ -98,7 +97,6 @@ void handleDiagnostics (std::string&);
int handleEdit (std::string&);
// report.cpp
int shortUsage (std::string&);
int handleInfo (std::string&);
int handleReportSummary (std::string&);
int handleReportCalendar (std::string&);
@ -120,12 +118,6 @@ int handleReportHistoryAnnual (std::string&);
int handleReportGHistoryMonthly (std::string&);
int handleReportGHistoryAnnual (std::string&);
// custom.cpp
int handleCustomReport (const std::string&, std::string&);
void validateReportColumns (const std::vector <std::string>&);
void validateSortColumns (const std::vector <std::string>&);
void getLimits (const std::string&, int&, int&);
// rules.cpp
void initializeColorRules ();
void autoColorize (Task&, Color&);