~ubuntu-branches/ubuntu/vivid/alarm-clock-applet/vivid

« back to all changes in this revision

Viewing changes to src/edit-alarm.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-03-17 09:02:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100317090244-ni0ye04mva2hxe10
Tags: 0.3.0-1
* New upstream release
* debian/control:
  + No change bump of Standards-Version to 3.8.4
  + Update build-deps:
    - Drop libglade, libpanel-applet, libgnomevfs2, libgnome{2,ui}
    - Add libxml2-dev and libunique-dev, intltool
* debian/patches/01_update-alarms-eta,patch:
  + Dropped, applied upstream
* debian/(alarm-clock-applet.1, alarm-clock-applet.manpages):
  + Add manpage for alarm-clock-applet, now that the binary is moved to
    /usr/bin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * edit-alarm.h -- Alarm settings dialog
3
 
 * 
4
 
 * Copyright (C) 2007-2008 Johannes H. Jensen <joh@pseudoberries.com>
5
 
 * 
6
 
 * This program is free software; you can redistribute it and/or
7
 
 * modify it under the terms of the GNU General Public License
8
 
 * as published by the Free Software Foundation; either version 2
9
 
 * of the License, or (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19
 
 * 
20
 
 * Authors:
21
 
 *              Johannes H. Jensen <joh@pseudoberries.com>
22
 
 */
23
 
 
24
 
#ifndef EDITALARM_H_
25
 
#define EDITALARM_H_
26
 
 
27
 
#include "alarm-applet.h"
28
 
#include "alarm.h"
29
 
#include "player.h"
30
 
 
31
 
typedef struct _AlarmSettingsDialog {
32
 
        
33
 
        AlarmApplet *applet;
34
 
        Alarm *alarm;
35
 
        
36
 
        /* Media player for previews */
37
 
        MediaPlayer *player;
38
 
        
39
 
        GtkWidget *dialog;
40
 
        GtkWidget *clock_toggle, *timer_toggle;
41
 
        GtkWidget *label_entry;
42
 
        GtkWidget *hour_spin, *min_spin, *sec_spin;
43
 
        
44
 
        /* Repeat */
45
 
        GtkWidget *repeat_expand;
46
 
        GtkWidget *repeat_label;
47
 
        GtkWidget *repeat_check[7];             /* Mon, tue, ..., sun check boxes */
48
 
        
49
 
        /* Snooze */
50
 
        GtkWidget *snooze_check;
51
 
        GtkWidget *snooze_spin;
52
 
        
53
 
        /* Notification */
54
 
        GtkWidget *notify_sound_radio;
55
 
        GtkWidget *notify_sound_box;
56
 
        GtkWidget *notify_sound_stock;
57
 
        GtkWidget *notify_sound_combo;
58
 
        GtkWidget *notify_sound_loop_check;
59
 
        GtkWidget *notify_sound_preview;
60
 
        
61
 
        GtkWidget *notify_app_radio;
62
 
        GtkWidget *notify_app_box;
63
 
        GtkWidget *notify_app_combo;
64
 
        GtkWidget *notify_app_command_box;
65
 
        GtkWidget *notify_app_command_entry;
66
 
        
67
 
        GtkWidget *notify_bubble_check;
68
 
        
69
 
} AlarmSettingsDialog;
70
 
 
71
 
void
72
 
display_edit_alarm_dialog (AlarmApplet *applet, Alarm *alarm);
73
 
 
74
 
void
75
 
alarm_settings_dialog_close (AlarmSettingsDialog *dialog);
76
 
 
77
 
#endif /*EDITALARM_H_*/