1 /* gpawidgets.h - The GNU Privacy Assistant 2 * Copyright (C) 2000, 2001 G-N-U GmbH. 3 * 4 * This file is part of GPA 5 * 6 * GPA is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * GPA is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 19 */ 20 21 #ifndef GPAWIDGETS_H 22 #define GPAWIDGETS_H 23 24 #include <gtk/gtk.h> 25 26 extern GtkWidget *gpa_key_info_new (gpgme_key_t key); 27 28 extern GtkWidget *gpa_expiry_frame_new (GDate *expiryDate); 29 extern gchar *gpa_expiry_frame_validate (GtkWidget *expiry_frame); 30 extern gboolean gpa_expiry_frame_get_expiration(GtkWidget *expiry_frame, 31 GDate **date, 32 int *interval, gchar *unit); 33 34 #endif /* GPAWIDGETS_H */ 35