-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathwindow_implement.h
More file actions
28 lines (26 loc) · 907 Bytes
/
Copy pathwindow_implement.h
File metadata and controls
28 lines (26 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include <QWindow>
#include <QScreen>
#include "gui_module.h"
#include "qwindow_p.h"
#include "qwindow_wrapper.h"
#include "qpoint_implement.h"
#include "qobject_implement.h"
namespace shelllet {
namespace gui {
class Window : public QWindowWrapper<QWindow, Window, true>
{
using ReturnType = QImagePrivate<QWindow, true>;
using ReturnType2 = QImagePrivate<QWindow, false>;
ReturnType* Private(const v8::FunctionCallbackInfo<v8::Value>& args) {
return new ReturnType;
}
public:
Window(const v8::FunctionCallbackInfo<v8::Value>& args) : QWindowWrapper(*Private(args), args) {}
Window(v8::Isolate* isolate, const v8::Local<v8::FunctionTemplate>& tpl) :QWindowWrapper(isolate, tpl) {}
Window(v8::Isolate* isolate, const v8::Local<v8::ObjectTemplate>& proto) :QWindowWrapper(isolate, proto) {}
static const char* Name() { return "Window"; }
public:
};
}
}