Browse CVS Repository
Annotation of /undmail/guiproto/DummyOutlineItem.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( hide annotations)
( download)
( as text)
Mon Nov 11 15:40:37 2002 UTC
(21 years, 5 months ago)
by footashida
Branch point for: MAIN, ventor
File MIME type: text/x-chdr
Initial revision
| 1 |
footashida |
1.1 |
#import <Foundation/Foundation.h> |
| 2 |
|
|
|
| 3 |
|
|
|
| 4 |
|
|
@interface DummyOutlineItem : NSObject { |
| 5 |
|
|
NSString *itemName; |
| 6 |
|
|
NSMutableArray *childItems; |
| 7 |
|
|
} |
| 8 |
|
|
- (id)initWithName:(NSString *)name; |
| 9 |
|
|
- (id)itemName; |
| 10 |
|
|
- (int)numberOfChildren; // Returns -1 for leaf nodes |
| 11 |
|
|
- (void)addChild:(DummyOutlineItem *)item; |
| 12 |
|
|
- (DummyOutlineItem *)childAtIndex:(int)n; // Invalid to call on leaf nodes |
| 13 |
|
|
@end |
|