Oolite
1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
src
Core
Scripting
OOJSPopulatorDefinition.h
Go to the documentation of this file.
1
/*
2
3
OOJSPopulatorDefinition.h
4
5
6
Oolite
7
Copyright (C) 2004-2013 Giles C Williams and contributors
8
9
This program is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License
11
as published by the Free Software Foundation; either version 2
12
of the License, or (at your option) any later version.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22
MA 02110-1301, USA.
23
24
*/
25
26
#import "
OOJSScript.h
"
27
#include <jsapi.h>
28
#import "
OOMaths.h
"
29
30
@interface
OOJSPopulatorDefinition
:
OOWeakRefObject
31
{
32
@private
33
jsval
_callback
;
34
JSObject *
_callbackThis
;
35
OOJSScript
*
_owningScript
;
36
}
37
38
- (jsval)callback;
39
- (void)setCallback:(jsval)callback;
40
- (JSObject *)callbackThis;
41
- (void)setCallbackThis:(JSObject *)callbackthis;
42
43
- (void)runCallback:(HPVector)location;
44
45
@end
46
OOJSScript.h
OOMaths.h
OOJSPopulatorDefinition
Definition
OOJSPopulatorDefinition.h:31
OOJSPopulatorDefinition::_callback
jsval _callback
Definition
OOJSPopulatorDefinition.h:33
OOJSPopulatorDefinition::_owningScript
OOJSScript * _owningScript
Definition
OOJSPopulatorDefinition.h:35
OOJSPopulatorDefinition::_callbackThis
JSObject * _callbackThis
Definition
OOJSPopulatorDefinition.h:34
OOJSScript
Definition
OOJSScript.h:33
OOWeakRefObject
Definition
OOWeakReference.h:139
Generated by
1.12.0