Source

Murky / Source / ProjectsController.h

Full commit
//
//  ProjectsController.h
//  Murky
//
//  Copyright 2008-2009 Jens Alfke. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class HgProject;


/** Controller for the Projects window, which shows a user-configurable tree
    of repositories and folders thereof, for quick access. */
@interface ProjectsController : NSWindowController
{
    IBOutlet NSOutlineView *_outline;
    IBOutlet NSTreeController *_tree;
    IBOutlet NSTextField *_introMessage;
    
    HgProject *_root;
    BOOL _changed, _exists;
}

+ (ProjectsController*) sharedInstance;
+ (void) applicationLaunched;

- (HgProject*) projects;

- (IBAction) addRemoveProject: (id)sender;
- (IBAction) addProject: (id)sender;
- (IBAction) removeProject: (id)sender;

@end