LibreOffice
LibreOffice 4.1 SDK C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
cppuhelper
unourl.hxx
Go to the documentation of this file.
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
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#ifndef INCLUDED_CPPUHELPER_UNOURL_HXX
21
#define INCLUDED_CPPUHELPER_UNOURL_HXX
22
23
#include <memory>
24
#include "
cppuhelperdllapi.h
"
25
26
namespace
rtl {
class
OUString; }
27
28
namespace
cppu {
29
37
class
CPPUHELPER_DLLPUBLIC
UnoUrlDescriptor
38
{
39
public
:
40
class
Impl;
41
50
explicit
UnoUrlDescriptor
(
rtl::OUString
const
& rDescriptor);
51
53
explicit
UnoUrlDescriptor
(std::auto_ptr< Impl > & rImpl);
55
56
UnoUrlDescriptor
(
UnoUrlDescriptor
const
& rOther);
57
58
~
UnoUrlDescriptor
();
59
60
UnoUrlDescriptor
& operator =(
UnoUrlDescriptor
const
& rOther);
61
69
rtl::OUString
const
& getDescriptor()
const
;
70
77
rtl::OUString
const
& getName()
const
;
78
87
bool
hasParameter(
rtl::OUString
const
& rKey)
const
;
88
98
rtl::OUString
getParameter(
rtl::OUString
const
& rKey)
const
;
99
100
private
:
101
std::auto_ptr< Impl > m_xImpl;
102
};
103
132
class
CPPUHELPER_DLLPUBLIC
UnoUrl
133
{
134
public
:
143
explicit
UnoUrl
(
rtl::OUString
const
& rUrl);
144
145
UnoUrl
(
UnoUrl
const
& rOther);
146
147
~
UnoUrl
();
148
149
UnoUrl
& operator =(
UnoUrl
const
& rOther);
150
157
UnoUrlDescriptor
const
& getConnection()
const
;
158
165
UnoUrlDescriptor
const
& getProtocol()
const
;
166
173
rtl::OUString
const
& getObjectName()
const
;
174
175
private
:
176
class
Impl;
177
178
std::auto_ptr< Impl > m_xImpl;
179
};
180
181
}
182
183
#endif // INCLUDED_RTL_UNOURL_HXX
184
185
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Tue Dec 31 2013 00:00:25 for LibreOffice by
1.8.1.2