Develop and Download Open Source Software

Browse CVS Repository

Contents of /lupin/lupin/LupinBrowser/LPDocumentController.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download) (as text)
Wed May 18 04:45:47 2005 UTC (18 years, 10 months ago) by letter
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +11 -3 lines
File MIME type: text/x-chdr
managing temporary folders

1 /*
2 * Copyright (c) 2004-2005 The Lupin Project. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without modification, are permitted
5 * provided that the following conditions are met:
6 *
7 * 1. Redistributions of source code must retain the above copyright notice, this list of conditions
8 * and the following disclaimer.
9 *
10 * 2. Redistributions in binary form must reproduce the above copyright notice, this list of
11 * conditions and the following disclaimer in the documentation and/or other materials provided
12 * with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE LUPIN PROJECT ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
15 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE LUPIN PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
17 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
20 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
21 * POSSIBILITY OF SUCH DAMAGE.
22 */
23
24 #import <Cocoa/Cocoa.h>
25 #import "LPPluginsController.h"
26 #import "LPPreferencesController.h"
27 #import "LPDocument.h"
28 #import <Lupin/LPCompress.h>
29
30 @interface LPDocumentController : NSDocumentController
31 {
32 LPPluginsController* _pluginsController;
33 LPPreferencesController* _preferencesController;
34 NSArray* _compresses; //! ���������������������(LPCompress���������������������
35 NSMutableArray* _temporaryDirectories; //! ���������������������������������������������������������������������
36 // !������������������������������������������������������������������������������������������������������������������������������������������������������
37
38 IBOutlet NSButton *_compressOptionButton;
39 IBOutlet NSPanel *_compressOptionPanel;
40 IBOutlet NSPopUpButton *_compressSelectButton;
41 IBOutlet NSView *_compressOptionView;
42 IBOutlet NSView *_compressSelectView;
43 }
44
45 - (LPPluginsController*)pluginsController;
46 - (LPPreferencesController*)preferencesController;
47 #pragma mark -
48 #pragma mark Reserving Temporary directories
49 - (void)addDirectory:(NSString*)path;
50 - (void)removeDirectory:(NSString*)path;
51 #pragma mark -
52 #pragma mark Uncompressing
53 - (IBAction)inspect:(id)sender;
54 - (IBAction)uncompress:(id)sender;
55 - (void)uncompressFile:(NSString*)fileName;
56 #pragma mark -
57 #pragma mark Compressing
58 - (void)loadCompress;
59 - (IBAction)compress:(id)sender;
60 - (IBAction)optionAccept:(id)sender;
61 - (IBAction)optionCancel:(id)sender;
62 - (IBAction)optionSelected:(id)sender;
63 - (IBAction)showOption:(id)sender;
64
65 - (void)compressFiles:(NSArray*)files;
66 @end

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