]>
vaikene.ee Git - evaf/blob - src/plugins/SdiWindow/factory.h
2 * @file SdiWindow/factory.h
3 * @brief SDI module's factory class
6 * Copyright (c) 2011-2019 Enar Vaikene
8 * This file is part of the eVaf C++ cross-platform application development framework.
10 * This file can be used under the terms of the GNU General Public License
11 * version 3.0 as published by the Free Software Foundation and appearing in
12 * the file LICENSE included in the packaging of this file. Please review the
13 * the following information to ensure the GNU General Public License version
14 * 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
16 * Alternatively, this file may be used in accordance with the Commercial License
17 * Agreement provided with the Software.
20 #ifndef __SDIWINDOW_FACTORY_H
21 # define __SDIWINDOW_FACTORY_H
24 #include <Plugins/iPluginFactory>
25 #include <QScopedPointer>
30 * Module that implements the Single Document Interface.
32 * Use this module as the main window for SDI applications.
37 * Internal implementation of the module.
40 class SdiWindowPlugin
;
41 } // namespace eVaf::SdiWindow::Internal
45 * Plugin factory class for the module
47 class Factory
: public Plugins::iPluginFactory
50 Q_INTERFACES(eVaf::Plugins::iPluginFactory
)
51 Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR
)
59 virtual QObject
* create(QString
const & name
);
64 QScopedPointer
<Internal::SdiWindowPlugin
> mPlugin
;
68 } // namespace eVaf::SdiWindow