mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
Code Cleanup
- All objects now use the same convention for naming members. The consistency is a good thing.
This commit is contained in:
parent
fb6dc5058f
commit
dab06f8672
53 changed files with 1347 additions and 1349 deletions
14
src/Hooks.h
14
src/Hooks.h
|
@ -43,9 +43,9 @@ public:
|
|||
Hook& operator= (const Hook&);
|
||||
|
||||
public:
|
||||
std::string event;
|
||||
std::string file;
|
||||
std::string function;
|
||||
std::string _event;
|
||||
std::string _file;
|
||||
std::string _function;
|
||||
};
|
||||
|
||||
// Hooks class for managing the loading and calling of hook functions.
|
||||
|
@ -68,12 +68,12 @@ private:
|
|||
|
||||
private:
|
||||
#ifdef HAVE_LIBLUA
|
||||
API api;
|
||||
API _api;
|
||||
#endif
|
||||
std::vector <Hook> all; // All current hooks.
|
||||
std::vector <Hook> _all; // All current hooks.
|
||||
|
||||
std::vector <std::string> validProgramEvents;
|
||||
std::vector <std::string> validTaskEvents;
|
||||
std::vector <std::string> _validProgramEvents;
|
||||
std::vector <std::string> _validTaskEvents;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue