ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/MacOSX/Launcher/VMListController.h
Revision: 1.6
Committed: 2009-08-12T02:18:19Z (15 years, 3 months ago) by asvitkine
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -0 lines
Log Message:
re-arrange virtual machines by drag and drop
add a contextual menu that also allows to
reveal the selected virtual machine in finder

File Contents

# User Rev Content
1 asvitkine 1.1 /*
2     * VMListController.h - SheepShaver VM manager in Cocoa on Mac OS X
3     *
4     * Copyright (C) 2009 Alexei Svitkine
5     *
6     * This program is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * This program is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with this program; if not, write to the Free Software
18     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19     */
20    
21     #import <Cocoa/Cocoa.h>
22    
23     @interface VMListController : NSWindowController {
24     IBOutlet NSTableView *vmList;
25 asvitkine 1.4 IBOutlet NSButton *newButton;
26     IBOutlet NSButton *importButton;
27     IBOutlet NSButton *settingsButton;
28     IBOutlet NSButton *launchButton;
29 asvitkine 1.5 NSMutableDictionary *tasks;
30 asvitkine 1.1 NSMutableArray *vmArray;
31 asvitkine 1.6 NSString *vmBeingDragged;
32 asvitkine 1.1 }
33    
34     + (id) sharedInstance;
35    
36     - (id) init;
37     - (void) awakeFromNib;
38    
39     - (IBAction) newVirtualMachine: (id) sender;
40     - (IBAction) importVirtualMachine: (id) sender;
41     - (IBAction) editVirtualMachineSettings: (id) sender;
42 asvitkine 1.2 - (IBAction) launchVirtualMachine: (id) sender;
43 asvitkine 1.3 - (IBAction) deleteVirtualMachine: (id) sender;
44 asvitkine 1.1
45     @end