improved lots of stuff

This commit is contained in:
2025-08-06 00:12:36 +03:00
parent 817ed344b4
commit 5635cd1d69
27 changed files with 348 additions and 38 deletions

View 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

View File