3
* Copyright (C) 2013 Jacky Alcine <jacky.alcine@thesii.org>
5
* This file is part of Wintermute, the extensible AI platform.
8
* Wintermute is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 3 of the License, or
11
* (at your option) any later version.
13
* Wintermute is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with Wintermute. If not, see <http://www.gnu.org/licenses/>.
22
#include "pluginprivate.hpp"
23
#include "temporaryplugin.hpp"
25
using Wintermute::Plugin;
26
using Wintermute::TemporaryPlugin;
28
TemporaryPlugin::TemporaryPlugin(const QUuid& id, QPluginLoader* theLoader) :
32
d->loader = theLoader;
36
TemporaryPlugin::tryLoad(){
39
return d->loadBinary();
42
TemporaryPlugin::~TemporaryPlugin() {
45
#include "temporaryplugin.moc"