}
ApplicationLauncher::ApplicationLauncher()
-{
-}
+{}
ApplicationLauncher::~ApplicationLauncher()
-{
-}
+{}
void ApplicationLauncher::OnEventReceived(
- const ApplicationLauncherEvents::LaunchApplicationByAppService &event)
+ const ApplicationLauncherEvents::LaunchApplicationByAppService &event)
{
int result;
bundle *args = event.GetArg0();
void *userData = event.GetArg2();
result = appsvc_run_service(args, 0, responseCallback, userData);
- if (result < 0)
+ if (result < 0) {
LogError("Failed to run AppService : " << result);
+ }
}
void ApplicationLauncher::OnEventReceived(
- const ApplicationLauncherEvents::LaunchApplicationByPkgname &event)
+ const ApplicationLauncherEvents::LaunchApplicationByPkgname &event)
{
using namespace ApplicationLauncherPkgname;
LogDebug("LaunchApplicationByPkgname");
url = youtube->getYouTubeHD(uri.c_str());
delete youtube;
} else if (SCHEME_TYPE_RTSP == scheme ||
- (SCHEME_TYPE_HTML5_VIDEO == scheme))
+ (SCHEME_TYPE_HTML5_VIDEO == scheme))
{
url = uri.c_str();
} else {