nodeguy/src/cpp/QtWidgets/QRadioButton/qradiobutton_wrap.h
2019-06-07 20:13:09 +02:00

22 lines
535 B
C++

#pragma once
#include <napi.h>
#include "nradiobutton.h"
#include "src/cpp/QtGui/QWidget/qwidget_macro.h"
class QRadioButtonWrap : public Napi::ObjectWrap<QRadioButtonWrap>{
private:
NRadioButton* instance;
public:
static Napi::Object init(Napi::Env env, Napi::Object exports);
QRadioButtonWrap(const Napi::CallbackInfo& info);
~QRadioButtonWrap();
NRadioButton* getInternalInstance();
//class constructor
static Napi::FunctionReference constructor;
//wrapped methods
QWIDGET_WRAPPED_METHODS_DECLARATION
};