Overte C++ Documentation
SteamAPIPlugin.h
1 //
2 // SteamAPIPlugin.h
3 // plugins/steamClient/src
4 //
5 // Created by Clement Brisset on 6/8/16.
6 // Copyright 2016 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 
13 #ifndef hifi_SteamAPIPlugin_h
14 #define hifi_SteamAPIPlugin_h
15 
16 #include <plugins/SteamClientPlugin.h>
17 
18 class QUrl;
19 
20 class SteamAPIPlugin : public SteamClientPlugin {
21 public:
22  bool isRunning() override;
23 
24  bool init() override;
25  void shutdown() override;
26 
27  void runCallbacks() override;
28 
29  void requestTicket(TicketRequestCallback callback) override;
30  void updateLocation(QString status, QUrl locationUrl) override;
31  void openInviteOverlay() override;
32  void joinLobby(QString lobbyId) override;
33 
34  int getSteamVRBuildID() override;
35 };
36 
37 #endif // hifi_SteamAPIPlugin_h