vlcplugin.h 2.09 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/*****************************************************************************
 * vlcplugin.h: a VLC plugin for Mozilla
 *****************************************************************************
 * Copyright (C) 2002-2012 VideoLAN
 * $Id$
 *
 * Authors: Samuel Hocevar <sam@zoy.org>
 *          Damien Fouilleul <damienf.fouilleul@laposte.net>
 *          Jean-Paul Saman <jpsaman@videolan.org>
 *          Sergey Radionov <rsatom@gmail.com>
 *          Jean-Baptiste Kempf <jb@videolan.org>
 *          Cheng Sun <chengsun9@gmail.com>
 *
 * 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.
 *****************************************************************************/

29
#ifndef __VLCPLUGIN_H__
Cheng Sun's avatar
Cheng Sun committed
30
#define __VLCPLUGIN_H__
31

Ludovic Fauvet's avatar
Ludovic Fauvet committed
32 33
#include "common.h"

34
#if defined(XP_UNIX) && !defined(XP_MACOSX)
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
35 36 37 38 39 40 41
#   if defined(USE_GTK)
#       include "vlcplugin_gtk.h"
        typedef class VlcPluginGtk VlcPlugin;
#   else
#       include "vlcplugin_xcb.h"
        typedef class VlcPluginXcb VlcPlugin;
#   endif
42 43 44

#   include "vlcwindowless_xcb.h"
    typedef VlcWindowlessXCB VlcWindowless;
45
#elif defined(XP_WIN)
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
46 47
#   include "vlcplugin_win.h"
    typedef class VlcPluginWin VlcPlugin;
48 49 50

#   include "vlcwindowless_win.h"
    typedef class VlcWindowlessWin VlcWindowless;
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
51 52 53
#elif defined(XP_MACOSX)
#   include "vlcplugin_mac.h"
    typedef class VlcPluginMac VlcPlugin;
54 55 56

#   include "vlcwindowless_mac.h"
    typedef class VlcWindowlessMac VlcWindowless;
57
#endif
58

59

60
#endif /* __VLCPLUGIN_H__ */