LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
coreproxyholder.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
12
13namespace LC::Util
14{
16 {
18
19 static void Set (ICoreProxy_ptr proxy)
20 {
21 Proxy_ = std::move (proxy);
22 }
23
25 {
26 return Proxy_;
27 }
28 };
29}
std::shared_ptr< ICoreProxy > ICoreProxy_ptr
Definition: icoreproxy.h:181
static ICoreProxy_ptr Get()
static void Set(ICoreProxy_ptr proxy)
static ICoreProxy_ptr Proxy_