* updates cmake file for windows plugin support * basic exports * minor export fixes * rename macro * rename export macro * fixes build error on windows * cleanup cmakelist * updated headers
26 lines
635 B
C++
26 lines
635 B
C++
#pragma once
|
|
|
|
#include <napi.h>
|
|
|
|
#include <QPointer>
|
|
|
|
#include "Extras/Utils/nutils.h"
|
|
#include "QtWidgets/QDateTimeEdit/qdatetimeedit_macro.h"
|
|
#include "ndatetimeedit.hpp"
|
|
|
|
class DLL_EXPORT QDateTimeEditWrap
|
|
: public Napi::ObjectWrap<QDateTimeEditWrap> {
|
|
QDATETIMEEDIT_WRAPPED_METHODS_DECLARATION
|
|
private:
|
|
QPointer<NDateTimeEdit> instance;
|
|
|
|
public:
|
|
static Napi::Object init(Napi::Env env, Napi::Object exports);
|
|
QDateTimeEditWrap(const Napi::CallbackInfo &info);
|
|
~QDateTimeEditWrap();
|
|
NDateTimeEdit *getInternalInstance();
|
|
// class constructor
|
|
static Napi::FunctionReference constructor;
|
|
// wrapped methods
|
|
};
|