]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/interface.hpp
* Protect input item's meta through setters and getters. That allows tracking of...
[vlc] / modules / gui / wxwidgets / interface.hpp
index 97145db1232b876552208d550dbc684c833bb779..fa558809d6d983441dd596ff4644549c93c25ade 100644 (file)
@@ -18,7 +18,7 @@
  *
  * 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_
@@ -54,6 +54,8 @@ namespace wxvlc
 #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
    {
@@ -75,6 +77,7 @@ namespace wxvlc
         intf_thread_t *p_intf;
         DECLARE_EVENT_TABLE()
     };
+#endif
 #endif
 
     /* Main Interface */
@@ -104,8 +107,11 @@ namespace wxvlc
 
         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;
@@ -122,6 +128,8 @@ namespace wxvlc
         /* 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 );
@@ -158,6 +166,7 @@ namespace wxvlc
         Timer *timer;
         intf_thread_t *p_intf;
 
+        unsigned int i_update_counter;
         int i_old_playing_status;
 
         /* For auto-generated menus */
@@ -233,6 +242,9 @@ namespace wxvlc
 };
 
 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 );