summaryrefslogtreecommitdiff
path: root/include/unoidl/unoidl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/unoidl/unoidl.hxx')
-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