1/* 2 * Copyright (c) 2006-2008, The RubyCocoa Project. 3 * Copyright (c) 2001-2006, FUJIMOTO Hisakuni. 4 * All Rights Reserved. 5 * 6 * RubyCocoa is free software, covered under either the Ruby's license or the 7 * LGPL. See the COPYRIGHT file for more information. 8 */ 9 10#ifndef _RUBYCOCOA_H_ 11#define _RUBYCOCOA_H_ 12 13#import <RubyCocoa/RBRuntime.h> 14#import <Foundation/NSObject.h> 15 16@interface RubyCocoa : NSObject 17+ (int) bundleInitWithProgram: (const char*) path_to_ruby_program 18 class: (Class) objc_class 19 param: (id) additional_param; 20 21+ (int) applicationInitWithProgram: (const char*) path_to_ruby_program 22 argc: (int) argc 23 argv: (const char**) argv 24 param: (id) additional_param; 25 26+ (int) applicationMainWithProgram: (const char*) path_to_ruby_program 27 argc: (int) argc 28 argv: (const char**) argv; 29@end 30 31#endif 32