summaryrefslogtreecommitdiff
path: root/src/examples/bg_cxx_example_01.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/bg_cxx_example_01.cc')
-rw-r--r--src/examples/bg_cxx_example_01.cc49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/examples/bg_cxx_example_01.cc b/src/examples/bg_cxx_example_01.cc
new file mode 100644
index 000000000..0ea455b36
--- /dev/null
+++ b/src/examples/bg_cxx_example_01.cc
@@ -0,0 +1,49 @@
1extern "C"
2{
3#ifdef HAVE_CONFIG_H
4# include <elementary_config.h>
5#endif
6
7#define ELM_INTERNAL_API_ARGESFSDFEFC
8#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
9#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
10#define ELM_INTERFACE_ATSPI_ACTION_PROTECTED
11#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
12#define ELM_INTERFACE_ATSPI_EDITABLE_TEXT_PROTECTED
13#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
14#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
15#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED
16#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
17
18#include <Eo.h>
19#include <Evas.h>
20#include <Elementary.h>
21#include <elm_widget.h>
22
23#include "elm_interface_atspi_accessible.h"
24#include "elm_interface_atspi_widget_action.h"
25#include "elm_interface_atspi_text.h"
26#include "elm_interface_scrollable.h"
27}
28
29#include <Elementary.hh>
30
31//#include <elm_win.eo.hh>
32
33#include <Eina.hh>
34
35EAPI_MAIN int
36elm_main (int argc, char *argv[])
37{
38 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);
39 ::elm_win win(elm_win_util_standard_add("bg-plain", "Bg Plain"));
40 win.autohide_set(true);
41
42 win.size_set(320,320);
43 win.visibility_set(true);
44
45 elm_run();
46
47 return 0;
48}
49ELM_MAIN()