-Application::~Application()
-{
- if(poller_)
- delete poller_;
- if(ev_mgr_)
- delete ev_mgr_;
-}
-
-/**
-Constructs an instance of the registered application class and runs it. If the
-application throws a UsageError, the static usage() function is called.
-
-This function can only be called once. The global main() function provided by
-the library normally does it automatically at program startup.
-*/
-int Application::run(int argc, char **argv)
+int Application::run(int argc, char **argv, void *data, void (*created_callback)(void *))