1.26.2.1
Gameface
cohtml::IDataStorageResponse Class Referenceabstract

Response that the application should use when the data storage has been read. More...

Public Types

enum  Status { Success, Failure }
 

Public Member Functions

 IDataStorageResponse ()
 
virtual ~IDataStorageResponse ()
 
virtual void * GetSpace (unsigned long long size)=0
 Allocates space where to put the data read. More...
 
virtual void Finish (Status status)=0
 Call when the data has been read or the read failed. More...
 

Detailed Description

Response that the application should use when the data storage has been read.

Member Enumeration Documentation

◆ Status

Enumerator
Success 
Failure 

Constructor & Destructor Documentation

◆ IDataStorageResponse()

cohtml::IDataStorageResponse::IDataStorageResponse ( )

◆ ~IDataStorageResponse()

virtual cohtml::IDataStorageResponse::~IDataStorageResponse ( )
virtual

Member Function Documentation

◆ Finish()

virtual void cohtml::IDataStorageResponse::Finish ( Status  status)
pure virtual

Call when the data has been read or the read failed.

◆ GetSpace()

virtual void* cohtml::IDataStorageResponse::GetSpace ( unsigned long long  size)
pure virtual

Allocates space where to put the data read.