int (*wait_mount_user)(void);
- r = access(LAZYMOUNT_LIB,F_OK);
+ r = access(LAZYMOUNT_LIB, F_OK);
if (r < 0){
fprintf(stderr, "cannot find lazymount module - No support lazymount\n");
return 0;
}
do{
- wait_mount_user = (int (*)())dlsym(h,"wait_mount_user");
+ wait_mount_user = (int (*)())dlsym(h, "wait_mount_user");
if (!wait_mount_user) {
fprintf(stderr, "dlsym wait_mount_user error\n");
dlclose(h);
bool isTaskManaged;
REFLECTABLE
- (
- krate, id, locale, package, type, icon, label,
- componentType, isNoDisplayed, isTaskManaged
- );
+ (krate, id, locale, package, type, icon, label,
+ componentType, isNoDisplayed, isTaskManaged);
};
AppInfo getAppInfo(const std::string& name, const std::string& appid);
std::vector<Extra> extraData;
REFLECTABLE
- (
- operation, uri, mime, category, appId, extraData
- );
+ (operation, uri, mime, category, appId, extraData);
};
int launch(const std::string& name, const Bundle& bundle);
bool isPreload;
REFLECTABLE
- (
- krate, id, locale, type, icon, label, description, author,
- version, apiVersion, mainAppId, isSystem, isRemovable, isPreload
- );
+ (krate, id, locale, type, icon, label, description, author,
+ version, apiVersion, mainAppId, isSystem, isRemovable, isPreload);
};
PackageInfo getPackageInfo(const std::string& name, const std::string& pkgid);