]> vaikene.ee Git - evaf/blob - src/plugins/Test/test.h
35630cdd96bf72cfec9eb5a6ebd11b0af12796e0
[evaf] / src / plugins / Test / test.h
1 /**
2 * @file plugins/Test/test.h
3 * @brief eVaf test plugin
4 * @author Enar Vaikene
5 *
6 * Copyright (c) 2011 Enar Vaikene
7 *
8 * This file is part of the eVaf C++ cross-platform application development framework.
9 *
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.
15 *
16 * Alternatively, this file may be used in accordance with the Commercial License
17 * Agreement provided with the Software.
18 */
19
20 #ifndef __TEST_TEST_H
21 #define __TEST_TEST_H
22
23 #include <Plugins/iPlugin>
24
25 #include <QObject>
26 #include <QString>
27
28 namespace eVaf {
29
30 namespace Test {
31 namespace Internal {
32
33 /**
34 * Test module
35 */
36 class TestPlugin : public Plugins::iPlugin
37 {
38 Q_OBJECT
39
40 public:
41
42 TestPlugin();
43
44 virtual ~TestPlugin();
45
46 virtual bool init(QString const & args);
47
48 virtual void done();
49
50 virtual bool isReady() const { return mReady; }
51
52
53 private: // Members
54
55 bool mReady;
56
57 };
58
59 } // namespace eVaf::Test::Internal
60 } // namespace eVaf::Test
61 } // namespace eVaf
62
63 #endif // test.h