Oolite
1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
src
Core
Scripting
OOJSSound.h
Go to the documentation of this file.
1
/*
2
3
OOJSSound.h
4
5
JavaScript sound object.
6
7
Oolite
8
Copyright (C) 2004-2013 Giles C Williams and contributors
9
10
This program is free software; you can redistribute it and/or
11
modify it under the terms of the GNU General Public License
12
as published by the Free Software Foundation; either version 2
13
of the License, or (at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23
MA 02110-1301, USA.
24
25
*/
26
27
#import <Foundation/Foundation.h>
28
#include <jsapi.h>
29
@class
OOSound
;
30
31
32
void
InitOOJSSound
(JSContext *context, JSObject *global);
33
34
35
/* SoundFromJSValue()
36
37
Convert a JS value to a sound. The value may be either a Sound object or a
38
string specifying a sound name.
39
*/
40
OOSound
*
SoundFromJSValue
(JSContext *context, jsval value);
SoundFromJSValue
OOSound * SoundFromJSValue(JSContext *context, jsval value)
Definition
OOJSSound.m:111
InitOOJSSound
void InitOOJSSound(JSContext *context, JSObject *global)
Definition
OOJSSound.m:104
OOSound
Definition
OOALSound.h:31
Generated by
1.12.0