Make the object inherits the 'raw' class
[src/app-framework-binder.git] / include / afb / c++ / binding-object.hpp
index 042db61..307189b 100644 (file)
@@ -17,7 +17,7 @@
  * limitations under the License.
  */
 
-#include "../afb-binding.h"
+#include <afb/c++/binding-wrap.hpp>
 #include <cassert>
 #include <string>
 
@@ -49,7 +49,7 @@ namespace afb
 
        /**
         * @brief Default Api's traits implementation.
-        * @tparam TApi The Api's concrete class. 
+        * @tparam TApi The Api's concrete class.
         */
        template <typename TApi>
        struct ApiTraits
@@ -199,6 +199,7 @@ namespace afb
                typename TTraits = ApiTraits<TApi>
        >
        class base_api_t
+               : public api
        {
                friend TTraits;