tizen 2.3 release
[framework/system/swap-probe.git] / custom_chart / da_chart_dummy.c
1 /*
2  *  DA probe
3  *
4  * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:
7  *
8  * Jaewon Lim <jaewon81.lim@samsung.com>
9  * Woojin Jung <woojin2.jung@samsung.com>
10  * Juyoung Kim <j0.kim@samsung.com>
11  *
12  * This library is free software; you can redistribute it and/or modify it under
13  * the terms of the GNU Lesser General Public License as published by the
14  * Free Software Foundation; either version 2.1 of the License, or (at your option)
15  * any later version.
16  *
17  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
18  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
19  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
20  * License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * along with this library; if not, write to the Free Software Foundation, Inc., 51
24  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25  *
26  * Contributors:
27  * - S-Core Co., Ltd
28  *
29  */
30
31 #define _USE_DA_
32 #include "da_chart.h"
33
34 // =====================================================================
35 // api definition
36 // =====================================================================
37 #define __unused __attribute__((unused))
38 void da_mark(chart_color __unused color, char __unused * mark_text)
39 {
40
41 }
42
43 da_handle da_create_chart(char __unused * chart_name)
44 {
45         return 0;
46 }
47
48 da_handle da_create_series(da_handle __unused charthandle,
49                            char __unused * seriesname,
50                            series_type __unused type,
51                            chart_color __unused color)
52 {
53         return 0;
54 }
55
56 da_handle da_create_default_series(da_handle __unused charthandle,
57                                    char __unused * seriesname)
58 {
59         return 0;
60 }
61
62 int da_set_callback(da_handle __unused series_handle,
63                     da_user_data_2_chart_data __unused callback,
64                     void __unused * data_addr,
65                     chart_interval __unused interval)
66 {
67         return 0;
68 }
69
70 void da_log(da_handle __unused series_handle, float __unused uservalue)
71 {
72 }