radio/lib/wController/controllerstring.h

34 lines
600 B
C
Raw Normal View History

2018-08-04 21:46:25 +00:00
#ifndef CONTROLLER_STRING_H
#define CONTROLLER_STRING_H
#include "controller.h"
#include <wType/string.h>
#include <wType/vocabulary.h>
#include <wType/event.h>
#include <QtCore/QString>
namespace C {
class String : public C::Controller
{
Q_OBJECT
public:
String(const W::Address p_address, QObject* parent = 0);
~String();
signals:
void change(const QString& str);
protected:
W::String data;
handler(get)
private:
static uint64_t counter;
};
}
#endif // CONTROLLER_STRING_H