Logo Search packages:      
Sourcecode: ume-announcer version File versions  Download package

callbacks.c

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <gtk/gtk.h>

#include "callbacks.h"
#include "interface.h"
#include "support.h"
#include "sdlplay.h"

void
on_AlarmDialog_show                    (GtkWindow       *window,
                                        gpointer         user_data)
{
    init_audio();
    load_sound ("/usr/share/sounds/ume-announcer/alarm.wav");
    play_alarm();
}


void
on_stopbutton_clicked                  (GtkButton       *button,
                                        gpointer         user_data)
{
    close_audio();
}


Generated by  Doxygen 1.6.0   Back to index