"Fossies" - the Fresh Open Source Software Archive

Member "sitecopy-0.16.6/gnome/minilist.h" (24 Apr 2005, 1773 Bytes) of archive /linux/www/sitecopy-0.16.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "minilist.h" see the Fossies "Dox" file reference documentation.

    1 /* 
    2  *      XSitecopy, for managing remote web sites with a GNOME interface.
    3  *      Copyright (C) 2000, Lee Mallabone <lee@fonicmonkey.net>
    4  *                                                                        
    5  *      This program is free software; you can redistribute it and/or modify
    6  *      it under the terms of the GNU General Public License as published by
    7  *      the Free Software Foundation; either version 2 of the License, or
    8  *      (at your option) any later version.
    9  *     
   10  *      This program is distributed in the hope that it will be useful,
   11  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
   12  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13  *      GNU General Public License for more details.
   14  *     
   15  *      You should have received a copy of the GNU General Public License
   16  *      along with this program; if not, write to the Free Software
   17  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   18  *  
   19  */
   20 
   21 #include <gtk/gtk.h>
   22 
   23 #ifndef MINILIST_H
   24 #define MINILIST_H
   25 
   26 #include "common.h"
   27 #include "misc.h"
   28 #include "gcommon.h"
   29 #include "sites.h"
   30 
   31 enum minilists {
   32     list_exclude, list_ascii, list_ignore
   33 };
   34 
   35 struct slist_gui {
   36     enum minilists type;
   37     /* Will point to one of: selected_site->ignores, excludes, ascii */
   38     struct fnlist *data;
   39     GtkWidget *list;
   40     GtkWidget *entry;
   41     int chosen_row;
   42 };
   43 
   44 void populate_minilist(struct slist_gui *the_gui);
   45 void select_minilist_item(GtkWidget * list, gint row, gint column,
   46               GdkEventButton * event, gpointer data);
   47 void change_minilist_entry(GtkWidget * entry, gpointer data);
   48 void add_minilist_item(GtkWidget * button, gpointer data);
   49 void remove_minilist_item(GtkWidget * button, gpointer data);
   50 
   51 #endif              /* MINILIST_H */