Counter Strike : Global Offensive Source Code
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.
 
 
 
 
 
 

33 lines
666 B

//========= Copyright © 1996-2005, 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