PageRenderTime 53ms CodeModel.GetById 44ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/.attic/sshfs-gui/AppController.h

http://macfuse.googlecode.com/
C++ Header | 40 lines | 21 code | 6 blank | 13 comment | 0 complexity | 3b9c1473c2305afaab9a21c7309a01c8 MD5 | raw file
 1// Copyright (C) 2007 Google Inc.
 2// 
 3// Licensed under the Apache License, Version 2.0 (the "License");
 4// you may not use this file except in compliance with the License.
 5// You may obtain a copy of the License at
 6// 
 7//      http://www.apache.org/licenses/LICENSE-2.0
 8// 
 9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#import <Cocoa/Cocoa.h>
16
17@interface AppController : NSObject
18{
19  IBOutlet NSPanel *connectPanel_;
20  IBOutlet NSTextField *pathField_;
21  IBOutlet NSTextField *serverField_;
22  IBOutlet NSTextField *usernameField_;
23}
24
25- (IBAction)showConnect:(id)sender;
26- (IBAction)connectCancel:(id)sender;
27- (IBAction)connectOK:(id)sender;
28
29- (IBAction)clearRecents:(id)sender;
30
31- (void)sshConnect:(NSString *)server
32          username:(NSString *)username
33              path:(NSString *)path;
34
35- (void)addToRecents:(NSString *)server
36            username:(NSString *)username
37                path:(NSString *)path;
38- (void)menuNeedsUpdate:(NSMenu *)menu;
39- (void)connectToRecent:(id)sender;
40@end