suwako / SimPas1-Unix アーカイブ

このリポジトリはアーカイブされています。読むだけで、プッシュやイシューの変更は出来ません。

master
ブランチ master
SimPas1-Unix / src / showpass.hh
400 B、21行 生 Blame 履歴
1#ifndef SHOWPASS_HH
2#define SHOWPASS_HH
3
4#include <gpgme++/context.h>
5#include <gpgme++/data.h>
6
7#include <fstream>
8
9class Showpass {
10 public:
11 std::string otpSav = "";
12
13 static void otpupdate_cb(void *o);
14 std::string exec(const char *file, bool stfu);
15
16 private:
17 void clean_up(GpgME::Context &ctx, GpgME::Data &in, GpgME::Data &out,
18 std::ifstream &gpgfile);
19};
20
21#endif