40 #ifndef _RSO_INTERFACE_2_H
41 #define _RSO_INTERFACE_2_H
68 typedef unsigned int ResourceHandle;
74 using RSOInterface1::SetResource;
75 using RSOInterface1::GetResource;
84 virtual ResourceHandle CreateResourceHandle(
const char *resourceName) = 0;
89 virtual void ReleaseResourceHandle(ResourceHandle resourceHandle) = 0;
94 virtual bool IsResourceHandleValid(ResourceHandle resourceHandle) = 0;
99 virtual void SetResource(ResourceHandle resourceHandle,
const char *resourceVal) = 0;
104 virtual const char *GetResource(ResourceHandle resourceHandle) = 0;
109 virtual void SetIntResource(
const char *resourceName,
long resourceVal) = 0;
114 virtual long GetIntResource(
const char *resourceName) = 0;
119 virtual void SetIntResource(ResourceHandle handle,
long resourceVal) = 0;
124 virtual long GetIntResource(ResourceHandle resourceHandle) = 0;
129 virtual void SetFloatResource(
const char *resourceName,
double resourceVal) = 0;
134 virtual double GetFloatResource(
const char *resourceName) = 0;
139 virtual void SetFloatResource(ResourceHandle handle,
double resourceVal) = 0;
144 virtual double GetFloatResource(ResourceHandle resourceHandle) = 0;
Defines the RSO interface, which provides a generic way of accessing RSOs and other content...
Definition: rso_interface_1.h:63
Definition: rso_interface_2.h:62
Definition: bmpimage.h:46