VLCInstance.h 1.54 KB
Newer Older
1 2 3
/*****************************************************************************
 * VLCInstance.h: Binding for libvlc instance
 *****************************************************************************
Ludovic Fauvet's avatar
Ludovic Fauvet committed
4
 * Copyright (C) 2008-2010 VideoLAN
5
 *
6
 * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
 *****************************************************************************/

23 24 25 26
#ifndef VLCINSTANCE_H
#define VLCINSTANCE_H

#include "VLCpp.hpp"
27
#include "Singleton.hpp"
28

29 30
struct libvlc_instance_t;

31 32
namespace LibVLCpp
{
33 34 35
    /**
     *  \warning    This class should be released after every other LibVLCpp classes.
     */
36
    class   Instance : public Internal< libvlc_instance_t >
37
    {
38
    public:
39
        Instance( int argc, const char** argv );
40
        ~Instance();
41
        void setLogHook( void *data, libvlc_log_cb hook );
42 43 44 45
    };
}

#endif // VLCINSTANCE_H