]> git.sesse.net Git - vlc/blob - modules/gui/skins/src/skin_common.h
180d0156fa00378488df936eb56be1668645e768
[vlc] / modules / gui / skins / src / skin_common.h
1 /*****************************************************************************
2  * skin_common.h: Private Skin interface description
3  *****************************************************************************
4  * Copyright (C) 2003 VideoLAN
5  * $Id: skin_common.h,v 1.3 2003/04/21 00:54:26 ipkiss Exp $
6  *
7  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
8  *          Emmanuel Puig    <karibu@via.ecp.fr>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111,
23  * USA.
24  *****************************************************************************/
25
26
27 #ifndef SKIN_COMMON_H
28 #define SKIN_COMMON_H
29
30 #define SLIDER_RANGE        1048576  // 1024*1024
31 #define DEFAULT_SKIN_FILE   "skins/default.vlt"
32
33
34 class Theme;
35 class wxIcon;
36 class OpenDialog;
37 class Messages;
38 class SoutDialog;
39 class PrefsDialog;
40 class FileInfo;
41
42 //---------------------------------------------------------------------------
43 // intf_sys_t: description and status of skin interface
44 //---------------------------------------------------------------------------
45 struct intf_sys_t
46 {
47     // Pointer to the theme main class
48     Theme *p_theme;
49     char *p_new_theme_file;
50
51     // The input thread
52     input_thread_t *p_input;
53
54     // The playlist thread
55     playlist_t *p_playlist;
56
57     // Check if thread is closing
58     int  i_close_status;
59     bool b_all_win_closed;
60
61     // message bank subscription
62     msg_subscription_t *p_sub;
63
64     // Interface status
65     int         i_index;        // Set wich file is being played
66     int         i_size;         // Size of playlist;
67
68     wxIcon *p_icon;
69
70     // Dialogs
71     OpenDialog  *OpenDlg;
72     Messages    *MessagesDlg;
73     SoutDialog  *SoutDlg;
74     PrefsDialog *PrefsDlg;
75     FileInfo    *InfoDlg;
76 };
77
78 #endif
79
80