Fix missing namespace in Events on Windows and Mac OS X

This commit is contained in:
Micke Prag 2012-02-03 17:32:54 +01:00
parent e834160492
commit ba9c50f625
4 changed files with 7 additions and 3 deletions

View file

@ -5,6 +5,8 @@
#include <windows.h>
#include <list>
using namespace TelldusCore;
class EventHandler::PrivateData {
public:
HANDLE *eventArray;

View file

@ -1,6 +1,8 @@
#include "Event.h"
#include "Thread.h"
using namespace TelldusCore;
class Event::PrivateData {
public:
EVENT_T event;

View file

@ -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;

View file

@ -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;