improved lots of stuff
This commit is contained in:
30
public/tier2/fileformats/ini.h
Normal file
30
public/tier2/fileformats/ini.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef TIER2_INI_H
|
||||
#define TIER2_INI_H
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/utlstring.h"
|
||||
|
||||
abstract_class IINISection
|
||||
{
|
||||
public:
|
||||
virtual bool GetBoolValue( const char *szKeyName ) = 0;
|
||||
virtual int GetIntValue( const char *szKeyName ) = 0;
|
||||
virtual const char *GetStringValue( const char *szKeyName ) = 0;
|
||||
virtual CUtlString GetUTLStringValue( const char *szKeyName ) = 0;
|
||||
};
|
||||
|
||||
abstract_class IINIFile
|
||||
{
|
||||
public:
|
||||
virtual void GetSection( const char *szSectionName ) = 0;
|
||||
};
|
||||
|
||||
abstract_class IINIManager
|
||||
{
|
||||
public:
|
||||
virtual IINIFile *ReadString( const char *psz ) = 0;
|
||||
};
|
||||
|
||||
IINIManager *INIManager();
|
||||
|
||||
#endif
|
||||
0
public/tier2/fileformats/json.h
Normal file
0
public/tier2/fileformats/json.h
Normal file
Reference in New Issue
Block a user