1 |
|
---|
2 | /***********************************************************************
|
---|
3 |
|
---|
4 | $Id: arccnrs.h 1306 2008-11-30 19:23:56Z gyoung $
|
---|
5 |
|
---|
6 | arccnrs common definitions
|
---|
7 |
|
---|
8 | Copyright (c) 1993-98 M. Kimes
|
---|
9 | Copyright (c) 2001, 2008 Steven H. Levine
|
---|
10 |
|
---|
11 | 05 Jan 08 SHL Move arccnrs.c definitions here
|
---|
12 | 30 Nov 08 GKY Add the option of creating a subdirectory from the arcname
|
---|
13 | for the extract path to arc container.
|
---|
14 |
|
---|
15 | ***********************************************************************/
|
---|
16 |
|
---|
17 | #if !defined(ARCCNRS_H)
|
---|
18 | #define ARCCNRS_H
|
---|
19 |
|
---|
20 | #if !defined(OS2_INCLUDED)
|
---|
21 | #define INCL_WINSTDCNR // avl.h
|
---|
22 | #include <os2.h>
|
---|
23 | #else
|
---|
24 | #if !defined(INCL_WINSTDCNR)
|
---|
25 | #error INCL_WINSTDCNR required
|
---|
26 | #endif
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #include "avl.h" // ARC_TYPE
|
---|
30 |
|
---|
31 | #pragma pack(1)
|
---|
32 |
|
---|
33 | typedef struct _ARCITEM
|
---|
34 | { // ARCHIVE CONTAINER RECORD STRUCTURE
|
---|
35 | MINIRECORDCORE rc; // Base information
|
---|
36 | HWND hwndCnr; /* Container holding this record */
|
---|
37 | PSZ pszFileName; // Points to full path name or NullStr
|
---|
38 | PSZ pszDisplayName; // Points to displayable part of path name - used by CFA_STRING
|
---|
39 | CHAR szDate[40]; // File's assembled date
|
---|
40 | PSZ pszDate; // Pointer to date
|
---|
41 | CDATE date; // if we know date format
|
---|
42 | CTIME time; // if we know time format
|
---|
43 | ULONGLONG cbFile; // File's original size
|
---|
44 | ULONGLONG cbComp; // File's compressed size
|
---|
45 | ULONG flags;
|
---|
46 | }
|
---|
47 | ARCITEM, *PARCITEM;
|
---|
48 |
|
---|
49 | #pragma pack()
|
---|
50 |
|
---|
51 | MRESULT EXPENTRY ArcClientWndProc(HWND hwnd, ULONG msg, MPARAM mp1,
|
---|
52 | MPARAM mp2);
|
---|
53 | HWND StartArcCnr(HWND hwndParent, HWND hwndCaller, CHAR * arcname, INT flags,
|
---|
54 | ARC_TYPE * sinfo);
|
---|
55 | MRESULT EXPENTRY ArcTextProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
56 | MRESULT EXPENTRY ArcFolderProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
57 | MRESULT EXPENTRY ArcObjWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
58 |
|
---|
59 | // Data declarations
|
---|
60 | extern HWND ArcCnrMenu;
|
---|
61 | extern HWND ArcMenu;
|
---|
62 | extern CHAR ArcTempRoot[CCHMAXPATH];
|
---|
63 | extern BOOL fArcStuffVisible;
|
---|
64 | extern CHAR lastextractpath[CCHMAXPATH];
|
---|
65 | extern ULONGLONG ullDATFileSpaceNeeded;
|
---|
66 | extern BOOL fFileNameCnrPath;
|
---|
67 |
|
---|
68 | #endif // ARCCNRS_H
|
---|