//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
using namespace Tizen::Base;
using namespace Tizen::Social::Services;
-void
+result
MyClass::SomeMethod(void)
{
result r = E_SUCCESS;
*
* @since 2.0
*
- * @param[in] rhs An instance of %PhoneNumber
+ * @param[in] rhs An instance of %PhoneNumber to copy
*/
PhoneNumber(const PhoneNumber& rhs);
*
* @since 2.0
*
- * @return An integer value indicating the hash value of the current instance of Tizen::Base::Object
+ * @return The integer value that indicates the hash value of the current instance of Tizen::Base::Object
*/
virtual int GetHashCode(void) const;
/**
- * Gets the type of the phone number.
- *
+ * Gets the type of the phone number.
+ *
* @if OSPCOMPAT
- * @brief <i> [Compatibility] </i>
+ * @brief <i> [Compatibility] </i>
* @endif
- * @since 2.0
+ * @since 2.0
* @if OSPCOMPAT
* @compatibility This method has compatibility issues with OSP compatible applications. @n
- * For more information, see @ref CompPhoneNumberGetTypePage "here".
+ * For more information, see @ref CompPhoneNumberGetTypePage "here".
* @endif
- *
- * @return The type of the phone number
- */
+ *
+ * @return The type of the phone number
+ */
PhoneNumberType GetType(void) const;
/**
* @if OSPCOMPAT
- * @page CompPhoneNumberGetTypePage Compatibility for GetType()
- * @section CompPhoneNumberGetTypePageIssueSection Issues
- * Implementing this method in OSP compatible applications has the following issue: @n
- * -# PHONENUMBER_TYPE_CUSTOM is not supported. If the type of the phone number is PHONENUMBER_TYPE_CUSTOM, PHONENUMBER_TYPE_OTHER is returned instead.
- *
- * @section CompPhoneNumberGetTypePageSolutionSection Resolutions
- * The issue mentioned above has been resolved in Tizen.
+ * @page CompPhoneNumberGetTypePage Compatibility for GetType()
+ * @section CompPhoneNumberGetTypePageIssueSection Issues
+ * Implementing this method in OSP compatible applications has the following issue: @n
+ * -# PHONENUMBER_TYPE_CUSTOM is not supported. If the type of the phone number is PHONENUMBER_TYPE_CUSTOM, PHONENUMBER_TYPE_OTHER is returned instead.
+ *
+ * @section CompPhoneNumberGetTypePageSolutionSection Resolutions
+ * The issue mentioned above has been resolved in Tizen.
* @endif
- */
+ */
/**
* Gets the phone number.
* For more information, see @ref CompPhoneNumberSetPhoneNumberPage "here".
* @endif
*
- * @return An error code
- * @param[in] number The phone number to set
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The specified number is an empty string.
+ * @return An error code
+ * @param[in] number The phone number to set
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified @c number is an empty string.
*/
result SetPhoneNumber(const Tizen::Base::String& number);
* @if OSPCOMPAT
* @page CompPhoneNumberSetPhoneNumberPage Compatibility for SetPhoneNumber()
* @section CompPhoneNumberSetPhoneNumberPageIssueSection Issues
- * Implementing this method in OSP compatible applications has the following issue: @n
- * -# If the length of the phone number to be set is greater than 50 characters, E_INVALID_ARG is returned.
- * -# Only alphabets (a~z, A~Z), numbers, plus (+), asterisk (*), pound (#), and comma (,) are allowed.
+ * Implementing this method in OSP compatible applications has the following issue: @n
+ * -# If the length of the phone number to be set is greater than 50 characters, @c E_INVALID_ARG is returned.
+ * -# Only alphabets (a~z, A~Z), numbers, plus (+), asterisk (*), pound (#), and comma (,) are allowed.
*
* @section CompPhoneNumberSetPhoneNumberPageSolutionSection Resolutions
- * The issue mentioned above has been resolved in Tizen.
+ * The issue mentioned above has been resolved in Tizen.
* @endif
*/
*
* @since 2.0
*
- * @param[in] rhs An instance of %PhoneNumber
+ * @param[in] rhs An instance of %PhoneNumber to copy
*/
PhoneNumber& operator =(const PhoneNumber& rhs);