1 /* GIMP - The GNU Image Manipulation Program 2 * Copyright (C) 1995 Spencer Kimball and Peter Mattis 3 * 4 * gimppluginmanager-menu-branch.h 5 * 6 * This program is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see <https://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef __GIMP_PLUG_IN_MANAGER_MENU_BRANCH_H__ 21 #define __GIMP_PLUG_IN_MANAGER_MENU_BRANCH_H__ 22 23 24 struct _GimpPlugInMenuBranch 25 { 26 GFile *file; 27 gchar *menu_path; 28 gchar *menu_label; 29 }; 30 31 32 void gimp_plug_in_manager_menu_branch_exit (GimpPlugInManager *manager); 33 34 /* Add a menu branch */ 35 void gimp_plug_in_manager_add_menu_branch (GimpPlugInManager *manager, 36 GFile *file, 37 const gchar *menu_path, 38 const gchar *menu_label); 39 GSList * gimp_plug_in_manager_get_menu_branches (GimpPlugInManager *manager); 40 41 42 #endif /* __GIMP_PLUG_IN_MANAGER_MENU_BRANCH_H__ */ 43