All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kzs_file_base.h File Reference

Base functions for file related operations. More...

Functions

KZ_HEADER_BEGIN KANZI_API void kzsFileBaseSetResourceDirectory (kzString path)
 Sets the active working directory to the given one. More...
 
KANZI_API kzString kzsFileBaseGetResourceDirectory (void)
 Returns the active working directory. More...
 

Detailed Description

Base functions for file related operations.

Copyright 2008-2020 by Rightware. All rights reserved.

Function Documentation

KZ_HEADER_BEGIN KANZI_API void kzsFileBaseSetResourceDirectory ( kzString  path)

Sets the active working directory to the given one.

All relative file and resource paths will be relative to the given path after this call, unless path is null. Note that caller is responsible for keeping the path string alive as long as the application is running and accessing resource files.

KANZI_API kzString kzsFileBaseGetResourceDirectory ( void  )

Returns the active working directory.