Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 2484bfc10e31cdb22e346b7bd2e93584 > files > 293

botan-devel-1.8.8-2.fc13.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