Fix for stupid Solaris (maybe other Sysv systems too).
[wmaker-crm.git] / src / wmsound.h
blob8fe33e6c9a69a3322dc51a317a6fa3a5274e1098
1 /*
2 * WMSound Server
3 *
4 * Copyright (c) 1997 Anthony P. Quinn
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
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.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 * USA.
22 #ifndef WMSOUND_H_
23 #define WMSOUND_H_
25 #define WMSOUND_SHADE 1001
26 #define WMSOUND_UNSHADE 1002
27 #define WMSOUND_MAXIMIZE 1003
28 #define WMSOUND_UNMAXIMIZE 1004
29 #define WMSOUND_ICONIFY 1005
30 #define WMSOUND_DEICONIFY 1006
31 #define WMSOUND_HIDE 1007
32 #define WMSOUND_UNHIDE 1008
33 #define WMSOUND_APPSTART 1009
34 #define WMSOUND_APPEXIT 1010
35 #define WMSOUND_DOCK 1011
36 #define WMSOUND_UNDOCK 1012
37 #define WMSOUND_KABOOM 1013
39 #if 0
40 /* don't delete this */
41 extern WWindow *wSoundServer;
42 extern Atom WSStartup, WSShade, WSUnshade, WSShutdown;
43 extern Atom WSMaximize, WSUnmaximize, WSIconify, WSUniconify, WSAppStart;
44 extern Atom WSHide, WSUnhide, WSAppExit, WSDock, WSUnDock, WSKaboom;
45 extern WApplication *wSoundApp;
46 #endif
49 void wSoundPlay(long event_sound);
50 void wSoundServerGrab(Window wm_win);
52 #endif /*WMSOUND_H_*/