Mercurial > trustbridge
comparison ui/certificate.h @ 265:ffd47b045d19
Added certificate status enum and register it as metatype.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 09:24:57 +0200 |
parents | 9f0865dc8b14 |
children | 64e38886f903 |
comparison
equal
deleted
inserted
replaced
264:daad3431b930 | 265:ffd47b045d19 |
---|---|
16 #endif | 16 #endif |
17 | 17 |
18 class Certificate | 18 class Certificate |
19 { | 19 { |
20 public: | 20 public: |
21 | |
22 enum Status { | |
23 InstallNew = 1, | |
24 InstallOld, | |
25 RemoveNew, | |
26 RemoveOld | |
27 }; | |
21 | 28 |
22 /** @brief construct a certificate from a line of a certificate list. | 29 /** @brief construct a certificate from a line of a certificate list. |
23 * | 30 * |
24 * The first two characters of the string are expected to be | 31 * The first two characters of the string are expected to be |
25 * the command. I: or R: | 32 * the command. I: or R: |