"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/xitk/xine-toolkit/mrlbrowser.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).

mrlbrowser.h  (xine-ui-0.99.13.tar.bz2):mrlbrowser.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 30 skipping to change at line 30
*/ */
#ifndef HAVE_XITK_MRLBROWSER_H #ifndef HAVE_XITK_MRLBROWSER_H
#define HAVE_XITK_MRLBROWSER_H #define HAVE_XITK_MRLBROWSER_H
#include <xine.h> #include <xine.h>
#include "browser.h" #include "browser.h"
#include "backend.h" #include "backend.h"
typedef void (*xitk_mrl_callback_t)(xitk_widget_t *, void *, xine_mrl_t *); typedef void (*xitk_mrl_callback_t) (xitk_widget_t *mrlb, void *data, xine_mrl_t *mrl);
/** unless noted otherwise, callbacks use nw.userdata.
* nw.wl may be NULL here as xitk_mrlbrowser_create () takes a xitk ptr. */
typedef struct { typedef struct {
char *name; xitk_new_widget_t nw;
char *ending;
} xitk_mrlbrowser_filter_t;
typedef struct { xitk_image_t *icon;
int magic; void (*reparent_window) (void *rw_data, xitk_window_t *xw
const char *skin_element_name; in);
xitk_image_t *icon; void *rw_data;
void (*reparent_window) (void *rw_data, xitk_window int layer_above;
_t *xwin);
void *rw_data; int x, y;
int layer_above; const char *window_title, *resource_name, *resource_class;
int x;
int y;
char *window_title;
char *resource_name;
char *resource_class;
struct { struct {
char *cur_origin; const char *skin_element_name, *cur_origin;
const char *skin_element_name;
} origin; } origin;
xitk_be_event_handler_t *input_cb; xitk_be_event_handler_t *input_cb;
void *input_cb_data; void *input_cb_data;
xitk_dnd_callback_t dndcallback; xitk_dnd_callback_t dndcallback;
void *dnd_cb_data; void *dnd_cb_data;
struct { struct {
char *caption; const char *skin_element_name, *caption;
const char *skin_element_name; xitk_mrl_callback_t callback;
xitk_mrl_callback_t callback;
void *data;
} select; } select;
struct { struct {
const char *skin_element_name; const char *skin_element_name;
xitk_mrl_callback_t callback; xitk_mrl_callback_t callback;
void *data;
} play; } play;
struct { struct {
char *caption; const char *skin_element_name, *caption;
const char *skin_element_name;
} dismiss; } dismiss;
struct { struct {
xitk_simple_callback_t callback; xitk_simple_callback_t callback;
void *data;
} kill; } kill;
const char *const *ip_availables; const char * const *ip_availables;
struct { struct {
struct { struct {
const char *skin_element_name; const char *skin_element_name;
} button; } button;
struct { struct {
const char *label_str; const char *skin_element_name, *label_str;
const char *skin_element_name;
} label; } label;
} ip_name; } ip_name;
xine_t *xine; struct {
const char * const *names;
int (*match) (void *data, const char *name, uint32_t n);
} filter;
xitk_browser_widget_t browser; xine_t *xine;
xitk_mrlbrowser_filter_t **mrl_filters; xitk_browser_widget_t browser;
struct { struct {
const char *skin_element_name; const char *skin_element_name;
} combo; } combo;
} xitk_mrlbrowser_widget_t; } xitk_mrlbrowser_widget_t;
/** */ /** */
xitk_widget_t *xitk_mrlbrowser_create (xitk_t *xitk, xitk_skin_config_t *skonfig , xitk_mrlbrowser_widget_t *mb); xitk_widget_t *xitk_mrlbrowser_create (xitk_t *xitk, const xitk_mrlbrowser_widge t_t *mb, xitk_skin_config_t *skonfig);
/** */ /** */
void xitk_mrlbrowser_change_skins (xitk_widget_t *w, xitk_skin_config_t *skonfig ); void xitk_mrlbrowser_change_skins (xitk_widget_t *w, xitk_skin_config_t *skonfig );
/** */ /** */
int xitk_mrlbrowser_is_running (xitk_widget_t *w); int xitk_mrlbrowser_is_running (xitk_widget_t *w);
/** */ /** */
int xitk_mrlbrowser_is_visible (xitk_widget_t *w); int xitk_mrlbrowser_is_visible (xitk_widget_t *w);
/** */ /** */
void xitk_mrlbrowser_hide (xitk_widget_t *w); void xitk_mrlbrowser_hide (xitk_widget_t *w);
/** */ /** */
void xitk_mrlbrowser_show (xitk_widget_t *w); void xitk_mrlbrowser_show (xitk_widget_t *w);
 End of changes. 22 change blocks. 
48 lines changed or deleted 35 lines changed or added

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