Change symlink for IME
authorDuyoung Jang <duyoung.jang@samsung.com>
Thu, 11 Oct 2012 06:13:02 +0000 (15:13 +0900)
committerDuyoung Jang <duyoung.jang@samsung.com>
Thu, 11 Oct 2012 06:13:02 +0000 (15:13 +0900)
Change-Id: I3c289dd278652dfef20a4cc41fb0a296478bb882

src/Manager/ConfigurationManager.cpp
src/Manager/ConfigurationManager.h

index 56971dd..d5378ef 100755 (executable)
@@ -168,7 +168,7 @@ ConfigurationManager::CreateFile(InstallationContext* pContext)
 
                                        if (category == L"ime")
                                        {
-                                               CreateImeSymlink(binaryPath, appName);
+                                               CreateImeSymlink(binaryPath, packageName);
                                        }
 
                                        String typeInfo;
@@ -428,7 +428,7 @@ ConfigurationManager::CreateInfoFile(const String& filePath, const String* pCont
 }
 
 bool
-ConfigurationManager::CreateImeSymlink(const String& binaryPath, const String& appName)
+ConfigurationManager::CreateImeSymlink(const String& binaryPath, const String& packageName)
 {
        bool res = true;
        int err = 0;
@@ -441,7 +441,7 @@ ConfigurationManager::CreateImeSymlink(const String& binaryPath, const String& a
        exePath.Format(1024, L"%ls.exe", binaryPath.GetPointer());
 
        String symlinkPath;
-       symlinkPath.Format(1024, L"%s/%ls.so", IME_PATH, appName.GetPointer());
+       symlinkPath.Format(1024, L"%s/%ls.so", IME_PATH, packageName.GetPointer());
 
        pExePath = _StringConverter::CopyToCharArrayN(exePath);
        TryCatch(pExePath, res = false, "[osp-installer] pExePath is null");
index f4a7111..c3ce578 100755 (executable)
@@ -49,7 +49,7 @@ private:
        bool CreateSystemXmlFile(InstallationContext* pContext);
        bool CreateHybridServiceDesktopFile(InstallationContext* pContext);
        bool CreateInfoFile(const Osp::Base::String& filePath, const Osp::Base::String* pContext);
-       bool CreateImeSymlink(const Osp::Base::String& binaryPath, const Osp::Base::String& appName);
+       bool CreateImeSymlink(const Osp::Base::String& binaryPath, const Osp::Base::String& packageName);
        bool FindPrivilege(InstallationContext* pContext, const Osp::Base::String& privilege) const;
 
 }; // ConfigurationManager