mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
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:
parent
66011acbf8
commit
edd065d80e
5 changed files with 478 additions and 425 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue