mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-19 09:50:43 +00:00
Added missing files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@17440 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bbc3eac654
commit
5d3f2c9748
6 changed files with 101 additions and 8 deletions
|
@ -48,7 +48,7 @@ StepTalk_OBJC_FILES = \
|
|||
STUndefinedObject.m \
|
||||
NSNumber+additions.m \
|
||||
NSObject+additions.m \
|
||||
SteptalkScriptingInfo.m
|
||||
StepTalkScriptingInfo.m
|
||||
|
||||
STEPTALK_HEADER_FILES = \
|
||||
STBundleInfo.h \
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
NSMutableDictionary *ivars;
|
||||
NSMutableDictionary *methods;
|
||||
}
|
||||
+ scriptObject;
|
||||
- initWithInstanceVariableNames:(NSString *)names;
|
||||
|
||||
- (void)setObject:(id)anObject forVariable:(NSString *)aName;
|
||||
|
|
|
@ -3,14 +3,23 @@
|
|||
#import "STScriptObject.h"
|
||||
|
||||
@implementation STScriptObject
|
||||
- initWithInstanceVariableNames:(NSString *)names
|
||||
/** Return new instance of script object without any instance variables */
|
||||
+ scriptObject
|
||||
{
|
||||
return AUTORELEASE([[self alloc] init]);
|
||||
}
|
||||
- init
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
|
||||
methods = [[NSMutableDictionary alloc] init];
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
- initWithInstanceVariableNames:(NSString *)names
|
||||
{
|
||||
return [self init];
|
||||
}
|
||||
- (void)dealloc
|
||||
{
|
||||
RELEASE(methods);
|
||||
|
@ -20,16 +29,16 @@
|
|||
|
||||
- (void)setObject:(id)anObject forVariable:(NSString *)aName
|
||||
{
|
||||
[self _notImplemented:_cmd];
|
||||
[self notImplemented:_cmd];
|
||||
}
|
||||
- (id)objectForVariable:(NSString *)aName
|
||||
{
|
||||
[self _notImplemented:_cmd];
|
||||
[self notImplemented:_cmd];
|
||||
}
|
||||
|
||||
- (NSArray *)instanceVariableNames
|
||||
{
|
||||
[self _notImplemented:_cmd];
|
||||
return [ivars allKeys];
|
||||
}
|
||||
|
||||
- (void)addMethod:(STMethod *)aMethod
|
||||
|
@ -42,7 +51,7 @@
|
|||
}
|
||||
- (void)removeMethod:(STMethod *)aMethod
|
||||
{
|
||||
[self _notImplemented:_cmd];
|
||||
[self notImplemented:_cmd];
|
||||
}
|
||||
- (void)removeMethodWithName:(NSString *)aName
|
||||
{
|
||||
|
|
13
Frameworks/StepTalk/ScriptingInfo.plist
Normal file
13
Frameworks/StepTalk/ScriptingInfo.plist
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
ScriptingInfoClass = StepTalkScriptingInfo;
|
||||
|
||||
Classes = (
|
||||
STEnvironment,
|
||||
STLanguage,
|
||||
STScript,
|
||||
STScriptsManager,
|
||||
STBundleInfo,
|
||||
STEngine,
|
||||
STScriptObject
|
||||
);
|
||||
}
|
32
Frameworks/StepTalk/StepTalkScriptingInfo.h
Normal file
32
Frameworks/StepTalk/StepTalkScriptingInfo.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
StepTalkScriptingInfo.h
|
||||
Module to bring StepTalk classes
|
||||
|
||||
Copyright (c) 2002 Free Software Foundation
|
||||
|
||||
Written by: Stefan Urbanek <urbanek@host.sk>
|
||||
Date: 2002 Jun 18
|
||||
|
||||
This file is part of the StepTalk project.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
*/
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
@interface StepTalkScriptingInfo:NSObject
|
||||
@end
|
||||
|
38
Frameworks/StepTalk/StepTalkScriptingInfo.m
Normal file
38
Frameworks/StepTalk/StepTalkScriptingInfo.m
Normal file
|
@ -0,0 +1,38 @@
|
|||
/**
|
||||
StepTalkScriptingInfo.
|
||||
Module to bring StepTalk classes
|
||||
|
||||
Copyright (c) 2002 Free Software Foundation
|
||||
|
||||
Written by: Stefan Urbanek <urbanek@host.sk>
|
||||
Date: 2002 Jun 18
|
||||
|
||||
This file is part of the StepTalk project.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
*/
|
||||
|
||||
#import "StepTalkScriptingInfo.h"
|
||||
|
||||
@class NSDictionary;
|
||||
|
||||
@implementation StepTalkScriptingInfo
|
||||
+ (NSDictionary *)namedObjectsForScripting
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
@end
|
||||
|
Loading…
Reference in a new issue