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
ZResourceEdifyIF.h
Go to the documentation of this file.
1 /*
2  * Zuble - A run-time system for QML/Javascript applications
3  * Copyright (C) 2015 Bob Dinitto
4  *
5  * Filename: ZResourceEdifyIF.h
6  * Created on: 1/3/2015
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 ZRESOURCEEDIFYIF_H
26 #define ZRESOURCEEDIFYIF_H
27 
28 #include <QObject>
29 
30 namespace Zbl
31 {
32 
45 {
46 public:
47  virtual ~ZResourceEdifyIF(){}
48 
49  virtual bool mapResource(
50  const char * uri,
51  int versionMajor,
52  int versionMinor,
53  const char * fileName) = 0;
54 
55  virtual bool registerResource(
56  const char * uri, int versionMajor, int versionMinor) = 0;
57 
58  virtual bool mapConfigResources(const char* configFilePath) = 0;
59 
60  virtual bool mapPluginResources(const char* fileName, bool qmlRegister) = 0;
61 
62  virtual bool mapConfigSettings(const char* fileName) = 0;
63 
64 };
65 
66 } // Zbl
67 
68 Q_DECLARE_INTERFACE(Zbl::ZResourceEdifyIF, "org.zuble.if.ZResourceEdifyIF")
69 
70 #endif // ZRESOURCEEDIFYIF_H
virtual bool registerResource(const char *uri, int versionMajor, int versionMinor)=0
virtual bool mapPluginResources(const char *fileName, bool qmlRegister)=0
Definition: ZAndGate.cpp:6
static int versionMinor
Definition: main.cpp:60
static int versionMajor
Definition: main.cpp:59
virtual bool mapResource(const char *uri, int versionMajor, int versionMinor, const char *fileName)=0
virtual bool mapConfigResources(const char *configFilePath)=0
virtual bool mapConfigSettings(const char *fileName)=0
This interface allows Qt applications to access Zuble&#39;s platform-independent binary resource manageme...