Efl interfaces: Add control interface.

This commit is contained in:
Tom Hacohen 2014-08-07 12:51:36 +01:00
parent 5ec2aecd83
commit 3f29b35662
5 changed files with 34 additions and 0 deletions

View File

@ -1,4 +1,6 @@
BUILT_SOURCES += \
lib/efl/interfaces/efl_control.eo.c \
lib/efl/interfaces/efl_control.eo.h \
lib/efl/interfaces/efl_file.eo.c \
lib/efl/interfaces/efl_file.eo.h \
lib/efl/interfaces/efl_image.eo.c \
@ -12,6 +14,7 @@ BUILT_SOURCES += \
efleolianfilesdir = $(datadir)/eolian/include/efl-@VMAJ@
efleolianfiles_DATA = \
lib/efl/interfaces/efl_control.eo \
lib/efl/interfaces/efl_file.eo \
lib/efl/interfaces/efl_image.eo \
lib/efl/interfaces/efl_player.eo \
@ -38,6 +41,7 @@ dist_installed_eflheaders_DATA = \
installed_eflinterfacesdir = $(includedir)/efl-@VMAJ@/interfaces
nodist_installed_eflinterfaces_DATA = \
lib/efl/interfaces/efl_control.eo.h \
lib/efl/interfaces/efl_file.eo.h \
lib/efl/interfaces/efl_image.eo.h \
lib/efl/interfaces/efl_player.eo.h \

View File

@ -3,6 +3,7 @@ if HAVE_CXX11
### Generated headers
generated_efl_cxx_bindings = \
lib/efl/interfaces/efl_control.eo.hh \
lib/efl/interfaces/efl_file.eo.hh \
lib/efl/interfaces/efl_image.eo.hh \
lib/efl/interfaces/efl_player.eo.hh \

View File

@ -4,6 +4,7 @@
#include <Eo.h>
/* Interfaces */
#include "interfaces/efl_control.eo.h"
#include "interfaces/efl_file.eo.h"
#include "interfaces/efl_image.eo.h"
#include "interfaces/efl_player.eo.h"

View File

@ -0,0 +1,27 @@
/* FIXME: Rename */
interface Efl.Control {
legacy_prefix: null;
properties {
priority {
/*@ Control the priority of the object. */
set {
}
get {
}
values {
int priority; /*@ The priority of the object */
}
}
suspend {
/*@ Controls whether the object is suspended or not. */
set {
}
get {
}
values {
bool suspend; /*@ Controls whether the object is suspended or not. */
}
}
}
}

View File

@ -4,6 +4,7 @@
#include <Efl.h>
#include "interfaces/efl_control.eo.c"
#include "interfaces/efl_file.eo.c"
#include "interfaces/efl_image.eo.c"
#include "interfaces/efl_player.eo.c"