Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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
11 :
12 : #include <map>
13 : #include <string>
14 :
15 : #include <rtl/ustring.hxx>
16 : #include <tools/urlobj.hxx>
17 :
18 : namespace cmis
19 : {
20 0 : class URL
21 : {
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;
29 :
30 : public:
31 : URL( OUString const & urlStr );
32 :
33 0 : OUString& getObjectPath( ) { return m_sPath; }
34 0 : OUString& getObjectId( ) { return m_sId; }
35 0 : OUString& getBindingUrl( ) { return m_sBindingUrl; }
36 0 : OUString& getRepositoryId( ) { return m_sRepositoryId; }
37 0 : OUString& getUsername( ) { return m_sUser; }
38 0 : OUString& getPassword( ) { return m_sPass; }
39 : void setObjectPath( const OUString& sPath );
40 : void setObjectId( const OUString& sId );
41 :
42 : OUString asString( );
43 : };
44 : }
45 :
46 : #endif
47 :
48 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|