mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancements - rules.cpp
- Converted rules.cpp to work under 1.8.0. - Relocated validReportColumns, validSortColumns to parse.cpp.
This commit is contained in:
parent
ac9dae9af8
commit
66011acbf8
5 changed files with 91 additions and 92 deletions
|
@ -42,6 +42,8 @@ bool validPriority (const std::string&);
|
|||
bool validDate (std::string&);
|
||||
bool validDuration (std::string&);
|
||||
bool validDescription (const std::string&);
|
||||
void validReportColumns (const std::vector <std::string>&);
|
||||
void validSortColumns (const std::vector <std::string>&, const std::vector <std::string>&);
|
||||
|
||||
// task.cpp
|
||||
void gatherNextTasks (/*const TDB&,*/ T&, std::vector <T>&, std::vector <int>&);
|
||||
|
@ -101,14 +103,11 @@ std::string handleReportActive ();
|
|||
std::string handleReportOverdue ();
|
||||
std::string handleReportStats ();
|
||||
std::string handleReportTimesheet ();
|
||||
|
||||
std::string handleCustomReport (const std::string&);
|
||||
void validReportColumns (const std::vector <std::string>&);
|
||||
void validSortColumns (const std::vector <std::string>&, const std::vector <std::string>&);
|
||||
|
||||
// rules.cpp
|
||||
void initializeColorRules ();
|
||||
void autoColorize (T&, Text::color&, Text::color&);
|
||||
void autoColorize (Task&, Text::color&, Text::color&);
|
||||
|
||||
// import.cpp
|
||||
std::string handleImport ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue