Files
cool-source-archive/engine/host_phonehome.h
Totterynine 4b952b0e4e init
2021-09-13 15:31:53 +05:00

34 lines
653 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef HOST_PHONEHOME_H
#define HOST_PHONEHOME_H
#ifdef _WIN32
#pragma once
#endif
abstract_class IPhoneHome
{
public:
enum
{
PHONE_MSG_UNKNOWN = 0,
PHONE_MSG_ENGINESTART,
PHONE_MSG_ENGINEEND,
PHONE_MSG_MAPSTART,
PHONE_MSG_MAPEND
};
virtual void Init( void ) = 0;
virtual void Shutdown() = 0;
virtual void Message( byte msgtype, char const *mapname ) = 0;
virtual bool IsExternalBuild() = 0;
};
extern IPhoneHome *phonehome;
#endif // HOST_PHONEHOME_H