#endif
#include <stdio.h>
+#include <assert.h>
/*****************************************************************************
* utilitiy functions
/*****************************************************************************
* VlcPlugin constructor and destructor
*****************************************************************************/
+#if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
VlcPlugin::VlcPlugin( NPP instance, uint16 mode ) :
+#else
+VlcPlugin::VlcPlugin( NPP instance, uint16_t mode ) :
+#endif
i_npmode(mode),
b_stream(0),
b_autoplay(1),
# include <mozilla-config.h>
#endif
+
char * NPP_GetMIMEDescription( void );
NPError NPP_Initialize( void );
#endif
void NPP_Shutdown( void );
+#if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
char* argn[], char* argv[], NPSavedData* saved );
+#else
+NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc,
+ char* argn[], char* argv[], NPSavedData* saved );
+#endif
+
NPError NPP_Destroy( NPP instance, NPSavedData** save );
NPError NPP_GetValue( NPP instance, NPPVariable variable, void *value );