1 /*****************************************************************************
\r
2 * npovlc.h: deprecated APIs implemented in late XPCOM interface
\r
3 *****************************************************************************
\r
4 * Copyright (C) 2002-2006 the VideoLAN team
\r
6 * Authors: Damien Fouilleul <damien.fouilleul@laposte.net>
\r
8 * This program is free software; you can redistribute it and/or modify
\r
9 * it under the terms of the GNU General Public License as published by
\r
10 * the Free Software Foundation; either version 2 of the License, or
\r
11 * (at your option) any later version.
\r
13 * This program is distributed in the hope that it will be useful,
\r
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
16 * GNU General Public License for more details.
\r
18 * You should have received a copy of the GNU General Public License
\r
19 * along with this program; if not, write to the Free Software
\r
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
\r
21 *****************************************************************************/
\r
24 ** defined runtime script objects
\r
27 #include "nporuntime.h"
\r
29 class VlcNPObject: public RuntimeNPObject
\r
32 friend class RuntimeNPClass<VlcNPObject>;
\r
34 VlcNPObject(NPP instance, const NPClass *aClass) :
\r
35 RuntimeNPObject(instance, aClass) {};
\r
36 virtual ~VlcNPObject() {};
\r
38 static const int propertyCount;
\r
39 static const NPUTF8 * const propertyNames[];
\r
41 static const int methodCount;
\r
42 static const NPUTF8 * const methodNames[];
\r
44 virtual InvokeResult invoke(int index, const NPVariant *args, uint32_t argCount, NPVariant &result);
\r