1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-30 19:52:17 +01:00

Remove unused IsRemotePrintingAvailable function

This commit is contained in:
Nick Hastings 2023-04-01 23:00:03 -04:00
parent e5f5a8ce6f
commit c0bd8e3b87
5 changed files with 0 additions and 19 deletions

View File

@ -786,11 +786,6 @@ int MetamodSource::GetGameDLLVersion()
return gamedll_version;
}
bool MetamodSource::RemotePrintingAvailable()
{
return provider->IsRemotePrintingAvailable();
}
void *MetamodSource::MetaFactory(const char *iface, int *ret, PluginId *id)
{
if (id)

View File

@ -67,7 +67,6 @@ public:
void UnregisterConCommandBase(ISmmPlugin *plugin, ConCommandBase *pCommand);
void ConPrint(const char *str);
void ConPrintf(const char *fmt, ...);
bool RemotePrintingAvailable();
void GetApiVersions(int &major, int &minor, int &plvers, int &plmin);
void GetShVersions(int &shvers, int &shimpl);
void AddListener(ISmmPlugin *plugin, IMetamodListener *pListener);

View File

@ -149,14 +149,6 @@ namespace SourceMM
*/
virtual void ConsolePrint(const char *msg) =0;
/**
* @brief Returns whether remote printing is available.
*
* @return True if remote printing is available,
* otherwise returns false.
*/
virtual bool IsRemotePrintingAvailable() =0;
/**
* @brief Prints text in the specified client's console.
*

View File

@ -55,10 +55,6 @@ IVEngineServer *engine = NULL;
IServerGameClients *gameclients = NULL;
CGlobalVars *gpGlobals = NULL;
bool BaseProvider::IsRemotePrintingAvailable()
{
return true;
}
bool BaseProvider::IsSourceEngineBuildCompatible(int build)
{

View File

@ -79,7 +79,6 @@ public: // May implement/override
virtual bool IsSourceEngineBuildCompatible(int build) override;
virtual bool LogMessage(const char *buffer) override;
virtual const char *GetCommandLineValue(const char *key, const char *defval) override;
virtual bool IsRemotePrintingAvailable() override;
virtual void DisplayError(const char *fmt, ...) override;
virtual void DisplayWarning(const char *fmt, ...) override;
virtual void DisplayDevMsg(const char* fmt, ...) override;