mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Added preprocessor exclusion for linux
This commit is contained in:
parent
f9ee123a05
commit
56b4e6a7c7
14 changed files with 127 additions and 22 deletions
|
|
@ -39,6 +39,8 @@ struct Friend_Less
|
|||
}
|
||||
};
|
||||
|
||||
#ifdef STEAM_WIN32
|
||||
|
||||
class Steam_Overlay
|
||||
{
|
||||
Settings* settings;
|
||||
|
|
@ -117,4 +119,39 @@ public:
|
|||
void FriendDisconnect(Friend _friend);
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
class Steam_Overlay
|
||||
{
|
||||
public:
|
||||
Steam_Overlay(Settings* settings, SteamCallResults* callback_results, SteamCallBacks* callbacks, RunEveryRunCB* run_every_runcb, Networking *network);
|
||||
~Steam_Overlay();
|
||||
|
||||
bool Ready() const { return false: }
|
||||
|
||||
bool NeedPresent() const { return false; }
|
||||
|
||||
void SetNotificationPosition(ENotificationPosition eNotificationPosition) {}
|
||||
|
||||
void SetNotificationInset(int nHorizontalInset, int nVerticalInset) {}
|
||||
void SetupOverlay() {}
|
||||
|
||||
void HookReady(void* hWnd) {}
|
||||
|
||||
void OverlayProc(int width, int height) {}
|
||||
|
||||
void OpenOverlayInvite(CSteamID lobbyId) {}
|
||||
void OpenOverlay(const char* pchDialog) {}
|
||||
|
||||
void ShowOverlay(bool state) {}
|
||||
|
||||
void SetLobbyInvite(Friend friendId, uint64 lobbyId) {}
|
||||
void SetRichInvite(Friend friendId, const char* connect_str) {}
|
||||
|
||||
void FriendConnect(Friend _friend) {}
|
||||
void FriendDisconnect(Friend _friend) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif//__INCLUDED_STEAM_OVERLAY_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue