blob: 88e600f9097f9455c066f84f318de0e4d7c8a120 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef IRESPONSE_H
#define IRESPONSE_H
#ifdef _WIN32
#pragma once
#endif
//-----------------------------------------------------------------------------
// Purpose: Callback interface for server updates
//-----------------------------------------------------------------------------
class IResponse
{
public:
// called when the server has successfully responded
virtual void ServerResponded() = 0;
// called when a server response has timed out
virtual void ServerFailedToRespond() = 0;
};
#endif // IRESPONSE_H
|