Debian Codegraph @

shell/source/backends/wininetbe/wininetbackend.hxx

raw
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>
26 #include <cppuhelper/implbase.hxx>
27
28 namespace uno = css::uno ;
29 namespace lang = css::lang ;
30
31 class 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
49 getPropertySetInfo() override
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
78 /**
79 Service constructor from a service factory.
80
81 @param xContext component context
82 */
83 WinInetBackend();
84
85 /** Destructor */
86 ~WinInetBackend() override;
87
88 private:
89 css::beans::Optional< css::uno::Any >
90 valueProxyType_;
91 css::beans::Optional< css::uno::Any >
92 valueNoProxy_;
93 css::beans::Optional< css::uno::Any >
94 valueHttpProxyName_;
95 css::beans::Optional< css::uno::Any >
96 valueHttpProxyPort_;
97 css::beans::Optional< css::uno::Any >
98 valueHttpsProxyName_;
99 css::beans::Optional< css::uno::Any >
100 valueHttpsProxyPort_;
101 css::beans::Optional< css::uno::Any >
102 valueFtpProxyName_;
103 css::beans::Optional< css::uno::Any >
104 valueFtpProxyPort_;
105 } ;
106
107
108 #endif // INCLUDED_SHELL_SOURCE_BACKENDS_WININETBE_WININETBACKEND_HXX
109
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */