Make the object inherits the 'raw' class
[src/app-framework-binder.git] / include / afb / c++ / binding-object.hpp
index 6534136..307189b 100644 (file)
@@ -17,9 +17,7 @@
  * limitations under the License.
  */
 
-extern "C" {
-#include <afb/afb-binding.h>
-}
+#include <afb/c++/binding-wrap.hpp>
 #include <cassert>
 #include <string>
 
@@ -201,6 +199,7 @@ namespace afb
                typename TTraits = ApiTraits<TApi>
        >
        class base_api_t
+               : public api
        {
                friend TTraits;