#ifndef COMMON_STEP_CONFIGURATION_STEP_PARSE_MANIFEST_H_
#define COMMON_STEP_CONFIGURATION_STEP_PARSE_MANIFEST_H_
-#include <boost/filesystem.hpp>
-
-#include <common/app_installer.h>
+#include <common/installer/app_installer.h>
#include <common/installer_context.h>
#include <common/step/step.h>
#include <tpk_manifest_handlers/tpk_config_parser.h>
#include <tpk_manifest_handlers/ui_and_service_application_infos.h>
+#include <filesystem>
#include <memory>
#include <set>
#include <string>
protected:
bool LocateConfigFile();
- boost::filesystem::path path_;
+ std::filesystem::path path_;
private:
bool FillInstallationInfo(manifest_x* manifest);
bool FillAuthorInfo(manifest_x* manifest);
bool FillDescriptionInfo(manifest_x* manifest);
bool FillPrivileges(manifest_x* manifest);
+ bool FillProvidesAppDefinedPrivileges(manifest_x* manifest);
bool FillWidgetApplication(manifest_x* manifest);
bool FillServiceApplication(manifest_x* manifest);
bool FillUIApplication(manifest_x* manifest);
bool FillWatchApplication(manifest_x* manifest);
+ bool FillTrustAnchorInfo(manifest_x* manifest);
+ bool FillDependencyInfo(manifest_x* manifest);
+ bool FillComponentBasedApplicationInfo(manifest_x* manifest);
+ bool FillRobotApplicationInfo(manifest_x* manifest);
+ bool FillLightUserInfo(manifest_x* manifest);
+ int GetSupportModeVal(std::string support_mode);
+ bool CheckFeatures();
+ void AppendSplashScreen(application_x* app, const std::string& src,
+ const std::string& type, const std::string& dpi,
+ const std::string& orientation, const std::string& indicatordisplay,
+ const std::string& operation, const std::string& color_depth);
+ void GetLegacySplashScreenFromMetadata(application_x* manifest,
+ const std::string& key, const std::string& val);
template <typename T>
bool FillAppControl(application_x* manifest, const T& app_control_list);
template <typename T>
bool FillSplashScreen(application_x* app,
const T& splashscreen_list);
+ template <typename T>
+ bool FillResControl(application_x* app, const T& res_control_list);
+ bool FillExtraInfo(manifest_x* manifest);
bool FillManifestX(manifest_x* manifest);
std::unique_ptr<tpk::parse::TPKConfigParser> parser_;
ManifestLocation manifest_location_;
StoreLocation store_location_;
- SCOPE_LOG_TAG(ParseManifest)
+ STEP_NAME(ParseManifest)
};
} // namespace configuration