mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 01:27:20 +02:00
Code Reorganization
- Changed the ::measure and ::render methods from pure virtual to virtual. - Fixed bug where recur.indicator used the length of the indicator instead of the indicator. - Implemented ColString.{h,cpp} to support generic Views based on strings, not tasks. - Implemented newly virtual Column:: methods.
This commit is contained in:
parent
00125c19d1
commit
590273d4e8
6 changed files with 181 additions and 4 deletions
|
@ -51,9 +51,11 @@ public:
|
|||
virtual void setLabel (const std::string& value) { _label = value; }
|
||||
virtual void setReport (const std::string& value) { _report = value; }
|
||||
|
||||
virtual void measure (Task&, int&, int&) = 0;
|
||||
virtual void measure (const std::string&, int&, int&);
|
||||
virtual void measure (Task&, int&, int&);
|
||||
virtual void renderHeader (std::vector <std::string>&, int, Color&);
|
||||
virtual void render (std::vector <std::string>&, Task&, int, Color&) = 0;
|
||||
virtual void render (std::vector <std::string>&, const std::string&, int, Color&);
|
||||
virtual void render (std::vector <std::string>&, Task&, int, Color&);
|
||||
|
||||
protected:
|
||||
std::string _type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue