[9.0][email] Removing conditional Statments for Mobile/Wearable Profile 02/318302/1 tizen
authorYogesh Kumar Shukla <y.shukla@samsung.com>
Thu, 26 Sep 2024 13:32:28 +0000 (19:02 +0530)
committerYogesh Kumar Shukla <y.shukla@samsung.com>
Thu, 26 Sep 2024 13:32:28 +0000 (19:02 +0530)
Change-Id: I30ac70c4b54cc55383485da3802cbef4671046aa

include/email.h
include/email_error.h
include/email_types.h

index f082702..c7c7226 100755 (executable)
@@ -45,7 +45,7 @@ extern "C"
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Creates an email message handle for sending an email message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/email
  * @remarks You must release @a email using email_destroy_message().
@@ -66,7 +66,7 @@ int email_create_message(email_h *email) TIZEN_DEPRECATED_API;
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Destroys the email message handle and releases all its resources.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in] email The handle to the email message
  * @return @c 0 on success,
  *         otherwise a negative error value
@@ -82,7 +82,7 @@ int email_destroy_message(email_h email) TIZEN_DEPRECATED_API;
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Sets a subject of the email message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/email
  * @param[in] email The handle to the email message
@@ -104,7 +104,7 @@ int email_set_subject(email_h email, const char *subject) TIZEN_DEPRECATED_API;
  * @deprecated Deprecated since 8.0.
  * @brief Populates a body of the email message.
  * @details Email message body means the text data to be delivered.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/mediastorage
  * @param[in] email The handle to the email message
@@ -126,7 +126,7 @@ int email_set_body(email_h email, const char *body) TIZEN_DEPRECATED_API;
  * @deprecated Deprecated since 8.0.
  * @brief Adds a recipient to the email message.
  * @details The email API supports sending an email message to multiple recipients.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks Email address should be in standard format (as described in
  *          Internet standards RFC 5321 and RFC 5322).
  * @param[in] email The handle to the email message
@@ -148,7 +148,7 @@ int email_add_recipient(email_h email, email_recipient_type_e type, const char *
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Removes all recipients for the email message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in] email The handle to the email message
  * @return @c 0 on success,
  *         otherwise a negative error value
@@ -166,7 +166,7 @@ int email_remove_all_recipients(email_h email) TIZEN_DEPRECATED_API;
  * @brief Adds a file as an attachment to the email message.
  * @details It should be used to add a file to the attachment list
  *          of the email message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks The maximum attachment file size is 10MB.
  *          %http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage
  *          %http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage.
@@ -188,7 +188,7 @@ int email_add_attach(email_h email, const char *filepath) TIZEN_DEPRECATED_API;
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Clears all attachments of the email message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in] email The handle to the email message
  * @return @c 0 on success,
  *         otherwise a negative error value
@@ -205,7 +205,7 @@ int email_remove_all_attachments(email_h email) TIZEN_DEPRECATED_API;
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Saves the email message at outbox.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel public
  * @privilege %http://tizen.org/privilege/email
  * @param[in] email The handle to the email message
@@ -227,7 +227,7 @@ int email_save_message(email_h email) TIZEN_DEPRECATED_API;
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Sends the email message.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks In order to check whether sending a message succeeds,
  *          you should register email_message_sent_cb() using email_set_message_sent_cb().
  * @param[in] email The handle to the email message
@@ -250,7 +250,7 @@ int email_send_message(email_h email, bool save_to_sentbox) TIZEN_DEPRECATED_API
  * @deprecated Deprecated since 8.0.
  * @brief Called when the process of sending an email finishes.
  * @details You can check whether sending an email succeeds using this function.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in] email The handle to the email message
  * @param[in] result The result of email message sending \n
  *                   #EMAIL_SENDING_FAILED or #EMAIL_SENDING_SUCCEEDED
@@ -267,7 +267,7 @@ typedef void (*email_message_sent_cb)(email_h email, email_sending_e result, voi
  * @deprecated Deprecated since 8.0.
  * @brief Registers a callback function to be invoked when an email message is sent.
  * @details You will be notified when sending a message finishes and check whether it succeeds using this function.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in] email The handle to the email message
  * @param[in] callback The callback function to register
  * @param[in] user_data The user data to be passed to the callback function
@@ -287,7 +287,7 @@ int email_set_message_sent_cb(email_h email, email_message_sent_cb callback, voi
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Unregisters the callback function.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in] msg The handle to the email message
  * @return @c 0 on success,
  *         otherwise a negative error value
index a9395f7..2072e0a 100755 (executable)
@@ -43,7 +43,7 @@ extern "C"
 /**
  * @deprecated Deprecated since 8.0.
  *  @brief Enumeration for error codes for email API.
- *  @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.3
  */
 typedef enum {
        EMAILS_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
index 014b3b1..f5820bd 100755 (executable)
@@ -41,7 +41,7 @@ extern "C"
 /**
  * @deprecated Deprecated since 8.0.
  * @brief The email message handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef struct email_s *email_h;
 
@@ -49,7 +49,7 @@ typedef struct email_s *email_h;
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Enumeration for the result values of email transport.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        EMAIL_SENDING_FAILED = -1, /**< Email sending failed */
@@ -60,7 +60,7 @@ typedef enum {
 /**
  * @deprecated Deprecated since 8.0.
  * @brief Enumeration for the email recipient types.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        EMAIL_RECIPIENT_TYPE_TO = 1, /**< Normal recipient */