change nodisplay of ring from false to true to fix TIVI-702
[profile/ivi/clock.git] / stopwatch / include / stopwatch_util.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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://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
18 #ifndef __STW_UTIL_H__
19 #define  __STW_UTIL_H__
20
21 #include "stopwatch.h"
22 #include "clock_fwk_util.h"
23
24 //
25 typedef enum {
26         STW_TIME_TYPE_USEC,
27         STW_TIME_TYPE_SEC,
28 } STW_TIME_TYPE;
29
30 double stw_get_systime();
31 time_t stw_systime_double_to_time_t(double dval, STW_TIME_TYPE type);
32 void stw_util_pm_state_set(Eina_Bool isLock);
33
34 #endif                          //__STW_UTIL_H__