/* gpa.h - main header * Copyright (C) 2000, 2001 G-N-U GmbH. * * This file is part of GPA * * GPA is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * GPA is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef GPA_H #define GPA_H #include #include #include #include #include #include #include "config.h" #include "gpadefs.h" #include "gpgmetools.h" #include "options.h" /* For mkdir() */ #ifdef G_OS_WIN32 #include #include #define mkdir(p,m) _mkdir(p) #ifndef S_ISDIR #define S_ISDIR(mode) ((mode)&_S_IFDIR) #endif #endif #include "i18n.h" /* fixme: file should go into each source file */ #include "options.h" /* ditto */ extern GtkWidget *global_windowMain; extern GtkWidget *global_windowTip; extern GList *global_defaultRecipients; void gpa_open_keyring_editor (void); void gpa_open_filemanager (void); void gpa_open_settings_dialog (void); GtkWidget * gpa_get_keyring_editor (void); GtkWidget * gpa_get_settings_dialog (void); typedef void (*GPADefaultKeyChanged) (gpointer user_data); #endif /*GPA_H */