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

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

#ifndef __SEVENZIP_CONTEXTMENUFLAGS_H
#define __SEVENZIP_CONTEXTMENUFLAGS_H

namespace NContextMenuFlags
{
  const UINT32 kExtract = 1 << 0;
  const UINT32 kExtractHere = 1 << 1;
  const UINT32 kExtractTo = 1 << 2;
  // const UINT32 kExtractEach = 1 << 3;

  const UINT32 kTest = 1 << 4;

  const UINT32 kOpen = 1 << 5;

  const UINT32 kCompress = 1 << 8;
  const UINT32 kCompressTo7z = 1 << 9;
  const UINT32 kCompressEmail = 1 << 10;
  const UINT32 kCompressTo7zEmail = 1 << 11;

  const UINT32 kCompressToZip = 1 << 12;
  const UINT32 kCompressToZipEmail = 1 << 13;

  inline UINT32 GetDefaultFlags() { 
    return 
      kOpen | kTest | 
      kExtract | kExtractHere | kExtractTo |
      kCompress | kCompressEmail | 
      kCompressTo7z | kCompressTo7zEmail | 
      kCompressToZip | kCompressToZipEmail; }     
}

#endif