ZFFramework
 
Loading...
Searching...
No Matches
ZFPathType_res.h File Reference

ZFPathInfo impl as res file More...

#include "ZFFile.h"

Go to the source code of this file.

Functions

const zfstringZFPathType_res ()
 see ZFPathInfo
 
ZFInput ZFInputForRes (const zfstring &resFilePath)
 util to create a resource file input callback, see ZFResOpen for what resource file is
 

Detailed Description

ZFPathInfo impl as res file

Function Documentation

◆ ZFPathType_res()

const zfstring & ZFPathType_res ( )
inline

see ZFPathInfo

pathData is the res path

Note
path must be well formed, use ZFPathFormat if necessary

◆ ZFInputForRes()

ZFInput ZFInputForRes ( const zfstring & resFilePath)
inline

util to create a resource file input callback, see ZFResOpen for what resource file is

param:

  • (const zfchar *)resFilePath: resource file path to use

auto open and auto close files, may return a null callback if open file error