/* * xlog - GTK+ logging program for amateur radio operators * Copyright (C) 2001-2002 Joop Stakenborg * * This program is free oftware; 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. * * 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 Library 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. */ /* * log.h */ #include "logfile/logfile.h" /* struct for every log window */ typedef struct logtype { GtkWidget *scrolledwindow; GtkWidget *clist; GtkWidget *label; gchar *logname; gboolean logchanged; gint qsos; gint columns; gint logfields[QSO_FIELDS]; } logtype; gchar *logname(gchar *filename); gint fillin_clist(LOGDB *handle, qso_t q[], gpointer arg); logtype *openlog(LOGDB *lp, gchar *name, gint page); void savelog(gpointer arg, gchar *logfile, gint type); GString *getlogs(gchar *dir, gint filetype);