diff options
Diffstat (limited to 'unoidl/source/sourceprovider-scanner.hxx')
-rw-r--r-- | unoidl/source/sourceprovider-scanner.hxx | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/unoidl/source/sourceprovider-scanner.hxx b/unoidl/source/sourceprovider-scanner.hxx index 8a79d3172d6d..0c08a13208d0 100644 --- a/unoidl/source/sourceprovider-scanner.hxx +++ b/unoidl/source/sourceprovider-scanner.hxx @@ -156,14 +156,43 @@ class SourceProviderSingleInterfaceBasedServiceEntityPad: public SourceProviderEntityPad { public: + struct Constructor { + struct Parameter { + Parameter( + rtl::OUString const & theName, + SourceProviderType const & theType, bool theRest): + name(theName), type(theType), rest(theRest) + {} + + rtl::OUString name; + + SourceProviderType type; + + bool rest; + }; + + Constructor( + rtl::OUString const & theName, + std::vector< rtl::OUString > const & theAnnotations): + name(theName), annotations(theAnnotations) + {} + + rtl::OUString const name; + + std::vector< Parameter > parameters; + + std::vector< rtl::OUString > exceptions; + + std::vector< rtl::OUString > const annotations; + }; + explicit SourceProviderSingleInterfaceBasedServiceEntityPad( bool published, OUString const & theBase): SourceProviderEntityPad(published), base(theBase) {} OUString const base; - std::vector<unoidl::SingleInterfaceBasedServiceEntity::Constructor> - constructors; + std::vector<Constructor> constructors; private: virtual ~SourceProviderSingleInterfaceBasedServiceEntityPad() throw () {} |