Code Cleanup

- Renamed parse.cpp -> valid.cpp to reflect its new role of housing
  all the validation routines that don't belong to objects.
- Split report.cpp into report.cpp and custom.cpp.
This commit is contained in:
Paul Beckingham 2009-06-11 21:02:02 -04:00
parent 66011acbf8
commit edd065d80e
5 changed files with 478 additions and 425 deletions

View file

@ -36,8 +36,7 @@
#include "color.h"
#include "../auto.h"
// parse.cpp
void parse (std::vector <std::string>&, std::string&, T&);
// valid.cpp
bool validPriority (const std::string&);
bool validDate (std::string&);
bool validDuration (std::string&);
@ -103,6 +102,8 @@ std::string handleReportActive ();
std::string handleReportOverdue ();
std::string handleReportStats ();
std::string handleReportTimesheet ();
// custom.cpp
std::string handleCustomReport (const std::string&);
// rules.cpp