Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / ucb / source / ucp / cmis / cmis_url.hxx
blob3ad7a5d53b245d6f80a7fa7884fac9df745152a0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9 #ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_URL_HXX
10 #define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_URL_HXX
12 #include <map>
13 #include <string>
15 #include <rtl/ustring.hxx>
16 #include <tools/urlobj.hxx>
18 namespace cmis
20 class URL
22 private:
23 OUString m_sBindingUrl;
24 OUString m_sRepositoryId;
25 OUString m_sPath;
26 OUString m_sId;
27 OUString m_sUser;
28 OUString m_sPass;
30 public:
31 URL( OUString const & urlStr );
33 OUString& getObjectPath( );
34 OUString& getObjectId( );
35 OUString& getBindingUrl( );
36 OUString& getRepositoryId( );
37 OUString& getUsername( ) { return m_sUser; }
38 OUString& getPassword( ) { return m_sPass; }
39 void setObjectPath( const OUString& sPath );
40 void setObjectId( const OUString& sId );
42 OUString asString( );
46 #endif
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */