initial commit

This commit is contained in:
Blue 2018-08-05 00:46:25 +03:00 committed by Юрий Губич
commit 4b60ece582
327 changed files with 28286 additions and 0 deletions

36
lib/wController/list.h Normal file
View file

@ -0,0 +1,36 @@
#ifndef CONTROLLER_LIST_H
#define CONTROLLER_LIST_H
#include "controller.h"
#include <wType/address.h>
#include <wType/object.h>
#include <wType/event.h>
#include <wType/vector.h>
namespace C {
class List : public C::Controller
{
Q_OBJECT
public:
List(const W::Address p_address, QObject* parent);
~List();
signals:
void clear();
void newElement(const W::Object& element);
protected:
W::Vector* data;
handler(get)
handler(push)
handler(clear)
private:
static uint64_t counter;
};
}
#endif // CONTROLLER_LIST_H