Updated the license and boilerplate
[apps/home/minicontrol.git] / include / minicontrol-error.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *  http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef _MINICTRL_ERROR_H_
18 #define _MINICTRL_ERROR_H_
19
20 /**
21  * @defgroup MINICONTROL_LIBRARY_ERROR_TYPE minicontrol monitor error type
22  * @brief minicontrol library error type
23  */
24
25 /**
26  * @addtogroup MINICONTROL_LIBRARY_ERROR_TYPE
27  * @{
28  */
29
30 /**
31  * @breief Enumeration describing error code of minicontrol library
32  */
33 typedef enum _minicontrol_error {
34         MINICONTROL_ERROR_NONE = 0,
35         MINICONTROL_ERROR_INVALID_PARAMETER = -1,
36         MINICONTROL_ERROR_OUT_OF_MEMORY = -2,
37         MINICONTROL_ERROR_DBUS = -3,
38         MINICONTROL_ERROR_UNKNOWN = -100,
39 }minicontrol_error_e;
40
41 #endif /* _MINICTRL_ERROR_H_ */
42
43