diff options
Diffstat (limited to 'src/test/commonapi/tests/TestInterfaceProxy.h')
-rw-r--r-- | src/test/commonapi/tests/TestInterfaceProxy.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/commonapi/tests/TestInterfaceProxy.h b/src/test/commonapi/tests/TestInterfaceProxy.h index 13ac60c..52491e2 100644 --- a/src/test/commonapi/tests/TestInterfaceProxy.h +++ b/src/test/commonapi/tests/TestInterfaceProxy.h @@ -302,6 +302,12 @@ public: std::shared_ptr<TestInterfaceProxyBase> delegate_; }; +#ifdef WIN32 + typedef TestInterfaceProxy<CommonAPI::WINDummyAttributeExtension<CommonAPI::WINDummyAttribute>> TestInterfaceProxyDefault; +#else + typedef TestInterfaceProxy<> TestInterfaceProxyDefault; +#endif + namespace TestInterfaceExtensions { template <template <typename > class _ExtensionType> class TestPredefinedTypeAttributeAttributeExtension { @@ -310,6 +316,9 @@ namespace TestInterfaceExtensions { static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<TestInterfaceProxyBase::TestPredefinedTypeAttributeAttribute>, extension_type>::value, "Not CommonAPI Attribute Extension!"); + #ifdef WIN32 + TestPredefinedTypeAttributeAttributeExtension() {} + #endif TestPredefinedTypeAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestPredefinedTypeAttributeAttribute()) { } @@ -329,6 +338,9 @@ namespace TestInterfaceExtensions { static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<TestInterfaceProxyBase::TestDerivedStructAttributeAttribute>, extension_type>::value, "Not CommonAPI Attribute Extension!"); + #ifdef WIN32 + TestDerivedStructAttributeAttributeExtension() {} + #endif TestDerivedStructAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestDerivedStructAttributeAttribute()) { } @@ -348,6 +360,9 @@ namespace TestInterfaceExtensions { static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<TestInterfaceProxyBase::TestDerivedArrayAttributeAttribute>, extension_type>::value, "Not CommonAPI Attribute Extension!"); + #ifdef WIN32 + TestDerivedArrayAttributeAttributeExtension() {} + #endif TestDerivedArrayAttributeAttributeExtension(TestInterfaceProxyBase& proxy): attributeExtension_(proxy.getTestDerivedArrayAttributeAttribute()) { } |