Replaced the wifi menu with the EFL wifi UG
authorHongryeol Gil <hr.gil@samsung.com>
Tue, 16 Apr 2013 08:34:11 +0000 (17:34 +0900)
committerChangyong Jeon <fin10.jeon@samsung.com>
Tue, 16 Apr 2013 13:16:08 +0000 (22:16 +0900)
Change-Id: Id7650d38e1c768894a12978a2f306eaca6af1cc8
Signed-off-by: Hongryeol Gil <hr.gil@samsung.com>
src/StMainMenuForm.cpp

index 25bc498..9f1c4ca 100644 (file)
@@ -647,6 +647,23 @@ MainMenuForm::OnGroupedTableViewItemStateChanged(Tizen::Ui::Controls::GroupedTab
        case ID_GROUP_CONNECTIVITY:
                {
                        pSceneName = GroupConnectivitySceneConnect(__currentTableViewList, itemIndex, status);
+                       #if 1 // temp
+                       if(pSceneName == IDSCN_WIFI)
+                       {
+                               AppControl* pAppControl = AppManager::GetInstance()->FindAppControlN(L"wifi-efl-ug", L"");
+
+                               HashMap* pExtraData = new (std::nothrow) HashMap(SingleObjectDeleter);
+                               pExtraData->Construct();
+
+                               pExtraData->Add(new (std::nothrow) String(L"caller"), new (std::nothrow) String(L"osp-setting"));
+
+                               pAppControl->Start(null, null, pExtraData, null);
+
+                               delete pAppControl;
+                               delete pExtraData;
+                               return;
+                       }
+                       #endif
                }
                break;
 
@@ -1331,4 +1348,4 @@ MainMenuForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection:
                        delete pArgs;
                }
        }
-}
\ No newline at end of file
+}