Oolite
Loading...
Searching...
No Matches
OOJSExhaustPlume.h
Go to the documentation of this file.
1
/*
2
3
OOJSExhaustPlume.h (QuickJS-ng)
4
5
JavaScript proxy for OOExhaustPlumeEntity.
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 "
OOExhaustPlumeEntity.h
"
28
#import <Foundation/Foundation.h>
29
#include <quickjs.h>
30
31
void
InitOOJSExhaustPlume
(JSContext* context, JSValueConst global);
32
33
JSClassID
JSExhaustPlumeClassID
(
void
);
34
35
@interface
OOExhaustPlumeEntity (OOJavaScriptExtensions)
36
37
// Replaces SpiderMonkey's -getJSClass:andPrototype:.
38
- (JSClassID)
oo_jsClassID
;
39
- (NSString*)
oo_jsClassName
;
40
- (BOOL)
isVisibleToScripts
;
41
42
@end
OOExhaustPlumeEntity.h
InitOOJSExhaustPlume
void InitOOJSExhaustPlume(JSContext *context, JSObject *global)
Definition
OOJSExhaustPlume.m:74
JSExhaustPlumeClassID
JSClassID JSExhaustPlumeClassID(void)
Definition
OOJSExhaustPlume.m:75
-[OOExhaustPlumeEntity(OOJavaScriptExtensions) isVisibleToScripts]
BOOL isVisibleToScripts()
Definition
OOJSExhaustPlume.m:116
-[OOExhaustPlumeEntity(OOJavaScriptExtensions) oo_jsClassName]
NSString * oo_jsClassName()
Definition
OOJSExhaustPlume.m:111
-[OOExhaustPlumeEntity(OOJavaScriptExtensions) oo_jsClassID]
JSClassID oo_jsClassID()
Definition
OOJSExhaustPlume.m:106
src
Core
Scripting
QuickJS
OOJSExhaustPlume.h
Generated by
1.15.0