Mercurial > trustbridge
view ui/certificatelist.h @ 4:9849250f50f2
Start implementation of certificatelist parser
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 11 Feb 2014 16:46:02 +0000 |
parents | |
children | 992c0ec57660 |
line wrap: on
line source
/** * This class handles a certificate list file. * It checks for the validity of that certificate * list file and provides an API for working with that * file. * * The List is parsed on Initialization. You should * check the Status afterwards to see if the file * could be parsed. * * The certificate list will be kept in memory until * this object is destroyed. * */ class QByteArray; #include <QString> #include <QDate> class CertificateList { Q_OBJECT public: CertificateList(wchar_t* fileName); list_status_t getStatus(); private: QString mFileName; QByteArray *mFileContent; ListStatus mStatus; QDate mDate; }