git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved parsers into a separate directory.
[stg.git]
/
projects
/
stargazer
/
eventloop.h
diff --git
a/projects/stargazer/eventloop.h
b/projects/stargazer/eventloop.h
index e1b7f6aac8da02efc512e39e9a53737e4bf2a7d7..35de3675b290b7a2c8a2fbb5f110fa00006b7a52 100644
(file)
--- a/
projects/stargazer/eventloop.h
+++ b/
projects/stargazer/eventloop.h
@@
-3,7
+3,7
@@
#include <pthread.h>
#include <pthread.h>
-#include "noncopyable.h"
+#include "
stg/
noncopyable.h"
#include "actions.h"
class EVENT_LOOP : private NONCOPYABLE,
#include "actions.h"
class EVENT_LOOP : private NONCOPYABLE,
@@
-12,7
+12,7
@@
class EVENT_LOOP : private NONCOPYABLE,
public:
bool Start();
bool Stop();
public:
bool Start();
bool Stop();
- bool IsRunning() const { return _running; }
;
+ bool IsRunning() const { return _running; }
template <class ACTIVE_CLASS, typename DATA_TYPE>
void Enqueue(ACTIVE_CLASS & ac,
template <class ACTIVE_CLASS, typename DATA_TYPE>
void Enqueue(ACTIVE_CLASS & ac,
@@
-44,8
+44,8
@@
class EVENT_LOOP_SINGLETON : private NONCOPYABLE
static EVENT_LOOP * _instance;
static void CreateInstance();
static EVENT_LOOP * _instance;
static void CreateInstance();
- EVENT_LOOP_SINGLETON() {}
;
- ~EVENT_LOOP_SINGLETON() {}
;
+ EVENT_LOOP_SINGLETON() {}
+ ~EVENT_LOOP_SINGLETON() {}
};
template <class ACTIVE_CLASS, typename DATA_TYPE>
};
template <class ACTIVE_CLASS, typename DATA_TYPE>