Welcome to mirror list, hosted at ThFree Co, Russian Federation.

7zMethods.h « 7z « Archive « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 231f318398a159f5684cc1ce4aeef82d643f9bb7 (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