Searched refs:WorkData (Results 1 – 2 of 2) sorted by relevance
38 struct WorkData { struct41 …WorkData(NativeEngine *nativeEng, int wallpaperType) : nativeEng_(nativeEng), wallpaperType_(wallp… in WorkData() argument145 WorkData *workData = new (std::nothrow) WorkData(nativeEng, wallpaperType); in OnStart()150 WorkData *workData = reinterpret_cast<WorkData *>(work->data); in OnStart()
39 struct WorkData { struct42 WorkData(napi_env env, napi_ref callback) : env_(env), callback_(callback) in WorkData() function619 WorkData *workData = new (std::nothrow) WorkData(env_, callback_); in ~NapiWallpaperAbility()622 WorkData *workData = reinterpret_cast<WorkData *>(work->data); in ~NapiWallpaperAbility()