summaryrefslogtreecommitdiff
path: root/devtools/processgamestats/base_gamestats_parse.h
blob: 6da452addb3d5b1a17ac958cef854691b8ce8b32 (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
31
32
33
34
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
//=============================================================================

#ifndef BASE_GAMESTATS_PARSE_H
#define BASE_GAMESTATS_PARSE_H
#ifdef _WIN32
#pragma once
#endif

enum CustomDataReturnCode
{
	CUSTOMDATA_NONE = 0,
	CUSTOMDATA_FAILED,
	CUSTOMDATA_SUCCESS
};

class IMySQL;

struct ParseContext_t
{
	char const *file;
	char const *gamename;
	bool		describeonly;
	IMySQL		*mysql;
	int			skipcount;
	bool		bCustomDirectoryNotMade;
};

void ProcessPerfData( IMySQL *pSQL, time_t fileTime, char const *pGameName, char const *pPerfString );

#endif // BASE_GAMESTATS_PARSE_H