initial commit
This commit is contained in:
commit
4b60ece582
327 changed files with 28286 additions and 0 deletions
33
lib/wController/controllerstring.h
Normal file
33
lib/wController/controllerstring.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue