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.
 
 
 
 
 
 

27 lines
604 B

#pragma once
#include <QtGui/QtGui>
#include "tier0/platform.h"
#include "tier1/utlvector.h"
#include "tier1/utlstring.h"
class CQPolyStyle
{
public:
CQPolyStyle();
CQPolyStyle( QString fileName );
void LoadFile( QString fileName );
void AddToken( QString tokenName, QString tokenValue );
QString GetFinalStyle();
QString ProcessString( QString str );
private:
void IncludeFile( QString fileName );
QMap<QString,QString> m_SymbolTable;
QString m_FinalStyle;
};
inline QString PolyStyle( QString fileName )
{
CQPolyStyle s( fileName );
return s.GetFinalStyle();
}