summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_test_class_simple.h
blob: b438b14d9722c3fa4e4ea242dec17c76c70a554d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef SIMPLE_H
#define SIMPLE_H

typedef struct
{
   int a;
} Simple_Public_Data;

EAPI void simple_a_set(Eo *obj, int a);
EAPI int simple_a_get(const Eo *obj);
EAPI Eina_Bool simple_a_print(Eo *obj);
EAPI Eina_Bool simple_class_hi_print(const Eo *obj);
EAPI void simple_recursive(Eo *obj, int n);
EAPI void simple_pure_virtual(Eo *obj);
EAPI void simple_no_implementation(Eo *obj);
EAPI Eo *simple_part_get(Eo *obj, const char *name);

extern const Efl_Event_Description _EV_A_CHANGED;
#define EV_A_CHANGED (&(_EV_A_CHANGED))

extern const Efl_Event_Description _EV_A_CHANGED2;
#define EV_A_CHANGED2 (&(_EV_A_CHANGED2))

#define SIMPLE_CLASS simple_class_get()
const Efl_Class *simple_class_get(void);

#define SIMPLE2_CLASS simple2_class_get()
const Efl_Class *simple2_class_get(void);

// simple3(simple, simple2)
#define SIMPLE3_CLASS simple3_class_get()
const Efl_Class *simple3_class_get(void);

#define SEARCHABLE_CLASS searchable_class_get()
const Efl_Class *searchable_class_get(void);

#endif