Eo: Removed the const op concept.
[profile/ivi/eobj.git] / src / examples / simple / interface.c
1 #include "Eo.h"
2 #include "interface.h"
3
4 #include "config.h"
5
6 EAPI Eo_Op INTERFACE_BASE_ID = 0;
7
8 #define MY_CLASS INTERFACE_CLASS
9
10 static const Eo_Op_Description op_desc[] = {
11      EO_OP_DESCRIPTION(INTERFACE_SUB_ID_A_POWER_3_GET, "Get the a^3"),
12      EO_OP_DESCRIPTION_SENTINEL
13 };
14
15 static const Eo_Class_Description class_desc = {
16      "Interface",
17      EO_CLASS_TYPE_INTERFACE,
18      EO_CLASS_DESCRIPTION_OPS(&INTERFACE_BASE_ID, op_desc, INTERFACE_SUB_ID_LAST),
19      NULL,
20      0,
21      NULL,
22      NULL
23 };
24
25 EO_DEFINE_CLASS(interface_class_get, &class_desc, NULL, NULL)
26