summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eo_cxx/eo_init.hh
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-23 12:01:30 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-23 15:05:50 -0300
commite3c8b280c639058c54f5576f189d0dc288105fc7 (patch)
treee313fa05bd9d2b2cb88623f6adea2c3b396b66e8 /src/bindings/cxx/eo_cxx/eo_init.hh
parent930f39b91b12b311f40cd96b4cf2e85085b01832 (diff)
c++: Reorganized C++ binding generation
Moved all generation to a single Makefile_Cxx.am file instead of throughout the whole project. And fixed C++ generation on Elementary after elm merge.
Diffstat (limited to 'src/bindings/cxx/eo_cxx/eo_init.hh')
-rw-r--r--src/bindings/cxx/eo_cxx/eo_init.hh38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/bindings/cxx/eo_cxx/eo_init.hh b/src/bindings/cxx/eo_cxx/eo_init.hh
new file mode 100644
index 0000000000..a1cb3c2aaa
--- /dev/null
+++ b/src/bindings/cxx/eo_cxx/eo_init.hh
@@ -0,0 +1,38 @@
1
2///
3/// @file eo_init.hh
4///
5
6#ifndef EFL_CXX_EO_INIT_HH
7#define EFL_CXX_EO_INIT_HH
8
9#include "eo_ops.hh"
10
11namespace efl { namespace eo {
12
13/// @addtogroup Efl_Cxx_API
14/// @{
15
16/// @brief A simple RAII implementation to initialize and terminate
17/// the <em>EO Subsystem</em>.
18///
19struct eo_init
20{
21 /// @brief Default constructor.
22 ///
23 /// Invokes @c ::eo_init().
24 ///
25 eo_init() { detail::init(); }
26
27 /// @brief Class destructor.
28 ///
29 /// Invokes @c ::eo_shutdown().
30 ///
31 ~eo_init() { detail::shutdown(); }
32};
33
34/// @}
35
36} }
37
38#endif // EFL_CXX_EO_INIT_HH