libs-steptalk/Frameworks/StepTalk/STScriptObject.h
Stefan Urbanek 5c5c430b4a Changed from lib to framework
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@17436 72102866-910b-0410-8b05-ffd578937521
2003-08-06 17:21:45 +00:00

28 lines
678 B
Objective-C

/* 2003 Aug 5 */
#import <Foundation/NSObject.h>
@class NSMutableDictionary;
@class NSDictionary;
@class NSArray;
@class STMethod;
@interface STScriptObject:NSObject
{
NSMutableDictionary *ivars;
NSMutableDictionary *methods;
}
- initWithInstanceVariableNames:(NSString *)names;
- (void)setObject:(id)anObject forVariable:(NSString *)aName;
- (id)objectForVariable:(NSString *)aName;
- (NSArray *)instanceVariableNames;
- (void)addMethod:(STMethod *)aMethod;
- (STMethod *)methodWithName:(NSString *)aName;
- (void)removeMethod:(STMethod *)aMethod;
- (void)removeMethodWithName:(NSString *)aName;
- (NSArray *)methodNames;
- (NSDictionary *)methodDictionary;
@end