"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/xitk/file_browser.h" between
xine-ui-0.99.13.tar.bz2 and xine-ui-0.99.14.tar.bz2

About: xine is a free video player which plays mpeg-2 and mpeg-1 video, DVDs (unlocked/unencrypted only), video CDs, SVCDs, and AVI files (using Win32 codecs) with synchronized audio and video, and optionally fullscreen using the Xv extensions in Xfree86 4.x (user interface).

file_browser.h  (xine-ui-0.99.13.tar.bz2):file_browser.h  (xine-ui-0.99.14.tar.bz2)
/* /*
* Copyright (C) 2000-2021 the xine project * Copyright (C) 2000-2022 the xine project
* *
* This file is part of xine, a unix video player. * This file is part of xine, a unix video player.
* *
* xine is free software; you can redistribute it and/or modify * xine is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* xine is distributed in the hope that it will be useful, * xine is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 25 skipping to change at line 25
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
* *
*/ */
#ifndef __FILE_BROWSER_H__ #ifndef __FILE_BROWSER_H__
#define __FILE_BROWSER_H__ #define __FILE_BROWSER_H__
/** filter files by ext */
const char **filebrowser_ext_list_get (gGui_t *gui);
void filebrowser_ext_list_unget (gGui_t *gui, const char ***list);
int filebrowser_ext_match (gGui_t *gui, const char *name, uint32_t n);
typedef void (*filebrowser_callback_t) (filebrowser_t *fb, void *userdata); typedef void (*filebrowser_callback_t) (filebrowser_t *fb, void *userdata);
typedef int (*hidden_file_toggle_t)(void *data, int action, int value); typedef int (*hidden_file_toggle_t)(void *data, int action, int value);
typedef struct { typedef struct {
char *label; /** << user visible text */ char *label; /** << user visible text */
filebrowser_callback_t callback; /** << fired when user clicks... */ filebrowser_callback_t callback; /** << fired when user clicks... */
void *userdata; /** << passed to callback */ void *userdata; /** << passed to callback */
int need_a_file; /** << ...and there is a file selected if this is set */ int need_a_file; /** << ...and there is a file selected if this is set */
} filebrowser_callback_button_t; } filebrowser_callback_button_t;
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)