From e19af0f4f5ca83b9a75b98974716ff89f77e6fae Mon Sep 17 00:00:00 2001 From: Young Ik Cho Date: Sat, 6 Apr 2013 16:56:30 +0900 Subject: [PATCH] fix code cleanup with file property change Change-Id: Ia0cf6a20c18a6b14fc46bd75f5b4cbe3c12153f4 Signed-off-by: Young Ik Cho --- src/app/FAppAppControl.cpp | 0 src/app/FApp_AppArg.cpp | 0 src/app/FApp_AppControlImpl.cpp | 0 src/app/FApp_AppControlManager.cpp | 0 src/app/FApp_AppControlRegistry.cpp | 33 +--------------------- src/app/FApp_AppControlRegistry.h | 4 --- src/app/FApp_AppLaunchConditionHandlerBase.cpp | 0 src/app/FApp_AppManagerImpl.cpp | 0 src/app/FApp_Aul.cpp | 0 src/app/FApp_ImeAppImpl.cpp | 0 src/app/FApp_PackageManagerProxy.cpp | 0 src/app/FApp_ServiceAppImpl.cpp | 0 src/app/inc/FAppPkg_PackageAppInfoImpl.h | 0 src/app/inc/FAppPkg_PackageInfoImpl.h | 0 src/app/inc/FAppPkg_PackageManagerImpl.h | 0 src/app/inc/FAppPkg_PackageParser.h | 0 src/app/inc/FApp_AppArg.h | 0 src/app/inc/FApp_AppControlImpl.h | 0 src/app/inc/FApp_AppControlManager.h | 0 src/app/inc/FApp_AppImpl.h | 0 src/app/inc/FApp_AppLaunchConditionHandlerBase.h | 0 .../inc/FApp_IAppLaunchConditionEventListener.h | 0 src/app/inc/FApp_PackageManagerIpcMessages.h | 0 src/app/inc/FApp_PackageManagerProxy.h | 0 24 files changed, 1 insertion(+), 36 deletions(-) mode change 100755 => 100644 src/app/FAppAppControl.cpp mode change 100755 => 100644 src/app/FApp_AppArg.cpp mode change 100755 => 100644 src/app/FApp_AppControlImpl.cpp mode change 100755 => 100644 src/app/FApp_AppControlManager.cpp mode change 100755 => 100644 src/app/FApp_AppLaunchConditionHandlerBase.cpp mode change 100755 => 100644 src/app/FApp_AppManagerImpl.cpp mode change 100755 => 100644 src/app/FApp_Aul.cpp mode change 100755 => 100644 src/app/FApp_ImeAppImpl.cpp mode change 100755 => 100644 src/app/FApp_PackageManagerProxy.cpp mode change 100755 => 100644 src/app/FApp_ServiceAppImpl.cpp mode change 100755 => 100644 src/app/inc/FAppPkg_PackageAppInfoImpl.h mode change 100755 => 100644 src/app/inc/FAppPkg_PackageInfoImpl.h mode change 100755 => 100644 src/app/inc/FAppPkg_PackageManagerImpl.h mode change 100755 => 100644 src/app/inc/FAppPkg_PackageParser.h mode change 100755 => 100644 src/app/inc/FApp_AppArg.h mode change 100755 => 100644 src/app/inc/FApp_AppControlImpl.h mode change 100755 => 100644 src/app/inc/FApp_AppControlManager.h mode change 100755 => 100644 src/app/inc/FApp_AppImpl.h mode change 100755 => 100644 src/app/inc/FApp_AppLaunchConditionHandlerBase.h mode change 100755 => 100644 src/app/inc/FApp_IAppLaunchConditionEventListener.h mode change 100755 => 100644 src/app/inc/FApp_PackageManagerIpcMessages.h mode change 100755 => 100644 src/app/inc/FApp_PackageManagerProxy.h diff --git a/src/app/FAppAppControl.cpp b/src/app/FAppAppControl.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_AppArg.cpp b/src/app/FApp_AppArg.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_AppControlImpl.cpp b/src/app/FApp_AppControlImpl.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_AppControlManager.cpp b/src/app/FApp_AppControlManager.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_AppControlRegistry.cpp b/src/app/FApp_AppControlRegistry.cpp index 5413239..e2b56bf 100644 --- a/src/app/FApp_AppControlRegistry.cpp +++ b/src/app/FApp_AppControlRegistry.cpp @@ -84,8 +84,6 @@ _AppControlRegistry::_AppControlRegistry(void) __aliasList.Construct(); - __aliasOperation.Construct(); - __aliasAppId.Construct(); } @@ -317,17 +315,6 @@ _AppControlRegistry::LoadLegacyList(void) continue; } - bool b = false; - __aliasOperation.ContainsKey(*pStr, b); - if (b) - { - __aliasOperation.SetValue(*pStr, value); - } - else - { - __aliasOperation.Add(*pStr, value); - } - // add entry to aliasList _AppControlAliasEntry* pEntry = new (std::nothrow) _AppControlAliasEntry(secName, *pStr, aliasProvider, value); SysTryReturnResult(NID_APP, pEntry != null, E_OUT_OF_MEMORY, "Insufficient memory."); @@ -343,7 +330,7 @@ _AppControlRegistry::LoadLegacyList(void) delete pList; } - SysLog(NID_APP, "Finished loading %d entries with %d operation aliases.", __aliasList.GetCount(), __aliasOperation.GetCount()); + SysLog(NID_APP, "Finished loading %d entries.", __aliasList.GetCount()); return E_SUCCESS; } @@ -625,22 +612,4 @@ _AppControlRegistry::GetReverseAliasAppId(const AppId& appId) const return L""; } -String -_AppControlRegistry::GetAliasedOperation(const String& operation) const -{ - bool b = false; - __aliasOperation.ContainsKey(operation, b); - - if (b) - { - String tmp; - __aliasOperation.GetValue(operation, tmp); - return tmp; - } - else - { - return String(); - } -} - } } // Tizen::App diff --git a/src/app/FApp_AppControlRegistry.h b/src/app/FApp_AppControlRegistry.h index 12d9d33..4b6e447 100644 --- a/src/app/FApp_AppControlRegistry.h +++ b/src/app/FApp_AppControlRegistry.h @@ -96,8 +96,6 @@ public: Tizen::Base::Collection::ArrayList* FindAppControlListN(const Tizen::Base::String* pOid, const Tizen::Base::String* pUri, const Tizen::Base::String* pMimeType, const Tizen::Base::String* pCategory) const; - Tizen::Base::String GetAliasedOperation(const Tizen::Base::String& operation) const; - _AppControlAliasEntry* GetAppControlAliasEntry(const Tizen::Base::String& aId, const Tizen::Base::String& oId) const; _AppControlAliasEntry* GetReverseAppControlAliasEntry(const Tizen::Base::String& aId, const Tizen::Base::String& oId) const; @@ -120,8 +118,6 @@ private: AppControlAliasList __aliasList; - AliasMapType __aliasOperation; - AliasMapType __aliasAppId; static _AppControlRegistry* __pSelf; diff --git a/src/app/FApp_AppLaunchConditionHandlerBase.cpp b/src/app/FApp_AppLaunchConditionHandlerBase.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_AppManagerImpl.cpp b/src/app/FApp_AppManagerImpl.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_Aul.cpp b/src/app/FApp_Aul.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_ImeAppImpl.cpp b/src/app/FApp_ImeAppImpl.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_PackageManagerProxy.cpp b/src/app/FApp_PackageManagerProxy.cpp old mode 100755 new mode 100644 diff --git a/src/app/FApp_ServiceAppImpl.cpp b/src/app/FApp_ServiceAppImpl.cpp old mode 100755 new mode 100644 diff --git a/src/app/inc/FAppPkg_PackageAppInfoImpl.h b/src/app/inc/FAppPkg_PackageAppInfoImpl.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FAppPkg_PackageInfoImpl.h b/src/app/inc/FAppPkg_PackageInfoImpl.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FAppPkg_PackageManagerImpl.h b/src/app/inc/FAppPkg_PackageManagerImpl.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FAppPkg_PackageParser.h b/src/app/inc/FAppPkg_PackageParser.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_AppArg.h b/src/app/inc/FApp_AppArg.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_AppControlImpl.h b/src/app/inc/FApp_AppControlImpl.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_AppControlManager.h b/src/app/inc/FApp_AppControlManager.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_AppImpl.h b/src/app/inc/FApp_AppImpl.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_AppLaunchConditionHandlerBase.h b/src/app/inc/FApp_AppLaunchConditionHandlerBase.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_IAppLaunchConditionEventListener.h b/src/app/inc/FApp_IAppLaunchConditionEventListener.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_PackageManagerIpcMessages.h b/src/app/inc/FApp_PackageManagerIpcMessages.h old mode 100755 new mode 100644 diff --git a/src/app/inc/FApp_PackageManagerProxy.h b/src/app/inc/FApp_PackageManagerProxy.h old mode 100755 new mode 100644 -- 2.7.4