~wintermute-devel/wintermute/master

« back to all changes in this revision

Viewing changes to src/Wintermute/temporaryplugin.hpp

  • Committer: Jacky Alciné
  • Date: 2013-05-08 11:22:08 UTC
  • mfrom: (299.1.31)
  • Revision ID: git-v1:736770b4615b8c7cfec6437d8a7d0c8cd95b7d25
Merge branch 'feature/extensibility' into develop

* feature/extensibility:
  Added winfo to updates.
  Updates to Wintermute::Factory.
  Licenses to Wintermute::Version.
  Updates to Wintermute::Application.
  Docs + licensing for header.
  Updated ctags git hook.
  Moved private data into source code.
  Added documentation in application.hpp
  Added changes due to logging infrastructure.
  Added shortcuts for logging to console.
  Added new temporary plugin definition data.
  Improved plugin code.
  Improved logging capability.
  Improved definitions of factory.*pp.
  Improved definitions of arguments.*pp.
  Improved definitions of arguments.*pp.
  Improved definitions in 'application.cpp'
  Added two more non-existing source files to build.
  Updated changes for CMake for extensibility.
  Define default path for extension loading.
  Update generate-ctags.
  Add post-commit hook to VCS.
  Adding logging function to Wintermute::Arguments.
  Updated Wintermute::Application with functionality.
  Added Wintermute::Factory to build.
  Updated Wintermute's global header.
  Add semantic versioning + Git to CMake.
  Updated CMake configuration and add 'Version'.
  Updated 'src/CMakeLists.txt' to reflect source.
  Add 'Wintermute::Plugin' to codebase.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 *
 
3
 * Copyright (C) 2013 Jacky Alcine <jacky.alcine@thesii.org>
 
4
 *
 
5
 * This file is part of Wintermute, the extensible AI platform.
 
6
 *
 
7
 *
 
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.
 
12
 *
 
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.
 
17
 *
 
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/>.
 
20
**/
 
21
 
 
22
#ifndef WINTERMUTE_CORE_INTERNAL_TEMPORARYPLUGIN_HPP
 
23
#define WINTERMUTE_CORE_INTERNAL_TEMPORARYPLUGIN_HPP
 
24
 
 
25
#include "plugin.hpp"
 
26
#include <QPluginLoader>
 
27
 
 
28
namespace Wintermute {
 
29
  class TemporaryPlugin : public Plugin {
 
30
    Q_OBJECT;
 
31
 
 
32
    public:
 
33
      explicit TemporaryPlugin(const QUuid& id, QPluginLoader* theLoader);
 
34
      virtual ~TemporaryPlugin();
 
35
      bool tryLoad();
 
36
  };
 
37
}
 
38
 
 
39
#endif /* WINTERMUTE_CORE_INTERNAL_TEMPORARYPLUGIN_HPP */