Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
4eea1289
Commit
4eea1289
authored
Apr 10, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mozilla: More fixes for XulRunner 1.9.2
parent
5f687f53
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
projects/mozilla/vlcplugin.cpp
projects/mozilla/vlcplugin.cpp
+5
-0
projects/mozilla/vlcshell.h
projects/mozilla/vlcshell.h
+7
-0
No files found.
projects/mozilla/vlcplugin.cpp
View file @
4eea1289
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
#endif
#endif
#include <stdio.h>
#include <stdio.h>
#include <assert.h>
/*****************************************************************************
/*****************************************************************************
* utilitiy functions
* utilitiy functions
...
@@ -105,7 +106,11 @@ static void plugin_unlock(plugin_lock_t *lock)
...
@@ -105,7 +106,11 @@ static void plugin_unlock(plugin_lock_t *lock)
/*****************************************************************************
/*****************************************************************************
* VlcPlugin constructor and destructor
* VlcPlugin constructor and destructor
*****************************************************************************/
*****************************************************************************/
#if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
VlcPlugin
::
VlcPlugin
(
NPP
instance
,
uint16
mode
)
:
VlcPlugin
::
VlcPlugin
(
NPP
instance
,
uint16
mode
)
:
#else
VlcPlugin
::
VlcPlugin
(
NPP
instance
,
uint16_t
mode
)
:
#endif
i_npmode
(
mode
),
i_npmode
(
mode
),
b_stream
(
0
),
b_stream
(
0
),
b_autoplay
(
1
),
b_autoplay
(
1
),
...
...
projects/mozilla/vlcshell.h
View file @
4eea1289
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
# include <mozilla-config.h>
# include <mozilla-config.h>
#endif
#endif
char
*
NPP_GetMIMEDescription
(
void
);
char
*
NPP_GetMIMEDescription
(
void
);
NPError
NPP_Initialize
(
void
);
NPError
NPP_Initialize
(
void
);
...
@@ -38,8 +39,14 @@ jref NPP_GetJavaClass( void );
...
@@ -38,8 +39,14 @@ jref NPP_GetJavaClass( void );
#endif
#endif
void
NPP_Shutdown
(
void
);
void
NPP_Shutdown
(
void
);
#if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
NPError
NPP_New
(
NPMIMEType
pluginType
,
NPP
instance
,
uint16
mode
,
int16
argc
,
NPError
NPP_New
(
NPMIMEType
pluginType
,
NPP
instance
,
uint16
mode
,
int16
argc
,
char
*
argn
[],
char
*
argv
[],
NPSavedData
*
saved
);
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_Destroy
(
NPP
instance
,
NPSavedData
**
save
);
NPError
NPP_GetValue
(
NPP
instance
,
NPPVariable
variable
,
void
*
value
);
NPError
NPP_GetValue
(
NPP
instance
,
NPPVariable
variable
,
void
*
value
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment