mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
16 lines
191 B
R
16 lines
191 B
R
|
#include "cvar.h"
|
||
|
|
||
|
#include "CvarString.h"
|
||
|
|
||
|
@implementation CvarString
|
||
|
-(void)setString: (string) str
|
||
|
{
|
||
|
Cvar_SetString (name, str);
|
||
|
}
|
||
|
|
||
|
-(string)value
|
||
|
{
|
||
|
return Cvar_GetString (name);
|
||
|
}
|
||
|
@end
|