Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/Classes/LoadingPanelController.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download) (as text)
Sat Sep 3 06:22:57 2011 UTC (12 years, 7 months ago) by toshinagata1964
File MIME type: text/x-chdr
File size: 1028 byte(s)
initial import
1 //
2 // LoadingPanelController.h
3 //
4 // Created by Toshi Nagata.
5 /*
6 Copyright (c) 2000-2011 Toshi Nagata. All rights reserved.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation version 2 of the License.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 */
17
18 #import <Cocoa/Cocoa.h>
19
20 @interface LoadingPanelController : NSWindowController
21 {
22 IBOutlet id indicator;
23 IBOutlet id textField;
24 NSModalSession session;
25
26 BOOL canceled;
27 }
28
29 - (id)initWithTitle: (NSString *)title andCaption: (NSString *)caption;
30 - (id)beginSession;
31 - (BOOL)runSession;
32 - (id)endSession;
33 - (void)setProgressAmount: (double)amount;
34 - (void)setCaption: (NSString *)caption;
35 - (BOOL)canceled;
36 - (IBAction)cancelAction:(id)sender;
37
38 @end

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26