Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1c8e8e252faf81796d1ae3c5cd1eea1a > files > 262

botan-devel-1.8.11-2.fc15.i686.rpm

/*************************************************
* GTK+ User Interface Header File                *
*************************************************/

#ifndef BOTAN_EXT_GTK_UI__
#define BOTAN_EXT_GTK_UI__

#include <botan/ui.h>
#include <gtk/gtk.h>

/*************************************************
* 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