1 |
|
---|
2 | /***********************************************************************
|
---|
3 |
|
---|
4 | $Id: arccnrs.h 1220 2008-09-13 23:09:45Z jbs $
|
---|
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 |
|
---|
13 | ***********************************************************************/
|
---|
14 |
|
---|
15 | #if !defined(ARCCNRS_H)
|
---|
16 | #define ARCCNRS_H
|
---|
17 |
|
---|
18 | #if !defined(OS2_INCLUDED)
|
---|
19 | #define INCL_WINSTDCNR // avl.h
|
---|
20 | #include <os2.h>
|
---|
21 | #else
|
---|
22 | #if !defined(INCL_WINSTDCNR)
|
---|
23 | #error INCL_WINSTDCNR required
|
---|
24 | #endif
|
---|
25 | #endif
|
---|
26 |
|
---|
27 | #include "avl.h" // ARC_TYPE
|
---|
28 |
|
---|
29 | #pragma pack(1)
|
---|
30 |
|
---|
31 | typedef struct _ARCITEM
|
---|
32 | { // ARCHIVE CONTAINER RECORD STRUCTURE
|
---|
33 | MINIRECORDCORE rc; // Base information
|
---|
34 | HWND hwndCnr; /* Container holding this record */
|
---|
35 | PSZ pszFileName; // Points to full path name or NullStr
|
---|
36 | PSZ pszDisplayName; // Points to displayable part of path name - used by CFA_STRING
|
---|
37 | CHAR szDate[40]; // File's assembled date
|
---|
38 | PSZ pszDate; // Pointer to date
|
---|
39 | CDATE date; // if we know date format
|
---|
40 | CTIME time; // if we know time format
|
---|
41 | ULONGLONG cbFile; // File's original size
|
---|
42 | ULONGLONG cbComp; // File's compressed size
|
---|
43 | ULONG flags;
|
---|
44 | }
|
---|
45 | ARCITEM, *PARCITEM;
|
---|
46 |
|
---|
47 | #pragma pack()
|
---|
48 |
|
---|
49 | MRESULT EXPENTRY ArcClientWndProc(HWND hwnd, ULONG msg, MPARAM mp1,
|
---|
50 | MPARAM mp2);
|
---|
51 | HWND StartArcCnr(HWND hwndParent, HWND hwndCaller, CHAR * arcname, INT flags,
|
---|
52 | ARC_TYPE * sinfo);
|
---|
53 | MRESULT EXPENTRY ArcTextProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
54 | MRESULT EXPENTRY ArcFolderProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
55 | MRESULT EXPENTRY ArcObjWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
56 |
|
---|
57 | // Data declarations
|
---|
58 | extern HWND ArcCnrMenu;
|
---|
59 | extern HWND ArcMenu;
|
---|
60 | extern CHAR ArcTempRoot[CCHMAXPATH];
|
---|
61 | extern BOOL fArcStuffVisible;
|
---|
62 | extern CHAR lastextractpath[CCHMAXPATH];
|
---|
63 | extern ULONGLONG ullDATFileSpaceNeeded;
|
---|
64 |
|
---|
65 | #endif // ARCCNRS_H
|
---|