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#import <Foundation/Foundation.h>
11#import <RubyCocoa/RubyCocoa.h>
12
13@implementation RubyCocoa
14+ (int) bundleInitWithProgram: (const char*) path_to_ruby_program
15			class: (Class) objc_class
16			param: (id) additional_param
17{
18  return RBBundleInit(path_to_ruby_program, objc_class, additional_param);
19}
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  return RBApplicationInit(path_to_ruby_program, argc, argv, additional_param);
27}
28
29+ (int) applicationMainWithProgram: (const char*) path_to_ruby_program
30			      argc: (int) argc
31			      argv: (const char**) argv
32{
33  return RBApplicationMain(path_to_ruby_program, argc, argv);
34}
35@end
36