Molybden API
Loading...
Searching...
No Matches
network.hpp
1// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_NETWORK_HPP
6#define MOLYBDEN_NETWORK_HPP
7
8#include <memory>
9
10#include "molybden/network/network_events.hpp"
11#include "molybden/network/network_delegates.hpp"
12
13namespace molybden {
14
15class Profile;
16class HttpAuthPrefs;
17
21class Network : public NetworkEvents, public NetworkDelegates {
22 public:
26 virtual std::shared_ptr<Profile> profile() = 0;
27
31 virtual std::shared_ptr<HttpAuthPrefs> httpAuthPreferences() = 0;
32};
33
34} // namespace molybden
35
36#endif // MOLYBDEN_NETWORK_HPP
A class that contains all network delegates.
Definition network_delegates.hpp:398
A class that contains all network events.
Definition network_events.hpp:190
Provides access to the network-level functionality.
Definition network.hpp:21
virtual std::shared_ptr< HttpAuthPrefs > httpAuthPreferences()=0
Returns the HTTP authorization preferences service.
virtual std::shared_ptr< Profile > profile()=0
The profile of this network service.