Develop and Download Open Source Software

Browse CVS Repository

Contents of /lupin/lupin/LupinBrowser/LPDocument.h

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


Revision 1.11 - (show annotations) (download) (as text)
Wed Jul 13 05:06:38 2005 UTC (18 years, 9 months ago) by letter
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -0 lines
File MIME type: text/x-chdr
(change) buildarchiveinfodict is now return infodict

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
25 #import <Cocoa/Cocoa.h>
26 #import <Lupin/LPFile.h>
27 #import <Lupin/LPCompress.h>
28 #import <Lupin/LupinPluginProtocol.h>
29 #import "LPDocumentController.h"
30 #import "LPMainWindowController.h"
31
32 @class LPMainWindowController;
33
34 @interface LPDocument : NSDocument
35 {
36 NSMutableArray* _plugins;
37 NSObject<LupinPluginProtocol>* _plugin;
38 LPFile* _infoDict;
39 NSString* _droppedTemporaryPath;
40 NSArray* _selectedArray;
41 NSTimer *_progressTimer;
42 BOOL _archiveAllUncompressMode; //���������������������������������������������������������YES���������
43 }
44
45 - (LPFile*)buildArchiveInfoDictFromPlugin:(NSObject<LupinPluginProtocol>*)plugin hierarchy:(BOOL)hierarchy;
46 - (LPFile*)infoDict;
47 - (LPMainWindowController*)mainWindowController;
48 - (void)setPlugin:(NSObject<LupinPluginProtocol>*)plugin;
49 - (NSObject<LupinPluginProtocol>*)plugin;
50 - (void)setSelectedArray:(NSArray*)selectedArray;
51 - (void)archiveUncompress:(NSString*)dropPath;
52 - (void)archiveAllUncompress:(NSString*)dropPath;
53 - (void)archiveCompress:(NSString*)archiveName files:(NSArray*)files exclude:(NSArray*)exclude currentPath:(NSString*)currentPath compress:(LPCompress*)compress option:(NSDictionary*)option;
54 - (void)archiveDidUncompress:(LPError)error;
55 - (void)uncompress:(id)sender;
56 - (void)showProcessWindow;
57 - (LPDialogResult)moveFileFrom:(NSString*)fromPath to:(NSString*)toPath onlyFile:(BOOL)onlyFile allOverwrite:(BOOL*)allOverwrite;
58
59 @end

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