1 /*
2  * Copyright (C) 2008-2020 Kim Woelders
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to
6  * deal in the Software without restriction, including without limitation the
7  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8  * sell copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies of the Software, its documentation and marketing & publicity
13  * materials, and acknowledgment shall be given in the documentation, materials
14  * and software packages that this Software was used.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19  * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22  */
23 #ifndef _SOUNDS_H_
24 #define _SOUNDS_H_
25 
26 #include "config.h"
27 
28 typedef enum {
29    SOUND_NONE = 0,
30    SOUND_ALERT,
31    SOUND_BUTTON_CLICK,
32    SOUND_BUTTON_RAISE,
33    SOUND_DEICONIFY,
34    SOUND_DESKTOP_LOWER,
35    SOUND_DESKTOP_RAISE,
36    SOUND_DESKTOP_SHUT,
37    SOUND_ERROR_IPC,
38    SOUND_EXIT,
39    SOUND_FOCUS_SET,
40    SOUND_ICONIFY,
41    SOUND_INSERT_KEYS,
42    SOUND_LOGOUT,
43    SOUND_LOWER,
44    SOUND_MENU_SHOW,
45    SOUND_MOVE_AREA_DOWN,
46    SOUND_MOVE_AREA_LEFT,
47    SOUND_MOVE_AREA_RIGHT,
48    SOUND_MOVE_AREA_UP,
49    SOUND_MOVE_RESIST,
50    SOUND_MOVE_START,
51    SOUND_MOVE_STOP,
52    SOUND_RAISE,
53    SOUND_RESIZE_START,
54    SOUND_RESIZE_STOP,
55    SOUND_SCANNING,
56    SOUND_SETTINGS_ACTIVE,
57    SOUND_SETTINGS_ALL,
58    SOUND_SETTINGS_AREA,
59    SOUND_SETTINGS_AUDIO,
60    SOUND_SETTINGS_AUTORAISE_unused,
61    SOUND_SETTINGS_BG,
62    SOUND_SETTINGS_COMPOSITE,
63    SOUND_SETTINGS_DESKTOPS,
64    SOUND_SETTINGS_FOCUS,
65    SOUND_SETTINGS_FX,
66    SOUND_SETTINGS_GROUP,
67    SOUND_SETTINGS_ICONBOX,
68    SOUND_SETTINGS_MENUS,
69    SOUND_SETTINGS_MISCELLANEOUS,
70    SOUND_SETTINGS_MOVERESIZE,
71    SOUND_SETTINGS_PAGER,
72    SOUND_SETTINGS_PLACEMENT,
73    SOUND_SETTINGS_SESSION,
74    SOUND_SETTINGS_TOOLTIPS,
75    SOUND_SETTINGS_TRANS,
76    SOUND_SHADE,
77    SOUND_SLIDEOUT_SHOW,
78    SOUND_STARTUP,
79    SOUND_UNSHADE,
80    SOUND_WAIT,
81    SOUND_WINDOW_BORDER_CHANGE,
82    SOUND_WINDOW_CHANGE_LAYER_DOWN,
83    SOUND_WINDOW_CHANGE_LAYER_UP,
84    SOUND_WINDOW_CLOSE,
85    SOUND_WINDOW_SLIDE,
86    SOUND_WINDOW_SLIDE_END,
87    SOUND_WINDOW_STICK,
88    SOUND_WINDOW_UNSTICK,
89    SOUND_NOT_USED
90 } esound_e;
91 
92 #if ENABLE_SOUND
93 
94 void                SoundPlay(int sound);
95 
96 #else
97 
98 #define SoundPlay(sound) do{}while(0)
99 
100 #endif
101 
102 #endif /* _SOUNDS_H_ */
103