Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2c002c7f
Commit
2c002c7f
authored
Nov 27, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- mozilla: future proofing the APIs
parent
181f3d45
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
257 additions
and
108 deletions
+257
-108
mozilla/control/npolibvlc.cpp
mozilla/control/npolibvlc.cpp
+232
-105
mozilla/control/npolibvlc.h
mozilla/control/npolibvlc.h
+25
-3
No files found.
mozilla/control/npolibvlc.cpp
View file @
2c002c7f
This diff is collapsed.
Click to expand it.
mozilla/control/npolibvlc.h
View file @
2c002c7f
...
...
@@ -187,14 +187,33 @@ private:
LibvlcMessagesNPObject
*
_p_vlcmessages
;
};
class
LibvlcPlaylistItemsNPObject
:
public
RuntimeNPObject
{
protected:
friend
class
RuntimeNPClass
<
LibvlcPlaylistItemsNPObject
>
;
LibvlcPlaylistItemsNPObject
(
NPP
instance
,
const
NPClass
*
aClass
)
:
RuntimeNPObject
(
instance
,
aClass
)
{};
virtual
~
LibvlcPlaylistItemsNPObject
()
{};
static
const
int
propertyCount
;
static
const
NPUTF8
*
const
propertyNames
[];
InvokeResult
getProperty
(
int
index
,
NPVariant
&
result
);
static
const
int
methodCount
;
static
const
NPUTF8
*
const
methodNames
[];
InvokeResult
invoke
(
int
index
,
const
NPVariant
*
args
,
uint32_t
argCount
,
NPVariant
&
result
);
};
class
LibvlcPlaylistNPObject
:
public
RuntimeNPObject
{
protected:
friend
class
RuntimeNPClass
<
LibvlcPlaylistNPObject
>
;
LibvlcPlaylistNPObject
(
NPP
instance
,
const
NPClass
*
aClass
)
:
RuntimeNPObject
(
instance
,
aClass
)
{};
virtual
~
LibvlcPlaylistNPObject
()
{};
LibvlcPlaylistNPObject
(
NPP
instance
,
const
NPClass
*
aClass
);
virtual
~
LibvlcPlaylistNPObject
();
static
const
int
propertyCount
;
static
const
NPUTF8
*
const
propertyNames
[];
...
...
@@ -208,6 +227,9 @@ protected:
void
parseOptions
(
const
NPString
&
s
,
int
*
i_options
,
char
***
ppsz_options
);
void
parseOptions
(
NPObject
*
obj
,
int
*
i_options
,
char
***
ppsz_options
);
private:
LibvlcPlaylistItemsNPObject
*
_p_vlcplaylistitems
;
};
class
LibvlcVideoNPObject
:
public
RuntimeNPObject
...
...
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