Mercurial > trustbridge
comparison ui/certificate.h @ 374:4836537f87da
Document certificate status values
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 12:05:22 +0200 |
parents | d56f952ba817 |
children | 31079bd54036 |
comparison
equal
deleted
inserted
replaced
373:42082e402d3e | 374:4836537f87da |
---|---|
18 | 18 |
19 class Certificate | 19 class Certificate |
20 { | 20 { |
21 public: | 21 public: |
22 | 22 |
23 /** @brief the Status compared to the last installed list. */ | |
23 enum Status { | 24 enum Status { |
24 InstallNew = 1, | 25 InstallNew = 1, /* Never seen this before */ |
25 InstallOld, | 26 InstallOld, /* Already contained in last list */ |
26 RemoveNew, | 27 RemoveNew, /* Was an Install certificate in the last list */ |
27 RemoveOld | 28 RemoveOld /* Already removed in the last list */ |
28 }; | 29 }; |
29 | 30 |
30 /** @brief construct a certificate from a line of a certificate list. | 31 /** @brief construct a certificate from a line of a certificate list. |
31 * | 32 * |
32 * The first two characters of the string are expected to be | 33 * The first two characters of the string are expected to be |