debug server More...
#include "ZFAppUtilDef.h"Go to the source code of this file.
Classes | |
| class | ZFStyleLoadAsyncTask |
| util to perform ZFStyleLoadAsync More... | |
Functions | |
| zfautoT< ZFTaskId > | ZFIORemoveOutdate (const ZFPathInfo &pathInfo, const ZFListener &filter=(zft_zfnull), zftimet outdate=(zftimetOneWeek())) |
| remove outdated files | |
| zfautoT< ZFTaskId > | ZFIORemoveEmptyDir (const ZFPathInfo &pathInfo, const ZFListener &filter=(zft_zfnull)) |
| remove empty dir, excluding the pathInfo itself | |
| zfautoT< ZFTaskId > | ZFIOForEachAsync (const ZFPathInfo &pathInfo, const ZFListener &fileCallback, const ZFListener &finishCallback=(zft_zfnull), zfbool isRecursive=(_ZFT_t_zftrue)) |
| async version for ZFIOForEach to prevent blocking UI update when performing heavy task | |
| zfautoT< ZFTaskId > | ZFIOForEachFileAsync (const ZFPathInfo &pathInfo, const ZFListener &fileCallback, const ZFListener &finishCallback=(zft_zfnull), zfbool isRecursive=(_ZFT_t_zftrue)) |
| see ZFIOForEachAsync | |
| zfautoT< ZFTaskId > | ZFIOForEachDirAsync (const ZFPathInfo &pathInfo, const ZFListener &fileCallback, const ZFListener &finishCallback=(zft_zfnull), zfbool isRecursive=(_ZFT_t_zftrue)) |
| see ZFIOForEachAsync | |
| zfautoT< ZFTaskId > | ZFStyleLoadAsync (const ZFPathInfo &pathInfo, const ZFListener &finishCallback=(zft_zfnull)) |
| async version of ZFStyleLoad | |
debug server
|
extern |
remove outdated files
filter would be called before removing each file, param0 is v_ZFPathInfo that describe the child file, and param1 is a v_zfstring stores the relative path to source pathInfo
impl can:
|
extern |
remove empty dir, excluding the pathInfo itself
filter would be called before removing each dir, param0 is v_ZFPathInfo that describe the child file or dir, and param1 is a v_zfstring stores the relative path to source pathInfo
impl can:
|
extern |
async version for ZFIOForEach to prevent blocking UI update when performing heavy task
fileCallback is same as ZFIOForEach, but would be called with some delay between each call for each file/dir
fileCallback's sender would be the v_ZFIOFindData (may be null if pathInfo already points to a file), param0 is v_ZFPathInfo that describe the child file or dir, and param1 is a v_zfstring stores the relative path to source pathInfo (may be empty string if pathInfo already points to a file)
impl can:
finishCallback's param0 would be a v_ZFResultType indicates result type, param1 would be the result passed from fileCallback
|
extern |
async version of ZFStyleLoad
all items would still be loaded in main thread, but would wait some time between each load task, so that it's possible to update your UI during heavy load task, item load events:
finishCallback's param0 would be a v_ZFResultType indicates result type