~ubuntu-branches/ubuntu/natty/vlc/natty

« back to all changes in this revision

Viewing changes to modules/gui/skins2/commands/cmd_playtree.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-06-25 01:09:16 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100625010916-asxhep2mutg6g6pd
Tags: 1.1.0-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - build and install the libx264 plugin
  - add Xb-Npp header to vlc package
  - Add apport hook to include more vlc dependencies in bug reports
* Drop xulrunner patches.
* Drop 502_xulrunner_191.diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * cmd_playtree.hpp
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2005 the VideoLAN team
5
 
 * $Id: 3309174295f7c6e413a0d98ffea8f485e94bceb1 $
 
5
 * $Id: 97d6fa1e329f6a25426fe174ca8096823ff4ad25 $
6
6
 *
7
7
 * Authors: Antoine Cellerier <dionoea@videolan.org>
8
8
 *          Clément Stenac <zorglub@videolan.org>
17
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
18
 * GNU General Public License for more details.
19
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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
 
20
 * You should have received a copy of the GNU General Public License along
 
21
 * with this program; if not, write to the Free Software Foundation, Inc.,
 
22
 * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23
23
 *****************************************************************************/
24
24
 
25
25
#ifndef CMD_PLAYTREE_HPP
33
33
/// Command to delete the selected items from a tree
34
34
class CmdPlaytreeDel: public CmdGeneric
35
35
{
36
 
    public:
37
 
        CmdPlaytreeDel( intf_thread_t *pIntf, VarTree &rTree ):
38
 
            CmdGeneric( pIntf ), m_rTree( rTree ) {}
39
 
        virtual ~CmdPlaytreeDel() {}
40
 
 
41
 
        /// This method does the real job of the command
42
 
        virtual void execute();
43
 
 
44
 
        /// Return the type of the command
45
 
        virtual string getType() const { return "playtree del"; }
46
 
 
47
 
    private:
48
 
        /// Tree
49
 
        VarTree &m_rTree;
 
36
public:
 
37
    CmdPlaytreeDel( intf_thread_t *pIntf, VarTree &rTree )
 
38
                  : CmdGeneric( pIntf ), m_rTree( rTree ) { }
 
39
    virtual ~CmdPlaytreeDel() { }
 
40
    virtual void execute();
 
41
    virtual string getType() const { return "playtree del"; }
 
42
 
 
43
private:
 
44
    /// Tree
 
45
    VarTree &m_rTree;
50
46
};
51
47
 
52
48
/// Command to sort the playtree