diff options
Diffstat (limited to 'CPP/7zip/UI/Explorer/ContextMenuFlags.h')
-rwxr-xr-x | CPP/7zip/UI/Explorer/ContextMenuFlags.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/CPP/7zip/UI/Explorer/ContextMenuFlags.h b/CPP/7zip/UI/Explorer/ContextMenuFlags.h new file mode 100755 index 00000000..d138baf9 --- /dev/null +++ b/CPP/7zip/UI/Explorer/ContextMenuFlags.h @@ -0,0 +1,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 |