LibreOffice Module shell (master) 1
wininetbackend.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_SHELL_SOURCE_BACKENDS_WININETBE_WININETBACKEND_HXX
21#define INCLUDED_SHELL_SOURCE_BACKENDS_WININETBE_WININETBACKEND_HXX
22
23#include <com/sun/star/beans/Optional.hpp>
24#include <com/sun/star/beans/XPropertySet.hpp>
25#include <com/sun/star/lang/XServiceInfo.hpp>
27
28namespace uno = css::uno ;
29namespace lang = css::lang ;
30
31class WinInetBackend : public ::cppu::WeakImplHelper <
32 css::beans::XPropertySet,
33 lang::XServiceInfo > {
34
35 public:
36
37 // XServiceInfo
38 virtual OUString SAL_CALL
39 getImplementationName( ) override;
40
41 virtual sal_Bool SAL_CALL
42 supportsService( const OUString& aServiceName ) override;
43
44 virtual uno::Sequence<OUString> SAL_CALL
45 getSupportedServiceNames( ) override;
46
47 // XPropertySet
48 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
50 { return css::uno::Reference< css::beans::XPropertySetInfo >(); }
51
52 virtual void SAL_CALL setPropertyValue(
53 OUString const &, css::uno::Any const &) override;
54
55 virtual css::uno::Any SAL_CALL getPropertyValue(
56 OUString const & PropertyName) override;
57
58 virtual void SAL_CALL addPropertyChangeListener(
59 OUString const &,
60 css::uno::Reference< css::beans::XPropertyChangeListener > const &) override
61 {}
62
63 virtual void SAL_CALL removePropertyChangeListener(
64 OUString const &,
65 css::uno::Reference< css::beans::XPropertyChangeListener > const &) override
66 {}
67
68 virtual void SAL_CALL addVetoableChangeListener(
69 OUString const &,
70 css::uno::Reference< css::beans::XVetoableChangeListener > const &) override
71 {}
72
73 virtual void SAL_CALL removeVetoableChangeListener(
74 OUString const &,
75 css::uno::Reference< css::beans::XVetoableChangeListener > const &) override
76 {}
77
84
86 ~WinInetBackend() override;
87
88 private:
89 css::beans::Optional< css::uno::Any >
91 css::beans::Optional< css::uno::Any >
93 css::beans::Optional< css::uno::Any >
95 css::beans::Optional< css::uno::Any >
97 css::beans::Optional< css::uno::Any >
99 css::beans::Optional< css::uno::Any >
101 css::beans::Optional< css::uno::Any >
103 css::beans::Optional< css::uno::Any >
105} ;
106
107
108#endif // INCLUDED_SHELL_SOURCE_BACKENDS_WININETBE_WININETBACKEND_HXX
109
110/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void SAL_CALL removeVetoableChangeListener(OUString const &, css::uno::Reference< css::beans::XVetoableChangeListener > const &) override
~WinInetBackend() override
Destructor.
css::beans::Optional< css::uno::Any > valueFtpProxyPort_
css::beans::Optional< css::uno::Any > valueHttpsProxyPort_
virtual void SAL_CALL removePropertyChangeListener(OUString const &, css::uno::Reference< css::beans::XPropertyChangeListener > const &) override
WinInetBackend()
Service constructor from a service factory.
virtual void SAL_CALL setPropertyValue(OUString const &, css::uno::Any const &) override
virtual void SAL_CALL addVetoableChangeListener(OUString const &, css::uno::Reference< css::beans::XVetoableChangeListener > const &) override
virtual css::uno::Any SAL_CALL getPropertyValue(OUString const &PropertyName) override
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::beans::Optional< css::uno::Any > valueFtpProxyName_
css::beans::Optional< css::uno::Any > valueNoProxy_
virtual sal_Bool SAL_CALL supportsService(const OUString &aServiceName) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual OUString SAL_CALL getImplementationName() override
css::beans::Optional< css::uno::Any > valueHttpProxyPort_
virtual void SAL_CALL addPropertyChangeListener(OUString const &, css::uno::Reference< css::beans::XPropertyChangeListener > const &) override
css::beans::Optional< css::uno::Any > valueHttpProxyName_
css::beans::Optional< css::uno::Any > valueHttpsProxyName_
css::beans::Optional< css::uno::Any > valueProxyType_
unsigned char sal_Bool