From 9b88a19e3597ad2e36a99fa1f66cd00ac254f21c Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 22 Jan 2017 23:21:52 +0100 Subject: [PATCH] [Steam] Delete destructors --- src/Steam/Interfaces/SteamFriends.hpp | 3 --- src/Steam/Interfaces/SteamGameServer.hpp | 3 --- src/Steam/Interfaces/SteamMasterServerUpdater.hpp | 3 --- src/Steam/Interfaces/SteamMatchmaking.hpp | 3 --- src/Steam/Interfaces/SteamNetworking.hpp | 3 --- src/Steam/Interfaces/SteamRemoteStorage.hpp | 3 --- src/Steam/Interfaces/SteamUser.hpp | 3 --- src/Steam/Interfaces/SteamUtils.hpp | 3 --- 8 files changed, 24 deletions(-) diff --git a/src/Steam/Interfaces/SteamFriends.hpp b/src/Steam/Interfaces/SteamFriends.hpp index 5f601df0..72b2aa45 100644 --- a/src/Steam/Interfaces/SteamFriends.hpp +++ b/src/Steam/Interfaces/SteamFriends.hpp @@ -4,9 +4,6 @@ namespace Steam { class Friends { - protected: - ~Friends() = default; - public: virtual const char *GetPersonaName(); virtual void SetPersonaName(const char *pchPersonaName); diff --git a/src/Steam/Interfaces/SteamGameServer.hpp b/src/Steam/Interfaces/SteamGameServer.hpp index 81fa64ce..25e43941 100644 --- a/src/Steam/Interfaces/SteamGameServer.hpp +++ b/src/Steam/Interfaces/SteamGameServer.hpp @@ -4,9 +4,6 @@ namespace Steam { class GameServer { - protected: - ~GameServer() = default; - public: virtual void LogOn(); virtual void LogOff(); diff --git a/src/Steam/Interfaces/SteamMasterServerUpdater.hpp b/src/Steam/Interfaces/SteamMasterServerUpdater.hpp index 079106d8..2c88d86d 100644 --- a/src/Steam/Interfaces/SteamMasterServerUpdater.hpp +++ b/src/Steam/Interfaces/SteamMasterServerUpdater.hpp @@ -4,9 +4,6 @@ namespace Steam { class MasterServerUpdater { - protected: - ~MasterServerUpdater() = default; - public: virtual void SetActive(bool bActive); virtual void SetHeartbeatInterval(int iHeartbeatInterval); diff --git a/src/Steam/Interfaces/SteamMatchmaking.hpp b/src/Steam/Interfaces/SteamMatchmaking.hpp index 520862d0..92b0ac5e 100644 --- a/src/Steam/Interfaces/SteamMatchmaking.hpp +++ b/src/Steam/Interfaces/SteamMatchmaking.hpp @@ -23,9 +23,6 @@ namespace Steam class Matchmaking { - protected: - ~Matchmaking() = default; - public: virtual int GetFavoriteGameCount(); virtual bool GetFavoriteGame(int iGame, unsigned int *pnAppID, unsigned int *pnIP, unsigned short *pnConnPort, unsigned short *pnQueryPort, unsigned int *punFlags, unsigned int *pRTime32LastPlayedOnServer); diff --git a/src/Steam/Interfaces/SteamNetworking.hpp b/src/Steam/Interfaces/SteamNetworking.hpp index 54326956..beea9951 100644 --- a/src/Steam/Interfaces/SteamNetworking.hpp +++ b/src/Steam/Interfaces/SteamNetworking.hpp @@ -4,9 +4,6 @@ namespace Steam { class Networking { - protected: - ~Networking() = default; - public: virtual bool SendP2PPacket(SteamID steamIDRemote, const void *pubData, unsigned int cubData, int eP2PSendType); virtual bool IsP2PPacketAvailable(unsigned int *pcubMsgSize); diff --git a/src/Steam/Interfaces/SteamRemoteStorage.hpp b/src/Steam/Interfaces/SteamRemoteStorage.hpp index eb8f96e7..6643d4ee 100644 --- a/src/Steam/Interfaces/SteamRemoteStorage.hpp +++ b/src/Steam/Interfaces/SteamRemoteStorage.hpp @@ -4,9 +4,6 @@ namespace Steam { class RemoteStorage { - protected: - ~RemoteStorage() = default; - public: virtual bool FileWrite(const char *pchFile, const void *pvData, int cubData); virtual int GetFileSize(const char *pchFile); diff --git a/src/Steam/Interfaces/SteamUser.hpp b/src/Steam/Interfaces/SteamUser.hpp index 9c70cbb4..a3c84845 100644 --- a/src/Steam/Interfaces/SteamUser.hpp +++ b/src/Steam/Interfaces/SteamUser.hpp @@ -4,9 +4,6 @@ namespace Steam { class User { - protected: - ~User() = default; - public: virtual int GetHSteamUser(); virtual bool LoggedOn(); diff --git a/src/Steam/Interfaces/SteamUtils.hpp b/src/Steam/Interfaces/SteamUtils.hpp index fe7327f9..9ea3cb8c 100644 --- a/src/Steam/Interfaces/SteamUtils.hpp +++ b/src/Steam/Interfaces/SteamUtils.hpp @@ -4,9 +4,6 @@ namespace Steam { class Utils { - protected: - ~Utils() = default; - public: virtual unsigned int GetSecondsSinceAppActive(); virtual unsigned int GetSecondsSinceComputerActive();