Browse Subversion Repository
Contents of /trunk/Ruby_bindings/MDRubyDialog.h
Parent Directory
| Revision Log
Revision 4 -
( show annotations)
( download)
( as text)
Sat Sep 3 06:22:57 2011 UTC
(12 years, 8 months ago)
by toshinagata1964
File MIME type: text/x-chdr
File size: 734 byte(s)
initial import
| 1 |
// |
| 2 |
// MDRubyDialog.h |
| 3 |
// Alchemusica |
| 4 |
// |
| 5 |
// Created by Toshi Nagata on 08/04/13. |
| 6 |
// Copyright 2008-2011 __MyCompanyName__. All rights reserved. |
| 7 |
// |
| 8 |
|
| 9 |
#ifndef __MDRubyDialog__ |
| 10 |
#define __MDRubyDialog__ |
| 11 |
|
| 12 |
#import <Cocoa/Cocoa.h> |
| 13 |
|
| 14 |
#include <ruby.h> |
| 15 |
#include "MDHeaders.h" |
| 16 |
|
| 17 |
@interface MDRubyDialogController : NSWindowController { |
| 18 |
VALUE dval; /* Ruby object representing this object */ |
| 19 |
NSMutableArray *ditems; /* Array of dialog items */ |
| 20 |
} |
| 21 |
- (void)dialogItemAction: (id)sender; |
| 22 |
- (void)setRubyObject: (VALUE)val; |
| 23 |
- (void)addDialogItem: (id)ditem; |
| 24 |
- (id)dialogItemAtIndex: (int)index; |
| 25 |
- (int)searchDialogItem: (id)ditem; |
| 26 |
@end |
| 27 |
|
| 28 |
// MRDialog class |
| 29 |
extern VALUE cMRDialog; |
| 30 |
|
| 31 |
void MRDialogInitClass(void); |
| 32 |
|
| 33 |
#endif /* __MDRubyDialog__ */ |
| 34 |
|
|