#ifndef SHOWPASS_HH
#define SHOWPASS_HH
#undef Status
#undef None
#include <FL/Fl_Button.H>
#include <gpgme++/context.h>
#include <gpgme++/data.h>
#include <fstream>
class Showpass {
public:
Fl_Button *btn = nullptr;
std::string otpSav = "";
static void otpupdate_cb(void *o);
std::string exec(const char *file, bool stfu);
private:
void clean_up(GpgME::Context &ctx, GpgME::Data &in, GpgME::Data &out,
std::ifstream &gpgfile);
};
#endif