aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/Proxy.h
blob: f8eb1f227476f68c5b209604f777f0a911457bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "ValueBroker.h"

namespace crepe::util {

template <typename T>
class Proxy {
public:
	Proxy & operator = (const T &);
	operator const T & () const;

public:
	Proxy(ValueBroker<T> &);

private:
	ValueBroker<T> & broker;
};

}

#include "Proxy.hpp"