Revise doxygen
[platform/framework/native/appfw.git] / inc / FAppAppControl.h
index a67960b..2d195cd 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -1044,27 +1043,18 @@ _OSP_EXPORT_ extern const Tizen::Base::String APPCONTROL_RESULT_TERMINATED;
 *
 *
 * @code
-*
-*      using namespace Tizen::Base::Collection;
 *      using namespace Tizen::App;
 *
 *      void
-*      MyAppClass::AppControlCallSample(void)
+*      MyAppClass::AppControlDialSample(void)
 *      {
-*              HashMap extraData;
-*              String telKey = L"tel";
-*              String telVal = L"1234567890";
-*              String typeKey = L"type";
-*              String typeVal = L"voice";
-*
-*              extraData.Construct();
-*              extraData.Add(&telKey, &telVal);
-*              extraData.Add(&typeKey, &typeVal);
-*
-*              AppControl* pAc = AppManager::FindAppControlN(L"tizen.phone", L"http://tizen.org/appcontrol/operation/call");
-*              if(pAc)
+*
+*              String telUri = L"tel:12345678900";
+*
+*              AppControl* pAc = AppManager::FindAppControlN(L"tizen.phone", L"http://tizen.org/appcontrol/operation/dial");
+*              if(pAc) 
 *              {
-*                      pAc->Start(null, null, &extraData, null);
+*                      pAc->Start(&telUri, null, null, null);
 *                      delete pAc;
 *              }
 *      }
@@ -1181,7 +1171,6 @@ public:
         * @exception   E_PRIVILEGE_DENIED  The application does not have the privilege to call this method.
         * @exception   E_SYSTEM                                The method cannot proceed due to a severe system error.
         * @exception E_ILLEGAL_ACCESS                          The application is not signed with the same certificate of target application. @b Since: @b 2.1  
-        * @see IAppControlResponseListener
         */
        static result FindAndStart(const Tizen::Base::String& operationId, const Tizen::Base::String* pUriPattern, const Tizen::Base::String* pDataType, const Tizen::Base::String* pCategory, const Tizen::Base::Collection::IMap* pExtraData, IAppControlResponseListener* pListener);