summaryrefslogtreecommitdiffstats
path: root/other-licenses/7zstub/src/7zip/Archive/7z/7zMethods.h
blob: 429199d0445b9712a9e9afd5ee383627cd16ab2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// 7zMethods.h

#ifndef __7Z_METHODS_H
#define __7Z_METHODS_H

#include "7zMethodID.h"

namespace NArchive {
namespace N7z {

struct CMethodInfo
{
  UString Name;
  bool EncoderIsAssigned;
  bool DecoderIsAssigned;
  UInt32 NumInStreams;
  UInt32 NumOutStreams;
  CLSID Encoder;
  CLSID Decoder;
  // UString Description;
  CSysString FilePath;
};

struct CMethodInfo2: public CMethodInfo
{
  CMethodID MethodID;
};

void LoadMethodMap();
bool GetMethodInfo(const CMethodID &methodID, CMethodInfo &methodInfo);
bool GetMethodInfo(const UString &name, CMethodInfo2 &methodInfo);

}}

#endif