advanced-dialog.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
  2. /***************************************************************************
  3. *
  4. * Copyright (C) 2013 Dan Fruehauf, <malkodan@gmail.com>
  5. * Based on work by Dan Williams, <dcbw@redhat.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License along
  18. * with this program; if not, write to the Free Software Foundation, Inc.,
  19. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  20. *
  21. **************************************************************************/
  22. #ifndef _AUTH_HELPERS_H_
  23. #define _AUTH_HELPERS_H_
  24. #include <glib.h>
  25. #include <gtk/gtk.h>
  26. #include <nm-connection.h>
  27. #include <nm-setting-vpn.h>
  28. GtkWidget *advanced_dialog_new (GHashTable *hash);
  29. GHashTable *advanced_dialog_new_hash_from_connection (NMConnection *connection, GError **error);
  30. GHashTable *advanced_dialog_new_hash_from_dialog (GtkWidget *dialog, GError **error);
  31. #endif