File: timer.h

package info (click to toggle)
gworldclock 1.4.4-12
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,236 kB
  • sloc: sh: 3,862; ansic: 2,248; makefile: 23; sed: 16
file content (24 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (6)
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