summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Kanchev <kanchev@itestra.com>2013-01-14 16:27:15 +0100
committerAleksandar Kanchev <kanchev@itestra.com>2013-01-14 16:27:15 +0100
commita54989d2fac83b6fd1f2fef8a5ea6259a2d27393 (patch)
tree5be122d88eb6fa4b98551e78317fce3990d71521
parent6294df25b26ce1aa7403791c10f388a8a18c20f7 (diff)
downloadgenivi-common-api-runtime-a54989d2fac83b6fd1f2fef8a5ea6259a2d27393.tar.gz
org.genivi.commonapi.core: fix interface proxy
-rw-r--r--org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend
index df8ab54..0acc77c 100644
--- a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend
+++ b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend
@@ -100,6 +100,7 @@ class FInterfaceProxyGenerator {
#include "«fInterface.proxyBaseHeaderFile»"
«IF fInterface.hasAttributes»
#include <CommonAPI/AttributeExtension.h>
+ #include <CommonAPI/Factory.h>
«ENDIF»
«fInterface.model.generateNamespaceBeginDeclaration»
@@ -227,7 +228,8 @@ class FInterfaceProxyGenerator {
}
«fInterface.model.generateNamespaceEndDeclaration»
-
+
+ «IF fInterface.hasAttributes»
namespace CommonAPI {
template<template<typename > class _AttributeExtension>
struct DefaultAttributeProxyFactoryHelper<«fInterface.model.generateCppNamespace»«fInterface.proxyClassName»,
@@ -237,6 +239,7 @@ class FInterfaceProxyGenerator {
> class_t;
};
}
+ «ENDIF»
#endif // «fInterface.defineName»_PROXY_H_