Derive EventDispatcher from sigc::trackable
if(handle==0)
tcgetattr(handle, &orig_attr);
#endif
if(handle==0)
tcgetattr(handle, &orig_attr);
#endif
+
+ if(n==0)
+ set_events(P_INPUT);
#define EVENTDISPATCHER_H_
#include <sigc++/connection.h>
#define EVENTDISPATCHER_H_
#include <sigc++/connection.h>
+#include <sigc++/trackable.h>
#include "poll.h"
namespace Msp {
#include "poll.h"
namespace Msp {
Put your I/O objects inside one of these to get signaled when something happens
on some of them.
*/
Put your I/O objects inside one of these to get signaled when something happens
on some of them.
*/
+class EventDispatcher: public sigc::trackable
{
public:
EventDispatcher();
{
public:
EventDispatcher();