~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to modules/gui/beos/PlayListWindow.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * PlayListWindow.h: BeOS interface window class prototype
3
3
 *****************************************************************************
4
4
 * Copyright (C) 1999, 2000, 2001 the VideoLAN team
5
 
 * $Id: eb800d5e776f1298fe880708c328f688381afbeb $
 
5
 * $Id$
6
6
 *
7
7
 * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
8
8
 *          Tony Castley <tcastley@mail.powerup.com.au>
23
23
 * along with this program; if not, write to the Free Software
24
24
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25
25
 *****************************************************************************/
26
 
 
 
26
#if 0
27
27
#ifndef BEOS_PLAY_LIST_WINDOW_H
28
28
#define BEOS_PLAY_LIST_WINDOW_H
29
29
 
36
36
class PlayListWindow : public BWindow
37
37
{
38
38
 public:
39
 
                                                                PlayListWindow(BRect frame,
40
 
                                                                                           const char* name,
41
 
                                                                                           InterfaceWindow* mainWindow,
42
 
                                                                                           intf_thread_t *p_interface );
43
 
        virtual                                         ~PlayListWindow();
44
 
 
45
 
                                                                // BWindow
46
 
        virtual bool                            QuitRequested();
47
 
        virtual void                            MessageReceived(BMessage *message);
48
 
        virtual void                            FrameResized(float width, float height);
49
 
 
50
 
                                                                // PlayListWindow
51
 
                        void                            ReallyQuit();
52
 
                        void                            UpdatePlaylist( bool rebuild = false );
53
 
 
54
 
                        void                            SetDisplayMode( uint32 mode );
55
 
                        uint32                          DisplayMode() const;
56
 
 
57
 
 private:       
58
 
                        void                            _CheckItemsEnableState() const;
59
 
                        void                            _SetMenuItemEnabled( BMenuItem* item,
60
 
                                                                                                         bool enabled ) const;
61
 
 
62
 
                        PlaylistView *      fListView;
63
 
                        BView *             fBackgroundView;
64
 
                        BMenuBar *          fMenuBar;
65
 
                        InterfaceWindow *   fMainWindow;
66
 
 
67
 
                        BMenuItem*                      fSelectAllMI;
68
 
                        BMenuItem*                      fSelectNoneMI;
69
 
                        BMenuItem*                      fSortReverseMI;
70
 
                        BMenuItem*                      fSortNameMI;
71
 
                        BMenuItem*                      fSortPathMI;
72
 
                        BMenuItem*                      fRandomizeMI;
73
 
                        BMenuItem*                      fRemoveMI;
74
 
                        BMenuItem*                      fRemoveAllMI;
75
 
                        BMenu*                          fViewMenu;
76
 
                        
77
 
                        intf_thread_t *     p_intf;
 
39
                                PlayListWindow(BRect frame,
 
40
                                               const char* name,
 
41
                                               InterfaceWindow* mainWindow,
 
42
                                               intf_thread_t *p_interface );
 
43
    virtual                        ~PlayListWindow();
 
44
 
 
45
                                // BWindow
 
46
    virtual    bool                QuitRequested();
 
47
    virtual    void                MessageReceived(BMessage *message);
 
48
    virtual    void                FrameResized(float width, float height);
 
49
 
 
50
                                // PlayListWindow
 
51
            void                ReallyQuit();
 
52
            void                UpdatePlaylist( bool rebuild = false );
 
53
 
 
54
            void                SetDisplayMode( uint32 mode );
 
55
            uint32                DisplayMode() const;
 
56
 
 
57
 private:    
 
58
            void                _CheckItemsEnableState() const;
 
59
            void                _SetMenuItemEnabled( BMenuItem* item,
 
60
                                                     bool enabled ) const;
 
61
 
 
62
            PlaylistView *      fListView;
 
63
            BView *             fBackgroundView;
 
64
            BMenuBar *          fMenuBar;
 
65
            InterfaceWindow *   fMainWindow;
 
66
 
 
67
            BMenuItem*            fSelectAllMI;
 
68
            BMenuItem*            fSelectNoneMI;
 
69
            BMenuItem*            fSortReverseMI;
 
70
            BMenuItem*            fSortNameMI;
 
71
            BMenuItem*            fSortPathMI;
 
72
            BMenuItem*            fRandomizeMI;
 
73
            BMenuItem*            fRemoveMI;
 
74
            BMenuItem*            fRemoveAllMI;
 
75
            BMenu*                fViewMenu;
 
76
            
 
77
            intf_thread_t *     p_intf;
78
78
};
79
79
 
80
 
#endif  // BEOS_PLAY_LIST_WINDOW_H
 
80
#endif    // BEOS_PLAY_LIST_WINDOW_H
 
81
#endif
81
82