summaryrefslogtreecommitdiff
path: root/include/unoidl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-23 12:30:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-23 13:44:03 +0200
commitd0322208bcbb35b9149b508ac2bffa667c38696f (patch)
treef324a25f9688163c9ae5d34d02aea1454e659010 /include/unoidl
parent8928a4f6dcacb1357d3b9b1a7a29cc62fede87d9 (diff)
Combine unoidl::loadProvider and unoidl::Manager::addProvider
Change-Id: I1240656cc2a4d713c838eb80fa90ce3485aad614
Diffstat (limited to 'include/unoidl')
-rw-r--r--include/unoidl/unoidl.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx
index 117ac8710764..9694be73a33d 100644
--- a/include/unoidl/unoidl.hxx
+++ b/include/unoidl/unoidl.hxx
@@ -684,7 +684,8 @@ class LO_DLLPUBLIC_UNOIDL Manager: public salhelper::SimpleReferenceObject {
public:
Manager() {}
- void addProvider(rtl::Reference< Provider > const & provider);
+ // throws FileFormatException, NoSuchFileException:
+ rtl::Reference< Provider > addProvider(rtl::OUString const & uri);
// throws FileFormatException:
rtl::Reference< Entity > findEntity(rtl::OUString const & name) const;
@@ -695,14 +696,13 @@ public:
private:
virtual SAL_DLLPRIVATE ~Manager() throw ();
+ SAL_DLLPRIVATE rtl::Reference< Provider > loadProvider(
+ rtl::OUString const & uri);
+
mutable osl::Mutex mutex_;
std::vector< rtl::Reference< Provider > > providers_;
};
-// throws FileFormatException, NoSuchFileException:
-LO_DLLPUBLIC_UNOIDL rtl::Reference< Provider > loadProvider(
- rtl::Reference< Manager > const & manager, rtl::OUString const & uri);
-
}
#endif