~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to panels/datetime/set-timezone.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Josselin Mouette, Michael Biebl
  • Date: 2011-12-16 23:55:34 UTC
  • mfrom: (0.3.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 215.
  • Revision ID: package-import@ubuntu.com-20111216235534-ruwoeyk079c01omq
Tags: 1:3.2.2-2
[ Josselin Mouette ]
* Recommend cups-pk-helper. Closes: #622688.

[ Michael Biebl ]
* Add Recommends on mesa-utils. The glxinfo utilitity is required to show
  details about the graphics card.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2
 
 *
3
 
 * Copyright (C) 2007 David Zeuthen <david@fubar.dk>
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or modify
6
 
 * it under the terms of the GNU General Public License as published by
7
 
 * the Free Software Foundation; either version 2 of the License, or
8
 
 * (at your option) any later version.
9
 
 *
10
 
 * This program is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 * GNU General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU General Public License
16
 
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
 
 *
19
 
 */
20
 
 
21
 
#ifndef __SET_SYSTEM_TIMEZONE_H__
22
 
 
23
 
#include <config.h>
24
 
 
25
 
#include <glib.h>
26
 
#include <time.h>
27
 
 
28
 
typedef void (*GetTimezoneFunc) (gpointer     data,
29
 
                                 const gchar *timezone,
30
 
                                 GError      *error);
31
 
void     get_system_timezone_async   (GetTimezoneFunc callback,
32
 
                                      gpointer        data,
33
 
                                      GDestroyNotify  notify);
34
 
 
35
 
gint     can_set_system_timezone (void);
36
 
 
37
 
gint     can_set_system_time     (void);
38
 
 
39
 
gint     can_set_using_ntp       (void);
40
 
 
41
 
void     set_system_time_async   (gint64         time,
42
 
                                  GFunc          callback,
43
 
                                  gpointer       data,
44
 
                                  GDestroyNotify notify);
45
 
 
46
 
void     set_system_timezone_async   (const gchar    *tz,
47
 
                                      GFunc           callback,
48
 
                                      gpointer        data,
49
 
                                      GDestroyNotify  notify);
50
 
 
51
 
gboolean get_using_ntp               (void);
52
 
 
53
 
void     set_using_ntp_async         (gboolean        using_ntp,
54
 
                                      GFunc           callback,
55
 
                                      gpointer        data,
56
 
                                      GDestroyNotify  notify);
57
 
#endif