mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 13:23:08 +02:00
Refactoring
- Combined the remains of command.cpp and report.cpp into helpers.cpp.
This commit is contained in:
parent
a2da93b681
commit
6f17e80461
4 changed files with 149 additions and 191 deletions
17
src/main.h
17
src/main.h
|
@ -49,7 +49,11 @@ void updateRecurrenceMask (std::vector <Task>&, Task&);
|
|||
int getDueState (const std::string&);
|
||||
bool nag (Task&);
|
||||
|
||||
// command.cpp
|
||||
// helpers.cpp
|
||||
std::string getFullDescription (Task&, const std::string&);
|
||||
std::string getDueDate (Task&, const std::string&);
|
||||
std::string onProjectChange (Task&, bool scope = true);
|
||||
std::string onProjectChange (Task&, Task&);
|
||||
int deltaAppend (Task&);
|
||||
int deltaPrepend (Task&);
|
||||
int deltaDescription (Task&);
|
||||
|
@ -57,17 +61,6 @@ int deltaTags (Task&);
|
|||
int deltaAttributes (Task&);
|
||||
int deltaSubstitutions (Task&);
|
||||
|
||||
// report.cpp
|
||||
std::string getFullDescription (Task&, const std::string&);
|
||||
std::string getDueDate (Task&, const std::string&);
|
||||
std::string onProjectChange (Task&, bool scope = true);
|
||||
std::string onProjectChange (Task&, Task&);
|
||||
|
||||
// burndown.cpp
|
||||
int handleReportBurndownDaily (std::string&);
|
||||
int handleReportBurndownWeekly (std::string&);
|
||||
int handleReportBurndownMonthly (std::string&);
|
||||
|
||||
// rules.cpp
|
||||
void initializeColorRules ();
|
||||
void autoColorize (Task&, Color&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue