Fix missing namespace in Events on Windows and Mac OS X
This commit is contained in:
parent
e834160492
commit
ba9c50f625
4 changed files with 7 additions and 3 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <windows.h>
|
||||
#include <list>
|
||||
|
||||
using namespace TelldusCore;
|
||||
|
||||
class EventHandler::PrivateData {
|
||||
public:
|
||||
HANDLE *eventArray;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#include "Event.h"
|
||||
#include "Thread.h"
|
||||
|
||||
using namespace TelldusCore;
|
||||
|
||||
class Event::PrivateData {
|
||||
public:
|
||||
EVENT_T event;
|
||||
|
|
|
@ -14,10 +14,10 @@ public:
|
|||
SECURITY_ATTRIBUTES sa;
|
||||
HANDLE hEvent;
|
||||
bool running;
|
||||
EventRef waitEvent;
|
||||
TelldusCore::EventRef waitEvent;
|
||||
};
|
||||
|
||||
ConnectionListener::ConnectionListener(const std::wstring &name, EventRef waitEvent)
|
||||
ConnectionListener::ConnectionListener(const std::wstring &name, TelldusCore::EventRef waitEvent)
|
||||
{
|
||||
d = new PrivateData;
|
||||
d->hEvent = 0;
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
#endif
|
||||
};
|
||||
|
||||
TellStick::TellStick(int controllerId, Event *event, const TellStickDescriptor &td )
|
||||
TellStick::TellStick(int controllerId, TelldusCore::Event *event, const TellStickDescriptor &td )
|
||||
:Controller(controllerId, event)
|
||||
{
|
||||
d = new PrivateData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue