GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgConstants.h
1 
29 #pragma once
30 
31 namespace GpgFrontend {
32 
33 constexpr int kRestartCode = 1000;
34 constexpr int kDeepRestartCode = 1001; // refresh core and ui
35 
36 // Channels
37 constexpr int kGpgFrontendDefaultChannel = 0;
38 constexpr int kGpgFrontendNonAsciiChannel = 2;
39 
40 // HEADER
41 constexpr const char* PGP_CRYPT_BEGIN = "-----BEGIN PGP MESSAGE-----";
42 constexpr const char* PGP_CRYPT_END = "-----END PGP MESSAGE-----";
43 constexpr const char* PGP_SIGNED_BEGIN =
44  "-----BEGIN PGP SIGNED MESSAGE-----";
45 constexpr const char* PGP_SIGNED_END = "-----END PGP SIGNATURE-----";
46 constexpr const char* PGP_SIGNATURE_BEGIN =
47  "-----BEGIN PGP SIGNATURE-----";
48 constexpr const char* PGP_SIGNATURE_END = "-----END PGP SIGNATURE-----";
49 constexpr const char* PGP_PUBLIC_KEY_BEGIN =
50  "-----BEGIN PGP PUBLIC KEY BLOCK-----";
51 constexpr const char* PGP_PRIVATE_KEY_BEGIN =
52  "-----BEGIN PGP PRIVATE KEY BLOCK-----";
53 
54 } // namespace GpgFrontend
Definition: app.cpp:39
constexpr int kRestartCode
only refresh ui
Definition: GpgConstants.h:33