summaryrefslogtreecommitdiffhomepage
path: root/vala.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'vala.html.markdown')
-rwxr-xr-xvala.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/vala.html.markdown b/vala.html.markdown
index 130ce7a9..ac1f19eb 100755
--- a/vala.html.markdown
+++ b/vala.html.markdown
@@ -255,8 +255,9 @@ class Message : GLib.Object { // Class Message extends GLib's Object
}
-interface InterfaceDemo { // Can be used as a mixin
- // ...
+interface Laptop { // May only contain abstract methods
+ public abstract void turn_on();
+ public abstract void turn_off();
}
// Since method overloading isn't possible, you can use named constructors