"Fossies" - the Fresh Open Source Software Archive

Member "firestarter-1.0.3/src/menus.h" (29 Jan 2005, 1451 Bytes) of package /linux/misc/old/firestarter-1.0.3.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 "menus.h" see the Fossies "Dox" file reference documentation.

    1 /*---[ menus.h ]------------------------------------------------------
    2  * Copyright (C) 2000 Tomas Junnonen (majix@sci.fi)
    3  *
    4  * This program is free software; you can redistribute it and/or modify
    5  * it under the terms of the GNU General Public License as published by
    6  * the Free Software Foundation; either version 2 of the License, or
    7  * (at your option) any later version.
    8  *
    9  * Functions for installing menus, toolbars and popups
   10  *--------------------------------------------------------------------*/
   11 
   12 #ifndef _FIRESTARTER_MENUS
   13 #define _FIRESTARTER_MENUS
   14 
   15 #include <config.h>
   16 #include <gnome.h>
   17 #include "gui.h"
   18 #include "statusview.h"
   19 
   20 GtkWidget *appbar;
   21 
   22 void menus_initialize (GtkWidget *app);
   23 void menus_set_toolbar (FirestarterView new_view);
   24 
   25 GtkWidget *menus_get_events_inbound_context_menu (void);
   26 GtkWidget *menus_get_events_outbound_context_menu (void);
   27 GtkWidget *menus_get_policy_context_menu (void);
   28 GtkWidget *menus_get_connections_context_menu (void);
   29 
   30 void menus_events_save_enabled (gboolean sensitive);
   31 void menus_events_clear_enabled (gboolean sensitive);
   32 
   33 void menus_policy_edit_enabled (gboolean sensitive);
   34 void menus_policy_remove_enabled (gboolean sensitive);
   35 void menus_policy_add_enabled (gboolean sensitive);
   36 void menus_policy_apply_enabled (gboolean sensitive);
   37 
   38 void menus_update_firewall_controls_state (FirewallStatus state);
   39 void menus_update_events_reloading (gboolean in_progress, gboolean visible);
   40 
   41 #endif