*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _WXVLC_INTERFACE_H_
#endif
/* Systray integration */
+/* wxCocoa pretends to support this, but at least 2.6.x doesn't */
+#ifndef __APPLE__
#ifdef wxHAS_TASK_BAR_ICON
class Systray: public wxTaskBarIcon
{
intf_thread_t *p_intf;
DECLARE_EVENT_TABLE()
};
+#endif
#endif
/* Main Interface */
wxControl *volctrl;
+ /* wxCocoa pretends to support this, but at least 2.6.x doesn't */
+ #ifndef __APPLE__
#ifdef wxHAS_TASK_BAR_ICON
Systray *p_systray;
+ #endif
#endif
wxWindow *video_window;
/* Event handlers (these functions should _not_ be virtual) */
void OnExit( wxCommandEvent& event );
void OnAbout( wxCommandEvent& event );
+ void OnWebLink( wxCommandEvent& event );
+ void OnWebHelp( wxCommandEvent& event );
void OnOpenFileSimple( wxCommandEvent& event );
void OnOpenDir( wxCommandEvent& event );
void OnSlowStream( wxCommandEvent& event );
void OnFastStream( wxCommandEvent& event );
+ void OnInteraction( wxCommandEvent& event );
+
void OnMenuOpen( wxMenuEvent& event );
#if defined( __WXMSW__ ) || defined( __WXMAC__ )
Timer *timer;
intf_thread_t *p_intf;
+ unsigned int i_update_counter;
int i_old_playing_status;
/* For auto-generated menus */
wxPanel *extra_frame;
/* Playlist panel */
- vlc_bool_t b_playlist_manager;
wxPanel *playlist_manager;
/* Utility dimensions */
wxSize main_min_size;
- wxSize playlist_min_size;
wxSize ext_min_size;
};
ID_FILE_INFO,
ID_BOOKMARKS,
ID_VIDEO,
+ ID_SMALL_PLAYLIST,
ID_MAX,
};
};
void PopupMenu( intf_thread_t *, wxWindow *, const wxPoint& );
+void AudioPopupMenu( intf_thread_t *, wxWindow *, const wxPoint& );
+void VideoPopupMenu( intf_thread_t *, wxWindow *, const wxPoint& );
+void MiscPopupMenu( intf_thread_t *, wxWindow *, const wxPoint& );
wxMenu *SettingsMenu( intf_thread_t *, wxWindow *, wxMenu * = NULL );
wxMenu *AudioMenu( intf_thread_t *, wxWindow *, wxMenu * = NULL );
wxMenu *VideoMenu( intf_thread_t *, wxWindow *, wxMenu * = NULL );