Refactoring
- Combined the remains of command.cpp and report.cpp into helpers.cpp.
This commit is contained in:
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&);
|
||||
|
||||
Reference in New Issue
Block a user