mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-04-21 21:52:06 +02:00
Add missing header include guards.
This commit is contained in:
parent
ae6e1829dd
commit
8e8355c013
33 changed files with 167 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
|
||||
#ifndef APPTICKET_H
|
||||
#define APPTICKET_H
|
||||
|
||||
struct AppTicketV1
|
||||
{
|
||||
// Total ticket size - 16
|
||||
|
@ -298,3 +301,5 @@ public:
|
|||
return buffer;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // APPTICKET_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_HTMLSURFACE_H
|
||||
#define INCLUDED_STEAM_HTMLSURFACE_H
|
||||
|
||||
class Steam_HTMLsurface :
|
||||
public ISteamHTMLSurface001,
|
||||
public ISteamHTMLSurface002,
|
||||
|
@ -337,3 +340,5 @@ void FileLoadDialogResponse( HHTMLBrowser unBrowserHandle, const char **pchSelec
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_HTMLSURFACE_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_APPLIST_H
|
||||
#define INCLUDED_STEAM_APPLIST_H
|
||||
|
||||
class Steam_Applist : public ISteamAppList
|
||||
{
|
||||
public:
|
||||
|
@ -28,3 +31,5 @@ public:
|
|||
|
||||
int GetAppBuildId( AppId_t nAppID ); // return the buildid of this app, may change at any time based on backend updates to the game
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_APPLIST_H
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_APPS_H
|
||||
#define INCLUDED_STEAM_APPS_H
|
||||
|
||||
class Steam_Apps :
|
||||
public ISteamApps001,
|
||||
public ISteamApps002,
|
||||
|
@ -110,3 +113,5 @@ public:
|
|||
// set current DLC AppID being played (or 0 if none). Allows Steam to track usage of major DLC extensions
|
||||
bool SetDlcContext( AppId_t nAppID );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_APPS_H
|
||||
|
|
|
@ -53,6 +53,9 @@
|
|||
|
||||
#include "../overlay_experimental/steam_overlay.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_CLIENT_H
|
||||
#define INCLUDED_STEAM_CLIENT_H
|
||||
|
||||
enum Steam_Pipe {
|
||||
NO_USER,
|
||||
CLIENT,
|
||||
|
@ -303,3 +306,5 @@ public:
|
|||
|
||||
void DestroyAllInterfaces();
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_CLIENT_H
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_CONTROLLER_H
|
||||
#define INCLUDED_STEAM_CONTROLLER_H
|
||||
|
||||
#ifndef CONTROLLER_SUPPORT
|
||||
inline void GamepadInit(void) {}
|
||||
inline void GamepadShutdown(void) {}
|
||||
|
@ -1224,3 +1228,5 @@ void RunCallbacks()
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_CONTROLLER_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_GAME_COORDINATOR_H
|
||||
#define INCLUDED_STEAM_GAME_COORDINATOR_H
|
||||
|
||||
class Steam_Game_Coordinator :
|
||||
public ISteamGameCoordinator
|
||||
{
|
||||
|
@ -152,3 +155,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_GAME_COORDINATOR_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_GAMESEARCH_H
|
||||
#define INCLUDED_STEAM_GAMESEARCH_H
|
||||
|
||||
class Steam_Game_Search :
|
||||
public ISteamGameSearch
|
||||
{
|
||||
|
@ -213,3 +216,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_GAMESEARCH_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_GAMESERVER_H
|
||||
#define INCLUDED_STEAM_GAMESERVER_H
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Functions for authenticating users via Steam to play on a game server
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -353,3 +356,5 @@ public:
|
|||
//
|
||||
void RunCallbacks();
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_GAMESERVER_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_GAMESERVERSTATS_H
|
||||
#define INCLUDED_STEAM_GAMESERVERSTATS_H
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Functions for authenticating users via Steam to play on a game server
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -61,3 +64,5 @@ public:
|
|||
STEAM_CALL_RESULT( GSStatsStored_t )
|
||||
SteamAPICall_t StoreUserStats( CSteamID steamIDUser );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_GAMESERVERSTATS_H
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_HTTP_H
|
||||
#define INCLUDED_STEAM_HTTP_H
|
||||
|
||||
struct Steam_Http_Request {
|
||||
HTTPRequestHandle handle;
|
||||
|
@ -152,3 +154,5 @@ public:
|
|||
// Check if the reason the request failed was because we timed it out (rather than some harder failure)
|
||||
bool GetHTTPRequestWasTimedOut( HTTPRequestHandle hRequest, bool *pbWasTimedOut );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_HTTP_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h" // For SteamItemDef_t
|
||||
|
||||
#ifndef INCLUDED_STEAM_INVENTORY_H
|
||||
#define INCLUDED_STEAM_INVENTORY_H
|
||||
|
||||
struct Steam_Inventory_Requests {
|
||||
double timeout = 0.1;
|
||||
bool done = false;
|
||||
|
@ -964,3 +967,5 @@ void RunCallbacks()
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_INVENTORY_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_MASTERSERVER_UPDATER_H
|
||||
#define INCLUDED_STEAM_MASTERSERVER_UPDATER_H
|
||||
|
||||
class Steam_Masterserver_Updater :
|
||||
public ISteamMasterServerUpdater
|
||||
{
|
||||
|
@ -300,3 +303,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_MASTERSERVER_UPDATER_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_MATCHMAKING_H
|
||||
#define INCLUDED_STEAM_MATCHMAKING_H
|
||||
|
||||
#define SEND_LOBBY_RATE 5.0
|
||||
|
||||
#define PENDING_JOIN_TIMEOUT 10.0
|
||||
|
@ -1547,3 +1550,5 @@ void Callback(Common_Message *msg)
|
|||
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_MATCHMAKING_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_MATCHMAKING_SERVERS_H
|
||||
#define INCLUDED_STEAM_MATCHMAKING_SERVERS_H
|
||||
|
||||
#define SERVER_TIMEOUT 10.0
|
||||
#define DIRECT_IP_DELAY 0.05
|
||||
|
||||
|
@ -223,3 +226,5 @@ public:
|
|||
void Callback(Common_Message *msg);
|
||||
void server_details(Gameserver *g, gameserveritem_t *server);
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_MATCHMAKING_SERVERS_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_MUSIC_H
|
||||
#define INCLUDED_STEAM_MUSIC_H
|
||||
|
||||
class Steam_Music : public ISteamMusic
|
||||
{
|
||||
int playing;
|
||||
|
@ -41,3 +44,5 @@ public:
|
|||
void SetVolume( float flVolume );
|
||||
float GetVolume();
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_MUSIC_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_MUSICREMOTE_H
|
||||
#define INCLUDED_STEAM_MUSICREMOTE_H
|
||||
|
||||
class Steam_MusicRemote : public ISteamMusicRemote
|
||||
{
|
||||
public:
|
||||
|
@ -65,3 +68,5 @@ public:
|
|||
bool SetCurrentPlaylistEntry( int nID );
|
||||
bool PlaylistDidChange();
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_MUSICREMOTE_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_NETWORKING_H
|
||||
#define INCLUDED_STEAM_NETWORKING_H
|
||||
|
||||
//packet timeout in seconds for non connections
|
||||
#define ORPHANED_PACKET_TIMEOUT (20)
|
||||
#define NEW_CONNECTION_TIMEOUT (20.0)
|
||||
|
@ -1026,3 +1029,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_NETWORKING_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_NETWORKING_MESSAGES
|
||||
#define INCLUDED_STEAM_NETWORKING_MESSAGES
|
||||
|
||||
#define NETWORKING_MESSAGES_TIMEOUT 30.0
|
||||
|
||||
struct Steam_Message_Connection {
|
||||
|
@ -444,3 +447,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_NETWORKING_MESSAGES
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_NETWORKING_SOCKETS_H
|
||||
#define INCLUDED_STEAM_NETWORKING_SOCKETS_H
|
||||
|
||||
struct Listen_Socket {
|
||||
HSteamListenSocket socket_id;
|
||||
|
||||
|
@ -2110,3 +2113,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_NETWORKING_SOCKETS_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_NETWORKING_SOCKETS_SERIALIZED_H
|
||||
#define INCLUDED_STEAM_NETWORKING_SOCKETS_SERIALIZED_H
|
||||
|
||||
class Steam_Networking_Sockets_Serialized :
|
||||
public ISteamNetworkingSocketsSerialized002,
|
||||
public ISteamNetworkingSocketsSerialized003,
|
||||
|
@ -154,3 +157,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_NETWORKING_SOCKETS_SERIALIZED_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_NETWORKING_UTILS_H
|
||||
#define INCLUDED_STEAM_NETWORKING_UTILS_H
|
||||
|
||||
class Steam_Networking_Utils :
|
||||
public ISteamNetworkingUtils001,
|
||||
public ISteamNetworkingUtils002,
|
||||
|
@ -749,3 +752,5 @@ void Callback(Common_Message *msg)
|
|||
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_NETWORKING_UTILS_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_PARENTAL_H
|
||||
#define INCLUDED_STEAM_PARENTAL_H
|
||||
|
||||
class Steam_Parental : public ISteamParentalSettings
|
||||
{
|
||||
public:
|
||||
|
@ -29,3 +32,5 @@ public:
|
|||
bool BIsFeatureBlocked( EParentalFeature eFeature );
|
||||
bool BIsFeatureInBlockList( EParentalFeature eFeature );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_PARENTAL_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_PARTIES_H
|
||||
#define INCLUDED_STEAM_PARTIES_H
|
||||
|
||||
class Steam_Parties :
|
||||
public ISteamParties
|
||||
{
|
||||
|
@ -192,3 +195,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_PARTIES_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_REMOTE_STORAGE_H
|
||||
#define INCLUDED_STEAM_REMOTE_STORAGE_H
|
||||
|
||||
struct Async_Read {
|
||||
SteamAPICall_t api_call;
|
||||
uint32 offset;
|
||||
|
@ -791,3 +794,5 @@ bool EndFileWriteBatch()
|
|||
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_REMOTE_STORAGE_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_REMOTEPLAY_H
|
||||
#define INCLUDED_STEAM_REMOTEPLAY_H
|
||||
|
||||
class Steam_RemotePlay :
|
||||
public ISteamRemotePlay
|
||||
{
|
||||
|
@ -111,3 +114,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_REMOTEPLAY_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_SCREENSHOTS_H
|
||||
#define INCLUDED_STEAM_SCREENSHOTS_H
|
||||
|
||||
struct screenshot_infos_t
|
||||
{
|
||||
std::string screenshot_name;
|
||||
|
@ -73,3 +76,5 @@ public:
|
|||
// JPEG, TGA, and PNG formats are supported.
|
||||
ScreenshotHandle AddVRScreenshotToLibrary( EVRScreenshotType eType, const char *pchFilename, const char *pchVRFilename );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_SCREENSHOTS_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_TV_H
|
||||
#define INCLUDED_STEAM_TV_H
|
||||
|
||||
class Steam_TV :
|
||||
public ISteamTV
|
||||
{
|
||||
|
@ -122,3 +125,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_TV_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_UGC_H
|
||||
#define INCLUDED_STEAM_UGC_H
|
||||
|
||||
struct UGC_query {
|
||||
UGCQueryHandle_t handle;
|
||||
std::set<PublishedFileId_t> return_only;
|
||||
|
@ -903,3 +906,5 @@ SteamAPICall_t GetWorkshopEULAStatus()
|
|||
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_UGC_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_UNIFIED_MESSAGES_H
|
||||
#define INCLUDED_STEAM_UNIFIED_MESSAGES_H
|
||||
|
||||
class Steam_Unified_Messages :
|
||||
public ISteamUnifiedMessages
|
||||
{
|
||||
|
@ -121,3 +124,5 @@ void Callback(Common_Message *msg)
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_UNIFIED_MESSAGES_H
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
|
||||
#include "appticket.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_USER_H
|
||||
#define INCLUDED_STEAM_USER_H
|
||||
|
||||
class Steam_User :
|
||||
public ISteamUser009,
|
||||
public ISteamUser010,
|
||||
|
@ -532,3 +535,5 @@ bool BSetDurationControlOnlineState( EDurationControlOnlineState eNewState )
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_USER_H
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
#include "local_storage.h"
|
||||
#include "../overlay_experimental/steam_overlay.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_UTILS_H
|
||||
#define INCLUDED_STEAM_UTILS_H
|
||||
|
||||
static std::chrono::time_point<std::chrono::steady_clock> app_initialized_time = std::chrono::steady_clock::now();
|
||||
|
||||
|
||||
|
@ -442,3 +445,5 @@ bool DismissFloatingGamepadTextInput()
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_UTILS_H
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "base.h"
|
||||
|
||||
#ifndef INCLUDED_STEAM_VIDEO_H
|
||||
#define INCLUDED_STEAM_VIDEO_H
|
||||
|
||||
class Steam_Video : public ISteamVideo
|
||||
{
|
||||
public:
|
||||
|
@ -32,3 +35,5 @@ public:
|
|||
void GetOPFSettings( AppId_t unVideoAppID );
|
||||
bool GetOPFStringForApp( AppId_t unVideoAppID, char *pchBuffer, int32 *pnBufferSize );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_STEAM_VIDEO_H
|
||||
|
|
Loading…
Add table
Reference in a new issue