RSS

(root)/calliope : /src/core/filesearch.h (revision 451)

Line Revision Contents
1 17 /*  Calliope Music Player
2 185  *  Copyright 2005-09 Sam Thursfield <ssssam gmail.com>
3 17  *
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 3 of the License, or
7  *  (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15 451  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 17  */
17  
18 #ifndef _FILE_SEARCH_H
19 #define _FILE_SEARCH_H
20
21 #include <gtk/gtk.h>
22 #include "process.h"
23
24 enum {
25         MUSIC_SEARCH_COLUMN_ICON, MUSIC_SEARCH_COLUMN_PATH, MUSIC_SEARCH_COLUMN_FILE_REF
26 };
27
28 178 // 'p_process' is return value; pass a pointer to a variable so it can be set as a weak pointer, and
29 // be nulled as soon as the process is done (which could be in between this function returning and
30 // you doing anything with the object, so don't think you can set up a weak pointer yourself.)
31 Process *music_search_process_new (const char *path, const char **extension_list, GtkWidget *treeview, 
32                                    Process *sink_process, Process **p_process);
33                                                                    
34 17 void music_search_process_enqueue(Process *process, const char *path);
35
36 #endif

Loggerhead is a web-based interface for Bazaar branches