ReactOS
0.4.16-dev-297-gc569aee
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
cabman.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS cabinet manager
4
* FILE: tools/cabman/cabman.h
5
* PURPOSE: Cabinet manager header
6
*/
7
8
#pragma once
9
10
#include "
cabinet.h
"
11
#include "
dfp.h
"
12
13
/* Cabinet manager modes */
14
#define CM_MODE_CREATE 0
15
#define CM_MODE_DISPLAY 1
16
#define CM_MODE_EXTRACT 2
17
#define CM_MODE_CREATE_SIMPLE 3
18
19
/* Classes */
20
21
class
CCABManager
:
public
CDFParser
22
{
23
public
:
24
CCABManager
();
25
virtual
~CCABManager
();
26
bool
ParseCmdline
(
int
argc
,
char
*
argv
[]);
27
bool
Run
();
28
bool
IsVerbose
() {
return
Verbose
; }
29
private
:
30
void
Usage
();
31
bool
CreateCabinet
();
32
bool
DisplayCabinet
();
33
bool
ExtractFromCabinet
();
34
35
/* Event handlers */
36
virtual
bool
OnOverwrite
(
PCFFILE
File
,
const
char
*
FileName
)
override
;
37
virtual
void
OnExtract
(
PCFFILE
File
,
const
char
*
FileName
)
override
;
38
virtual
void
OnDiskChange
(
const
char
*
CabinetName
,
const
char
*
DiskLabel
)
override
;
39
virtual
void
OnAdd
(
PCFFILE
Entry
,
const
char
*
FileName
)
override
;
40
virtual
void
OnVerboseMessage
(
const
char
*
Message
)
override
;
41
42
/* Configuration */
43
bool
ProcessAll
;
44
ULONG
Mode
;
45
bool
PromptOnOverwrite
;
46
char
FileName
[
PATH_MAX
];
47
bool
Verbose
;
48
};
49
50
51
/* EOF */
argc
static int argc
Definition:
ServiceArgs.c:12
PATH_MAX
#define PATH_MAX
Definition:
types.h:280
CCABManager
Definition:
cabman.h:22
CCABManager::ProcessAll
bool ProcessAll
Definition:
cabman.h:43
CCABManager::Usage
void Usage()
Definition:
cabman.cxx:188
CCABManager::Verbose
bool Verbose
Definition:
cabman.h:47
CCABManager::IsVerbose
bool IsVerbose()
Definition:
cabman.h:28
CCABManager::~CCABManager
virtual ~CCABManager()
Definition:
cabman.cxx:180
CCABManager::OnVerboseMessage
virtual void OnVerboseMessage(const char *Message) override
Definition:
cabman.cxx:673
CCABManager::PromptOnOverwrite
bool PromptOnOverwrite
Definition:
cabman.h:45
CCABManager::OnExtract
virtual void OnExtract(PCFFILE File, const char *FileName) override
Definition:
cabman.cxx:625
CCABManager::OnOverwrite
virtual bool OnOverwrite(PCFFILE File, const char *FileName) override
Definition:
cabman.cxx:606
CCABManager::ExtractFromCabinet
bool ExtractFromCabinet()
Definition:
cabman.cxx:511
CCABManager::CCABManager
CCABManager()
Definition:
cabman.cxx:167
CCABManager::OnDiskChange
virtual void OnDiskChange(const char *CabinetName, const char *DiskLabel) override
Definition:
cabman.cxx:642
CCABManager::Run
bool Run()
Definition:
cabman.cxx:573
CCABManager::ParseCmdline
bool ParseCmdline(int argc, char *argv[])
Definition:
cabman.cxx:224
CCABManager::Mode
ULONG Mode
Definition:
cabman.h:44
CCABManager::OnAdd
virtual void OnAdd(PCFFILE Entry, const char *FileName) override
Definition:
cabman.cxx:658
CCABManager::CreateCabinet
bool CreateCabinet()
Definition:
cabman.cxx:423
CCABManager::DisplayCabinet
bool DisplayCabinet()
Definition:
cabman.cxx:442
CDFParser
Definition:
dfp.h:63
CDFParser::DiskLabel
PCABINET_NAME DiskLabel
Definition:
dfp.h:129
CDFParser::CabinetName
PCABINET_NAME CabinetName
Definition:
dfp.h:122
File
Definition:
File.h:16
dfp.h
Message
static const WCHAR Message[]
Definition:
register.c:74
argv
#define argv
Definition:
mplay32.c:18
cabinet.h
Entry
base of all file and directory entries
Definition:
entries.h:83
_CFFILE
Definition:
cabinet.c:117
_FileName
Definition:
filecomp.c:348
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
sdk
tools
cabman
cabman.h
Generated on Wed Nov 27 2024 06:14:20 for ReactOS by
1.9.6