3 * Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
5 * This file is part of msg-service.
7 * Contact: Jaeyun Jeong <jyjeong@samsung.com>
8 * Sangkoo Kim <sangkoo.kim@samsung.com>
9 * Seunghwan Lee <sh.cat.lee@samsung.com>
10 * SoonMin Jung <sm0415.jung@samsung.com>
11 * Jae-Young Lee <jy4710.lee@samsung.com>
12 * KeeBum Kim <keebum.kim@samsung.com>
14 * PROPRIETARY/CONFIDENTIAL
16 * This software is the confidential and proprietary information of
17 * SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
18 * disclose such Confidential Information and shall use it only in
19 * accordance with the terms of the license agreement you entered
20 * into with SAMSUNG ELECTRONICS.
22 * SAMSUNG make no representations or warranties about the suitability
23 * of the software, either express or implied, including but not limited
24 * to the implied warranties of merchantability, fitness for a particular
25 * purpose, or non-infringement. SAMSUNG shall not be liable for any
26 * damages suffered by licensee as a result of using, modifying or
27 * distributing this software or its derivatives.
31 #ifndef MAPI_SETTING_H
32 #define MAPI_SETTING_H
35 * @section Introduction
36 * - Introduction : Overview on Messaging Setting API
38 * - Program : Messaging Setting API Reference
41 /*==================================================================================================
43 ==================================================================================================*/
45 #include "MsgSettingTypes.h"
53 * @ingroup MESSAGING_FRAMEWORK
54 * @defgroup MESSAGING_SETTING_API Messaging Setting API
58 /*==================================================================================================
60 ==================================================================================================*/
65 * Sets a Messaging option such as SMS/MMS sending options, Push settings etc..
68 * This API is used to set message options.
70 * \par Typical use case:
71 * Used in setting the messaging options such as SMS/MMS sending options, Push message settings etc.
73 * \par Method of function operation:
74 * Stores the MSG_SETTING_S settings to storage such as gconf, etc.
76 * \par Sync (or) Async:
77 * This is a Synchronous API.
79 * \par Important notes:
82 * \param input - MSG_HANDLE_T handle is Message handle.
83 * \param input - MSG_SETTING_S setting is a pointer to setting information.
85 * \return Return Type int (MSG_ERROR_T) \n
86 * - MSG_SUCCESS Success in operation.
87 * - MSG_ERR_SET_WRITE_ERROR Setting configuration is error.
89 * \par Prospective clients:
90 * External/Native Apps using Messaging Services.
92 * \par Related functions:
95 * \par Known issues/bugs:
102 * MSG_HANDLE_T msgHandle = NULL;
103 * MSG_SETTING_S setting;
107 * err = msg_set_config(msgHandle, &setting);
111 /*================================================================================================*/
112 int msg_set_config(MSG_HANDLE_T handle, const MSG_SETTING_S *setting);
118 * Retrieve a Messaging option such as SMS/MMS sending options, Push settings etc..
121 * This API is used to getting message options.
123 * \par Typical use case:
124 * Used in setting the messaging options such as SMS/MMS sending options, Push message settings etc.
126 * \par Method of function operation:
127 * Stores the MSG_SETTING_S settings to storage such as gconf, etc.
129 * \par Sync (or) Async:
130 * This is a Synchronous API.
132 * \par Important notes:
135 * \param input - MSG_HANDLE_T handle is Message handle.
136 * \param input - MSG_SETTING_S setting is a pointer to setting information.
138 * \return Return Type int (MSG_ERROR_T) \n
139 * - MSG_SUCCESS Success in operation.
140 * - MSG_ERR_SET_READ_ERROR Getting configuration is error.
142 * \par Prospective clients:
143 * External/Native Apps using Messaging Services.
145 * \par Related functions:
148 * \par Known issues/bugs:
155 * MSG_HANDLE_T msgHandle = NULL;
156 * MSG_SETTING_S setting;
160 * err = msg_get_config(msgHandle, &setting);
164 /*================================================================================================*/
165 int msg_get_config(MSG_HANDLE_T handle, MSG_SETTING_S *setting);
175 #endif // MAPI_SETTING_H