return;
}
- const char* p = null;
- p = appsvc_get_data(b, AUL_K_CALLER_PID);
- if (p)
- {
- SysLog(NID_APP, "CallerPId[%s]", p);
- }
-
- p = appsvc_get_data(b, AUL_K_WAIT_RESULT);
- if (p)
- {
- SysLog(NID_APP, "WaitResult[%s]", p);
- }
-
- p = appsvc_get_data(b, OSP_K_COND);
- if (p)
- {
- SysLog(NID_APP, "Condition[%s]", p);
- }
-
- p = appsvc_get_operation(b);
- if (p)
- {
- SysLog(NID_APP, "operation[%s]", p);
- }
-
- p = appsvc_get_uri(b);
- if (p)
- {
- SysLog(NID_APP, "uri[%s]", p);
- }
-
- p = appsvc_get_mime(b);
- if (p)
- {
- SysLog(NID_APP, "mime[%s]", p);
- }
-
- p = appsvc_get_category(b);
- if (p)
- {
- SysLog(NID_APP, "Category[%s]", p);
- }
-
bundle_foreach(b, BundlePrintIterFnCb, NULL);
int len = 0;
const wchar_t TIZEN_ALIAS_APPID_PREFIX[] = L"tizen.";
-const String ACTL_REGISTRY_PUBLIC = L"Public";
const String ACTL_REGISTRY_PATH = L"Path";
const String ACTL_REGISTRY_ALIAS_PROVIDER = L"PROVIDER_ALIAS";
continue;
}
-#if 0
- int public_open = 0;
-
- ///////////////////////////////////////////////////////////////////////
- // Plubic
- index = reg.GetEntryIndex(i, ACTL_REGISTRY_PUBLIC);
- if (index >= 0)
- {
- size = sizeof(size);
- num = 0;
-
- reg.GetEntryValue(i, index, REG_VALUE_TYPE_INT, &num, &size);
- if (num == 1)
- {
- // public
- public_open = 1;
- }
- }
-#endif
-
///////////////////////////////////////////////////////////////////////
// Path
index = reg.GetEntryIndex(i, ACTL_REGISTRY_PATH);
+++ /dev/null
-//\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file FApp_AppLifecycleEvent.cpp\r
- * @brief This is the implementation for the _AppLifecycleEvent.cpp class.\r
- */\r
-\r
-#include <FBaseSysLog.h>\r
-\r
-#include "FApp_Types.h"\r
-#include "FApp_AppLifecycleEvent.h"\r
-#include "FApp_AppLifecycleEventArg.h"\r
-#include "FApp_IAppLifecycleEventListener.h"\r
-\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Runtime;\r
-\r
-\r
-namespace Tizen { namespace App\r
-{\r
-\r
-_AppLifecycleEventArg::_AppLifecycleEventArg(void)\r
-{\r
-}\r
-\r
-_AppLifecycleEventArg::_AppLifecycleEventArg(const AppId& appId, _AppLifecycleEventType appLifecycleEventType)\r
- : __appId(appId)\r
- , __appLifecycleEventType(appLifecycleEventType)\r
-{\r
-}\r
-\r
-_AppLifecycleEventArg::~_AppLifecycleEventArg(void)\r
-{\r
-}\r
-\r
-const AppId\r
-_AppLifecycleEventArg::GetAppId(void) const\r
-{\r
- return __appId;\r
-}\r
-\r
-_AppLifecycleEventType\r
-_AppLifecycleEventArg::GetAppLifecycleEventType(void) const\r
-{\r
- return __appLifecycleEventType;\r
-}\r
-\r
-///////////////////////////////////////////////////////\r
-//_AppLifecycleEvent\r
-///////////////////////////////////////////////////////\r
-result\r
-_AppLifecycleEvent::Construct(void)\r
-{\r
- return _Event::Initialize();\r
-}\r
-\r
-void\r
-_AppLifecycleEvent::FireImpl(IEventListener& listener, const IEventArg& arg)\r
-{\r
- _IAppLifecycleEventListener* pListener = dynamic_cast<_IAppLifecycleEventListener*>(&listener);\r
- SysTryReturnVoidResult(NID_APP, pListener != null, E_INVALID_STATE, "Invalid listener : listener(0x%x), arg(0x%x)", &listener, &arg);\r
-\r
- const _AppLifecycleEventArg* pEventArg = dynamic_cast<const _AppLifecycleEventArg*>(&arg);\r
- SysTryReturnVoidResult(NID_APP, pEventArg != null, E_INVALID_STATE, "Invalid arg : listener(0x%x), arg(0x%x)", &listener, &arg);\r
-\r
- pListener->OnAppLifecycleEventReceived(pEventArg->GetAppId(), pEventArg->GetAppLifecycleEventType());\r
-}\r
-\r
-} } // Tizen::App\r
-\r