Remove security-server dependency
[apps/core/preloaded/lockscreen.git] / inc / time_format_ctrl.h
1 /*
2  * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (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://www.apache.org/licenses/LICENSE-2.0
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 _LOCKSCREEN_TIME_FORMAT_CTRL_H_
18 #define _LOCKSCREEN_TIME_FORMAT_CTRL_H_
19
20 #include <Elementary.h>
21
22 /**
23  * @brief Initializes time format controller
24  *
25  * time format controller manages time updates na @main_view object
26  * and apply proper time formating when system default settings changes.
27  *
28  * @return: 0 on success, other value on failure.
29  */
30 int lockscreen_time_format_ctrl_init(Evas_Object *main_view);
31
32 /**
33  * @brief Shutdowns time format controller.
34  */
35 void lockscreen_time_format_ctrl_shutdown(void);
36
37 /**
38  * @brief Forces controller to refrest time information on view
39  */
40 void lockscreen_time_format_ctrl_time_update(void);
41
42 #endif
43
44