source: trunk/dll/arccnrs.h@ 1306

Last change on this file since 1306 was 1306, checked in by Gregg Young, 17 years ago

Added option to use subdirectory based on the archive name for extraction from the arc container; it is set in the notebook and separate from the extract dialog setting; includes help file update, comments and cleanup (Ticket 22)

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
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
33typedef 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}
47ARCITEM, *PARCITEM;
48
49#pragma pack()
50
51MRESULT EXPENTRY ArcClientWndProc(HWND hwnd, ULONG msg, MPARAM mp1,
52 MPARAM mp2);
53HWND StartArcCnr(HWND hwndParent, HWND hwndCaller, CHAR * arcname, INT flags,
54 ARC_TYPE * sinfo);
55MRESULT EXPENTRY ArcTextProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
56MRESULT EXPENTRY ArcFolderProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
57MRESULT EXPENTRY ArcObjWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
58
59// Data declarations
60extern HWND ArcCnrMenu;
61extern HWND ArcMenu;
62extern CHAR ArcTempRoot[CCHMAXPATH];
63extern BOOL fArcStuffVisible;
64extern CHAR lastextractpath[CCHMAXPATH];
65extern ULONGLONG ullDATFileSpaceNeeded;
66extern BOOL fFileNameCnrPath;
67
68#endif // ARCCNRS_H
Note: See TracBrowser for help on using the repository browser.