Sync with the latest one
[platform/framework/web/livebox-viewer.git] / src / conf.c
1 #include <stdio.h>
2
3 static struct info {
4         int manual_sync;
5         int frame_drop_for_resizing;
6 } s_info = {
7         .manual_sync = 0,
8         .frame_drop_for_resizing = 1,
9 };
10
11 void conf_set_manual_sync(int flag)
12 {
13         s_info.manual_sync = flag;
14 }
15
16 int conf_manual_sync(void)
17 {
18         return s_info.manual_sync;
19 }
20
21 void conf_set_frame_drop_for_resizing(int flag)
22 {
23         s_info.frame_drop_for_resizing = flag;
24 }
25
26 int conf_frame_drop_for_resizing(void)
27 {
28         return s_info.frame_drop_for_resizing;
29 }
30
31 /* End of a file */