- Eliminated the concept of list hooks.
- Eliminated unnecessary API functions.
This commit is contained in:
Paul Beckingham 2011-04-13 23:20:55 -04:00
parent dbb556bce9
commit 17d1e59e29
4 changed files with 13 additions and 248 deletions

View file

@ -59,13 +59,11 @@ public:
void initialize ();
bool trigger (const std::string&); // Program
bool trigger (const std::string&, std::vector <Task>&); // List
bool trigger (const std::string&, Task&); // Task
bool trigger (const std::string&, const std::string&, std::string&); // Field
private:
bool validProgramEvent (const std::string&);
bool validListEvent (const std::string&);
bool validTaskEvent (const std::string&);
bool validFieldEvent (const std::string&);
@ -76,7 +74,6 @@ private:
std::vector <Hook> all; // All current hooks.
std::vector <std::string> validProgramEvents;
std::vector <std::string> validListEvents;
std::vector <std::string> validTaskEvents;
std::vector <std::string> validFieldEvents;
};