From 10d74bdeb0105c86e383de9d6ae2f2d5fd8db6c7 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 12 Jul 2010 22:49:21 +0000 Subject: Move gtk example to attic --- Attic/gtk/gtk_ui.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Attic/gtk/gtk_ui.h (limited to 'Attic/gtk/gtk_ui.h') diff --git a/Attic/gtk/gtk_ui.h b/Attic/gtk/gtk_ui.h new file mode 100644 index 000000000..065a4f76b --- /dev/null +++ b/Attic/gtk/gtk_ui.h @@ -0,0 +1,27 @@ +/* +* (C) 2006 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ + +#ifndef BOTAN_EXT_GTK_UI__ +#define BOTAN_EXT_GTK_UI__ + +#include +#include + +/* +* GTK+ Passphrase Callback Object +*/ +class GTK_UI : public Botan::User_Interface + { + public: + std::string get_passphrase(const std::string&, const std::string&, + UI_Result&) const; + + std::string get_passphrase(const std::string&, UI_Result&) const; + + static void callback(GtkWidget*, gpointer); + }; + +#endif -- cgit v1.2.3