Last change
on this file since 11952 was
11012,
checked in by landauf, 9 years ago
|
added unittest for plugin loading and unloading
|
-
Property svn:eol-style set to
native
|
File size:
355 bytes
|
Rev | Line | |
---|
[11012] | 1 | #include "Testclass.h" |
---|
| 2 | #include "core/CoreIncludes.h" |
---|
| 3 | #include "core/config/ConfigValueIncludes.h" |
---|
| 4 | |
---|
| 5 | namespace orxonox |
---|
| 6 | { |
---|
| 7 | RegisterClassNoArgs(Testclass); |
---|
| 8 | |
---|
| 9 | Testclass::Testclass() |
---|
| 10 | { |
---|
| 11 | RegisterObject(Testclass); |
---|
| 12 | |
---|
| 13 | this->setConfigValues(); |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | void Testclass::setConfigValues() |
---|
| 17 | { |
---|
| 18 | SetConfigValue(value_, 666); |
---|
| 19 | } |
---|
| 20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.