1 #import <Cocoa/Cocoa.h>
3 @interface BaseItem
: NSObject
{
8 NSMutableArray
*m_subitems
;
14 + (BaseItem
*) initWithText
:(NSString
*)text withViewId
:(NSString
*) viewId
;
16 - (void)activateView
:(NSTabView
*) view
;
19 - (BaseItem
*)itemAtIndex
: (int) index
;
21 - (void)addSubItem
:(BaseItem
*) item
;
29 @interface CategoryItemFactory
: BaseItem
34 + (BaseItem
*)initFilesItem
;
35 + (BaseItem
*)initNetworksItem
;
36 + (BaseItem
*)initSearchItem
;
49 @interface amuleSourceListDataSource
: NSObject
51 BaseItem
*g_root_items
[RootItemLast
];
54 + (amuleSourceListDataSource
*)initWithData
;
56 - (int)outlineView
:(NSOutlineView
*)outlineView numberOfChildrenOfItem
:(id
)item
;
57 - (BOOL
)outlineView
:(NSOutlineView
*)outlineView isItemExpandable
:(id
)item
;
58 - (id
)outlineView
:(NSOutlineView
*)outlineView child
:(int)index ofItem
:(id
)item
;
59 - (id
)outlineView
:(NSOutlineView
*)outlineView objectValueForTableColumn
:(NSTableColumn
*)tableColumn byItem
:(id
)item
;
63 @interface CellWithIcon
: NSTextFieldCell
{
69 - (void)setIcon
:(NSImage
*)icon
;
75 @interface SourceViewController
: NSObject
{
76 IBOutlet id m_outline_view
;
77 IBOutlet id m_tab_view
;