summaryrefslogtreecommitdiffstats
path: root/ctrl/copter-model.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-06-15 22:56:00 +0200
committerSebastian Reichel <sre@ring0.de>2012-06-15 22:56:00 +0200
commit8a08b9dce9cfc161494ddb07a1c979c7796780ff (patch)
treee86e8a83212c617da44e1b9aed480fe6b50374af /ctrl/copter-model.vala
parent626580d3a16d01f3ba5481d291c4c0c844ef4c46 (diff)
downloadmicrocopterd-8a08b9dce9cfc161494ddb07a1c979c7796780ff.tar.bz2
restructure code
it is now loading its components from plugins
Diffstat (limited to 'ctrl/copter-model.vala')
-rw-r--r--ctrl/copter-model.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrl/copter-model.vala b/ctrl/copter-model.vala
index 09a780d..377b2bf 100644
--- a/ctrl/copter-model.vala
+++ b/ctrl/copter-model.vala
@@ -13,7 +13,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-public abstract class CopterModel {
+public abstract class CopterModel : Object {
+ public abstract void init(KeyFile cfg) throws Error;
public abstract uint8 get_motor_amount();
public abstract void set_max(uint8 motor, int val);