summaryrefslogtreecommitdiff
path: root/include/svx/databaselocationinput.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/databaselocationinput.hxx')
-rw-r--r--include/svx/databaselocationinput.hxx45
1 files changed, 0 insertions, 45 deletions
diff --git a/include/svx/databaselocationinput.hxx b/include/svx/databaselocationinput.hxx
index 3608bc03e766..22bb6e5d7bd1 100644
--- a/include/svx/databaselocationinput.hxx
+++ b/include/svx/databaselocationinput.hxx
@@ -78,53 +78,8 @@ namespace svx
::std::unique_ptr< DatabaseLocationInputController_Impl >
m_pImpl;
};
-
- //= SvxDatabaseLocationInputController
- class SvxDatabaseLocationInputController_Impl;
- /** helper class to control controls needed to input a database location
-
- If you allow, in your dialog, to save a database document, then you usually
- have a OFileURLControl for inputting the actual location, and a push button
- to browse for a location.
-
- This helper class controls such two UI elements.
- */
- class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxDatabaseLocationInputController
- {
- public:
- SvxDatabaseLocationInputController(
- const css::uno::Reference<css::uno::XComponentContext>& _rContext,
- ::svt::OFileURLControl& _rLocationInput,
- PushButton& _rBrowseButton
- );
- ~SvxDatabaseLocationInputController();
-
- /** sets the given URL at the input control, after translating it into a system path
- */
- void setURL( const OUString& _rURL );
-
- /** returns the current database location, in form of a URL (not a system path)
- */
- OUString getURL() const;
-
- /** prepares committing the database location entered in the input field
-
- Effectively, this method checks whether the file in the location already
- exists, and if so, it asks the user whether to overwrite it.
-
- If the method is called multiple times, this check only happens when the location
- changed since the last call.
- */
- bool prepareCommit();
-
- private:
- ::std::unique_ptr< SvxDatabaseLocationInputController_Impl >
- m_pImpl;
- };
-
}
-
#endif // INCLUDED_SVX_DATABASELOCATIONINPUT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */