From 8a08b9dce9cfc161494ddb07a1c979c7796780ff Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Fri, 15 Jun 2012 22:56:00 +0200 Subject: restructure code it is now loading its components from plugins --- ctrl/copter-model.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ctrl/copter-model.vala') 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); -- cgit v1.2.3