You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
653 B
34 lines
653 B
5 years ago
|
//========= 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
|