using namespace launchpad_parser_plugin;
-extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_INSTALL(xmlDocPtr doc, const char *package)
-{
+extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_INSTALL(xmlDocPtr doc,
+ const char* package) {
LaunchpadParser parser;
- LOGI("install");
+ LOGI("Install package(%s)", package);
return parser.Install(doc, package);
}
-extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_UNINSTALL(xmlDocPtr doc, const char *package)
-{
- LOGI("uninstall");
+extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_UNINSTALL(xmlDocPtr doc,
+ const char* package) {
+ LOGI("Uninstall package(%s)", package);
LaunchpadParser parser;
return parser.UnInstall(doc, package);
}
-extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_UPGRADE(xmlDocPtr doc, const char *package)
-{
- LOGI("upgrade");
+extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_UPGRADE(xmlDocPtr doc,
+ const char* package) {
+ LOGI("Upgrade package(%s)", package);
LaunchpadParser parser;
return parser.Upgrade(doc, package);
}
extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_RECOVERINSTALL(xmlDocPtr doc,
- const char *package)
-{
- LOGW("recover install");
+ const char* package) {
+ LOGW("Recover install package(%s)", package);
LaunchpadParser parser;
return parser.UnInstall(doc, package);
}
extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_RECOVERUNINSTALL(xmlDocPtr doc,
- const char *package)
-{
- LOGW("recover uninstall");
+ const char* package) {
+ LOGW("Recover uninstall package(%s)", package);
LaunchpadParser parser;
return parser.UnInstall(doc, package);
}
extern "C" EXPORT_API int PKGMGR_PARSER_PLUGIN_RECOVERUPGRADE(xmlDocPtr doc,
- const char *package)
-{
- LOGW("recover upgrade");
+ const char* package) {
+ LOGW("Recover upgrade package(%s)", package);
LaunchpadParser parser;
return parser.Upgrade(doc, package);
}