musicus mpd client 0.1d
media_browser.h
Go to the documentation of this file.
00001 
00009 /**********************************************************************
00010  * Copyright 2006 - 2008 by Simon Gerber <simugerber@student.ethz.ch>
00011  *
00012  * This file is part of Musicus.
00013  * Musicus is free software: you can redistribute it and/or modify
00014  * it under the terms of the GNU General Public License as published by
00015  * the Free Software Foundation, either version 3 of the License, or
00016  * (at your option) any later version.
00017  *
00018  * Musicus is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  * GNU General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU General Public License
00024  * along with Musicus.  If not, see <http://www.gnu.org/licenses/>.
00025  **********************************************************************/
00026 
00027 #ifndef __media_browser_h
00028 #define __media_browser_h
00029 
00034 
00035 #include "definitions_gtk.h"
00036 
00037 #include "colorcodes.h"
00038 
00042 WinInfo MbWin;
00043 
00047 GtkTreeStore *media_database;
00048 
00052 enum {
00054         M_COLUMN_FILE,
00056         M_COLUMN_IDENTIFIER,
00058         M_COLUMNS
00059 };
00060 
00065 gboolean media_browser_new();
00066 
00073 GtkWidget *init_mb_widget(gchar *folder_id);
00074 
00078 void media_browser_window_show();
00079 
00083 void media_browser_window_hide();
00084 
00088 void media_browser_reread();
00089 
00091 #endif
00092 
00093 /* vim:sts=4:shiftwidth=4
00094  */
00095 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines