summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eldbus_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-01-18 22:25:02 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-01-18 22:47:04 -0200
commita1f2db255b22052050baf0c04bb72146b22a6e99 (patch)
tree8499c057a7a0054f75fe3ab4719b2cc3659949d5 /src/bindings/cxx/eldbus_cxx
parent7f148feea8275d4ae3a366e5aead8170498089a6 (diff)
cxx: Modify how to generate C++ headers and allow cyclic dependencies
Allow cyclic dependencies in generated C++ headers by changing order of includes and creating forward declarations.
Diffstat (limited to 'src/bindings/cxx/eldbus_cxx')
-rw-r--r--src/bindings/cxx/eldbus_cxx/Eldbus_Model.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bindings/cxx/eldbus_cxx/Eldbus_Model.hh b/src/bindings/cxx/eldbus_cxx/Eldbus_Model.hh
new file mode 100644
index 0000000..f2aa9e1
--- /dev/null
+++ b/src/bindings/cxx/eldbus_cxx/Eldbus_Model.hh
@@ -0,0 +1,12 @@
1#ifndef EFL_CXX_ELDBUS_MODEL_HH
2#define EFL_CXX_ELDBUS_MODEL_HH
3
4#include <Eldbus_Model.h>
5
6#ifdef EFL_BETA_API_SUPPORT
7
8#include <Eldbus_Model.eo.hh>
9
10#endif
11#endif
12