radio/lib/wController/controllerstring.h
2018-08-05 00:48:17 +03:00

34 lines
600 B
C++

#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