WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. Zuble QML Types   |  Zuble C++ Classes   |  Zuble Overview
Zuble  0.1
Zuble Framework C++/QML extension API
ZblPlugin.h
Go to the documentation of this file.
1 /*
2  * Zuble - A run-time system for QML/Javascript applications
3  * Copyright (C) 2014 Bob Dinitto
4  *
5  * Filename: ZblPlugin.h
6  * Created on: 12/10/2014
7  * Author: Bob Dinitto
8  *
9  * Zuble is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  *
23  */
24 
25 #ifndef ZBLPLUGIN_H
26 #define ZBLPLUGIN_H
27 
28 #include <QMultiMap>
29 #include <QObject>
30 
31 //class QObject;
32 
33 namespace Zbl
34 {
35 class ZblSprocket;
36 class ZblSprockOb;
37 class ZblFactory;
38 class ZblResource;
39 
45 typedef QObject* (*sprocketObjectConstructor)(QObject* parent);
46 
51 typedef QMap<QString, ZblSprocket*> sprocketPluginMap;
52 
56 typedef QMap<QString, ZblFactory*> factoryMap;
57 
65 typedef QMap<int, ZblSprockOb*> sprocketVersionMap;
66 
72 typedef QMap<QString, sprocketVersionMap*> sprocketFoundryMap;
73 
78 typedef QMap<QString, ZblSprockOb*> sprocketObjectMap;
79 
84 typedef QMap<QString, ZblResource*> resourceMap;
85 
86 
87 } // Zbl
88 
89 #endif // ZBLPLUGIN_H
QMap< QString, ZblSprocket * > sprocketPluginMap
Map Zuble Sprocket uri&#39;s to Sprocket plugin objects.
Definition: ZblPlugin.h:51
QMap< QString, sprocketVersionMap * > sprocketFoundryMap
Maps Sprocket object QML type names to object construction wrappers mapped by version.
Definition: ZblPlugin.h:72
Definition: ZAndGate.cpp:6
QMap< QString, ZblSprockOb * > sprocketObjectMap
Maps Sprocket QML type names to object construction wrappers.
Definition: ZblPlugin.h:78
QMap< QString, ZblFactory * > factoryMap
Map Zuble Sprocket uri&#39;s to Sprocket object factories.
Definition: ZblPlugin.h:56
QMap< int, ZblSprockOb * > sprocketVersionMap
Maps sprocket object versions to version-specific object construction wrappers.
Definition: ZblPlugin.h:65
QMap< QString, ZblResource * > resourceMap
Maps resource uri&#39;s to Zuble resource objects.
Definition: ZblPlugin.h:84