-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathipqengineext.h
More file actions
54 lines (45 loc) · 1.46 KB
/
ipqengineext.h
File metadata and controls
54 lines (45 loc) · 1.46 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/****************************************************************************
**
** Copyright (C) 2015 WxMaper (http://wxmaper.ru)
**
** This file is part of the PQEngine.
**
** BEGIN LICENSE: MPL 2.0
**
** This Source Code Form is subject to the terms of the Mozilla Public
** License, v. 2.0. If a copy of the MPL was not distributed with this
** file, You can obtain one at http://mozilla.org/MPL/2.0/.
**
** END LICENSE
**
****************************************************************************/
#ifndef IPQENGINEEXT_H
#define IPQENGINEEXT_H
#include <QCoreApplication>
#include <QMetaObject>
#include <QMetaMethod>
#include "plastiqmetaobject.h"
#include "plastiqmethod.h"
#define PQENGINEEXT_MAJOR_VERSION 0
#define PQENGINEEXT_MINOR_VERSION 5
#define PQENGINEEXT_RELEASE_VERSION 0
#define PQENGINEEXT_VERSION "0.5"
#define PQENGINEEXT_VERSION_ID 50
namespace PlastiQ {
class IPlastiQUi;
}
class IPQExtension;
class QMetaObjectList : public QList<QMetaObject> {};
class PlastiQMetaObjectList : public QList<PlastiQMetaObject> {};
typedef QHash<QByteArray,PlastiQ::IPlastiQUi*> PlastiQUiHash;
class IPQExtension {
public:
virtual PlastiQMetaObjectList plastiqClasses() { return PlastiQMetaObjectList(); }
virtual PlastiQUiHash plastiqForms() = 0;
virtual QMetaObjectList classes() = 0;
virtual bool start() = 0;
virtual bool finalize() = 0;
virtual ~IPQExtension() {}
};
class PQExtensionList : public QList<IPQExtension*> {};
#endif // IPQENGINEEXT_H