anastasis-gtk_handle-identity-changed.h (1456B)
1 /* 2 This file is part of anastasis-gtk. 3 Copyright (C) 2020 Anastasis SARL 4 5 Anastasis is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published 7 by the Free Software Foundation; either version 3, or (at your 8 option) any later version. 9 10 Anastasis is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with Anastasis; see the file COPYING. If not, write to the 17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 Boston, MA 02110-1301, USA. 19 */ 20 /** 21 * @file src/anastasis/anastasis-gtk_handle-identity-changed.c 22 * @brief 23 * @author Christian Grothoff 24 * @author Dennis Neufeld 25 */ 26 #ifndef ANASTASIS_GTK_HANDLE_IDENTITY_CHANGED_H 27 #define ANASTASIS_GTK_HANDLE_IDENTITY_CHANGED_H 28 29 30 /** 31 * Mark widget for attribute with name @a name as problematic. 32 * 33 * @param name name of the attribute to highlight 34 */ 35 void 36 AG_mark_invalid_input (const char *name); 37 38 39 /** 40 * Function called when the user changed anything about its identity. 41 * Check whether the current input is valid and enables/disables the 42 * 'forward' button accordingly. 43 */ 44 void 45 AG_identity_changed (void); 46 47 #endif