~ubuntu-branches/ubuntu/natty/gtkboard/natty

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.11pre0+cvs.2003.11.02-3/src/sound.h

  • Committer: Bazaar Package Importer
  • Author(s): Barak A. Pearlmutter
  • Date: 2011-03-15 12:43:00 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110315124300-zf9hkdc5vjyqge7e
Tags: 0.11pre0+cvs.2003.11.02-3
static size unknown gcc-4.5 fix src/{menu,wordtris}.c (closes: #564999)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SOUND_H_
 
2
#define _SOUND_H_
 
3
 
 
4
#include "config.h"
 
5
 
 
6
typedef enum 
 
7
{
 
8
        SOUND_PROGRAM_START,
 
9
        SOUND_ILLEGAL_MOVE,
 
10
        SOUND_WON,
 
11
        SOUND_LOST,
 
12
        SOUND_USER_MOVE,
 
13
        SOUND_MACHINE_MOVE,
 
14
        SOUND_GAME_START,
 
15
        SOUND_GAME_OVER,
 
16
        SOUND_HIGHSCORE,
 
17
}SoundEvent;
 
18
 
 
19
void sound_init();
 
20
void sound_stop ();
 
21
void sound_play (SoundEvent event);
 
22
void sound_set_enabled (gboolean enabled);
 
23
gboolean sound_get_enabled ();
 
24
void sound_set_enabled (gboolean enabled);
 
25
void sound_enable_pref_cb (gchar *key, gchar *value);
 
26
 
 
27
#endif