blob: f07aee30a1840869b2fca056684a95a2344905e8 [file] [log] [blame]
Brian Silverman4e662aa2022-05-11 23:10:19 -07001// Copyright 2021 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9#pragma once
10
11// This is a simulation of _something like_ the way the steam API works.
12
13class IEngine {
14public:
15 virtual int ConnectToGlobalUser(int) = 0;
16 virtual void DisconnectGlobalUser(int user_id) = 0;
17};
18
19void* GetSteamEngine(); // return an IEngine*