/* * gui.h * * Copyright 2024 Michael Rasmussen * * This program 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 3 of the License, or * (at your option) any later version. * * This program 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., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * * */ #ifndef __GUI_H__ #define __GUI_H__ #ifdef HAVE_CONFIG_H # include #endif #include #include G_BEGIN_DECLS enum { COLUMN_DEFAULT_SN, COLUMN_DEFAULT_DATA, COLUMN_DEFAULT_NOTES, COLUMN_DEFAULT_ID, COLUMN_DEFAULT_MAKER, NUM_COLUMNS_DEFAULT }; enum { COLUMN_SEARCH_MAKER, COLUMN_SEARCH_SN, COLUMN_SEARCH_DATA, COLUMN_SEARCH_NOTES, COLUMN_SEARCH_ID, NUM_COLUMNS_SEARCH }; gboolean init_gui(); void show_err_msg(GtkMessageType type, const gchar* msg); G_END_DECLS #endif