Initial release of status lib(tagging)
[framework/appfw/status.git] / include / status.h
1 /*
2  *  libstatus
3  *
4  * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Youngjoo Park <yjoo93.park@samsung.com>,
7  *      Seungtaek Chung <seungtaek.chung@samsung.com>, Youngsub Ko <ys4610.ko@samsung.com>
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  */
22
23 #ifndef __STATUS_DEF_H__
24 #define __STATUS_DEF_H__
25
26 #include <status-type.h>
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
31
32 /**
33  * @defgroup STATUS_CLIENT_LIBRARY notification status client Library
34  * @brief This notification status client library used to post simple plain message on indicator
35  */
36
37 /**
38  * @addtogroup STATUS_CLIENT_LIBRARY
39  * @{
40  */
41
42 /**
43  * @brief This function send string(message) to status monitor
44  * @details Send the message to notification status monitor.
45  * @param[in] message messages you want to post
46  * @return #STATUS_ERROR_NONE if success, other value if failure
47  * @see #_status_error_e
48  */
49 int status_message_post(const char *message);
50
51 /**
52 * @brief This function will be deprecated
53 */
54 int status_background_status_post(const status_background_type_e type,
55                 const status_background_state_e state);
56
57 #ifdef __cplusplus
58 }
59 #endif /* __cplusplus */
60 #endif /* __STATUS_DEF_H__ */
61