1 /*
2    Kickshaw - A Menu Editor for Openbox
3 
4    Copyright (c) 2010–2018        Marcus Schätzle
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 2 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    You should have received a copy of the GNU General Public License along
16    with Kickshaw. If not, see http://www.gnu.org/licenses/.
17 */
18 
19 #ifndef __drag_and_drop_h
20 #define __drag_and_drop_h
21 
22 extern ks_data ks;
23 
24 extern void activate_change_done (void);
25 extern guint8 check_if_invisible_ancestor_exists (GtkTreeModel *local_model, GtkTreePath *local_path);
26 extern void remove_rows (gchar *origin);
27 extern void row_selected (void);
28 extern gboolean selection_block_unblock (G_GNUC_UNUSED GtkTreeSelection *selection,
29                                          G_GNUC_UNUSED GtkTreeModel *model,
30                                          G_GNUC_UNUSED GtkTreePath  *path,
31                                          G_GNUC_UNUSED gboolean  path_currently_selected,
32                                          gpointer  block_state);
33 extern void show_msg_in_statusbar (gchar *message);
34 extern void sort_execute_or_startupnotify_options_after_insertion (GtkTreeSelection *selection, GtkTreeIter *parent,
35                                                                    gchar *execute_or_startupnotify, gchar *option);
36 extern gboolean streq_any (const gchar *string, ...) G_GNUC_NULL_TERMINATED;
37 
38 #endif
39