Initial revision
[wmaker-crm.git] / src / wmsound.h
blob334866dcf03d1dadcf4cb590ccd8665db52e7f7c
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
37 #if 0
38 /* don't delete this */
39 extern WWindow *wSoundServer;
40 extern Atom WSStartup, WSShade, WSUnshade, WSShutdown;
41 extern Atom WSMaximize, WSUnmaximize, WSIconify, WSUniconify, WSAppStart;
42 extern Atom WSHide, WSUnhide, WSAppExit;
43 extern WApplication *wSoundApp;
44 #endif
47 void wSoundPlay(long event_sound);
48 void wSoundInit(Display *dpy);
49 void wSoundServerGrab(char *name, Window window);
51 #endif /*WMSOUND_H_*/