telldus/telldus-core/driver/TellUsbD101/Device.h
2008-07-10 08:07:43 +00:00

25 lines
415 B
C++

#pragma once
#include "TellUsbD101.h"
class Device
{
public:
Device();
~Device(void);
virtual void turnOn(void);
virtual void turnOff(void);
virtual void bell(void);
virtual void dim(unsigned char level);
virtual int methods(char* strModel);
#ifndef _WINDOWS
void setDevice(const char *device);
protected:
char *strDevice;
#endif
protected:
void send(char* strMessage);
};