mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Added declared but unimplemented copy constructors and assignment operators.
This commit is contained in:
parent
c6a56d444e
commit
e59e35ae29
9 changed files with 29 additions and 0 deletions
|
@ -39,6 +39,9 @@ public:
|
|||
Cmd (const std::string&); // Default constructor
|
||||
~Cmd (); // Destructor
|
||||
|
||||
Cmd (const Cmd&);
|
||||
Cmd& operator= (const Cmd&);
|
||||
|
||||
bool valid (const std::string&);
|
||||
bool validCustom (const std::string&);
|
||||
void parse (const std::string&);
|
||||
|
|
|
@ -37,6 +37,9 @@ public:
|
|||
Config ();
|
||||
Config (const std::string&);
|
||||
|
||||
Config (const Config&);
|
||||
Config& operator= (const Config&);
|
||||
|
||||
bool load (const std::string&);
|
||||
void createDefault (const std::string&);
|
||||
void setDefaults ();
|
||||
|
|
|
@ -43,6 +43,9 @@ public:
|
|||
Context (); // Default constructor
|
||||
~Context (); // Destructor
|
||||
|
||||
Context (const Context&);
|
||||
Context& operator= (const Context&);
|
||||
|
||||
void initialize (int, char**); // all startup
|
||||
void initialize (); // for reinitializing
|
||||
int run (); // task classic
|
||||
|
|
|
@ -45,6 +45,9 @@ public:
|
|||
Cell (const double);
|
||||
Cell (const std::string&);
|
||||
|
||||
Cell (const Cell&);
|
||||
Cell& operator= (const Cell&);
|
||||
|
||||
operator bool () const;
|
||||
operator char () const;
|
||||
operator int () const;
|
||||
|
@ -72,6 +75,9 @@ public:
|
|||
Grid ();
|
||||
~Grid ();
|
||||
|
||||
Grid (const Grid&);
|
||||
Grid& operator= (const Grid&);
|
||||
|
||||
void add (const unsigned int, const unsigned int, const bool);
|
||||
void add (const unsigned int, const unsigned int, const char);
|
||||
void add (const unsigned int, const unsigned int, const int);
|
||||
|
|
|
@ -39,6 +39,9 @@ public:
|
|||
Sequence (const std::string&); // Parse
|
||||
~Sequence (); // Destructor
|
||||
|
||||
Sequence (const Sequence&);
|
||||
Sequence& operator= (const Sequence&);
|
||||
|
||||
bool valid (const std::string&) const;
|
||||
void parse (const std::string&);
|
||||
void combine (const Sequence&);
|
||||
|
|
|
@ -36,6 +36,9 @@ public:
|
|||
StringTable (); // Default constructor
|
||||
~StringTable (); // Destructor
|
||||
|
||||
StringTable (const StringTable&);
|
||||
StringTable& operator= (const StringTable&);
|
||||
|
||||
void load (const std::string&);
|
||||
std::string get (int, const std::string&);
|
||||
};
|
||||
|
|
|
@ -43,6 +43,9 @@ public:
|
|||
TDB (); // Default constructor
|
||||
~TDB (); // Destructor
|
||||
|
||||
TDB (const TDB&);
|
||||
TDB& operator= (const TDB&);
|
||||
|
||||
void clear ();
|
||||
void location (const std::string&);
|
||||
|
||||
|
|
|
@ -52,6 +52,9 @@ public:
|
|||
Table ();
|
||||
virtual ~Table ();
|
||||
|
||||
Table (const Table&);
|
||||
Table& operator= (const Table&);
|
||||
|
||||
void setTableColor (Text::color, Text::color);
|
||||
void setTableFg (Text::color);
|
||||
void setTableBg (Text::color);
|
||||
|
|
|
@ -35,6 +35,8 @@ class Timer
|
|||
public:
|
||||
Timer (const std::string&);
|
||||
~Timer ();
|
||||
Timer (const Timer&);
|
||||
Timer& operator= (const Timer&);
|
||||
|
||||
private:
|
||||
std::string mDescription;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue