File: timer.h

package info (click to toggle)
gworldclock 1.4.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 980 kB
  • ctags: 158
  • sloc: sh: 3,855; ansic: 2,228; makefile: 68; sed: 16
file content (24 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* functions related to running the timer, displaying the times in each zone */

#ifndef GWORLDCLOCK_TIMER
#define GWORLDCLOCK_TIMER

/* size of string buffer receiving the formatted time/date as a string in strftime */
#define TIME_DISPLAY_SIZE 50

void  start_clocks(gpointer clocklist);

gint SetTime(gpointer clocklist);

gboolean SetToGivenTime  (GtkTreeModel *clocklistModel,
			  GtkTreePath *path,
			  GtkTreeIter *iter,
			  gpointer timeToSet);

gint start_timer( gpointer clocklist );

void stop_timer();

void reset_timer( gpointer clocklist );

#endif