mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-06 17:37:21 +02:00
Column: Made ::validate const
This commit is contained in:
parent
575433542f
commit
db7ebf9029
4 changed files with 10 additions and 10 deletions
|
@ -37,7 +37,7 @@ class ColumnUDAString : public ColumnTypeString
|
|||
{
|
||||
public:
|
||||
ColumnUDAString ();
|
||||
bool validate (std::string&);
|
||||
bool validate (const std::string&) const;
|
||||
void measure (Task&, unsigned int&, unsigned int&);
|
||||
void render (std::vector <std::string>&, Task&, int, Color&);
|
||||
|
||||
|
@ -53,7 +53,7 @@ class ColumnUDANumeric : public ColumnTypeNumeric
|
|||
{
|
||||
public:
|
||||
ColumnUDANumeric ();
|
||||
bool validate (std::string&);
|
||||
bool validate (const std::string&) const;
|
||||
void measure (Task&, unsigned int&, unsigned int&);
|
||||
void render (std::vector <std::string>&, Task&, int, Color&);
|
||||
|
||||
|
@ -66,7 +66,7 @@ class ColumnUDADate : public ColumnTypeDate
|
|||
{
|
||||
public:
|
||||
ColumnUDADate ();
|
||||
bool validate (std::string&);
|
||||
bool validate (const std::string&) const;
|
||||
void measure (Task&, unsigned int&, unsigned int&);
|
||||
void render (std::vector <std::string>&, Task&, int, Color&);
|
||||
|
||||
|
@ -79,7 +79,7 @@ class ColumnUDADuration : public ColumnTypeDuration
|
|||
{
|
||||
public:
|
||||
ColumnUDADuration ();
|
||||
bool validate (std::string&);
|
||||
bool validate (const std::string&) const;
|
||||
void measure (Task&, unsigned int&, unsigned int&);
|
||||
void render (std::vector <std::string>&, Task&, int, Color&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue