Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
bbcf0beb
Commit
bbcf0beb
authored
Jan 12, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/playlist/loadsave.c: doxygenization
* modules/gui/macosx/playlist.m: fix playlist_Export
parent
19618545
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+2
-2
src/playlist/loadsave.c
src/playlist/loadsave.c
+18
-7
No files found.
modules/gui/macosx/playlist.m
View file @
bbcf0beb
...
...
@@ -2,7 +2,7 @@
* playlist.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2004 VideoLAN
* $Id: playlist.m,v 1.5
1 2004/01/09 22:11:04
hartman Exp $
* $Id: playlist.m,v 1.5
2 2004/01/12 21:22:22
hartman Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <hartman at videolan dot org>
...
...
@@ -207,7 +207,7 @@
if
(
[
o_save_panel
runModalForDirectory
:
nil
file:
o_name
]
==
NSOKButton
)
{
playlist_
SaveFile
(
p_playlist
,
[[
o_save_panel
filename
]
fileSystemRepresentation
]
);
playlist_
Export
(
p_playlist
,
[[
o_save_panel
filename
]
fileSystemRepresentation
],
"m3u"
);
}
}
...
...
src/playlist/loadsave.c
View file @
bbcf0beb
...
...
@@ -2,7 +2,7 @@
* loadsave.c : Playlist loading / saving functions
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
* $Id: loadsave.c,v 1.
4 2004/01/11 00:45:06 zorglub
Exp $
* $Id: loadsave.c,v 1.
5 2004/01/12 21:22:23 hartman
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -36,9 +36,14 @@
#define PLAYLIST_FILE_HEADER "# vlc playlist file version 0.5"
/*****************************************************************************
* playlist_Import: load a playlist file.
****************************************************************************/
/**
* Import a playlist file
*
* Import a certain playlist file into the playlist
* \param p_playlist the playlist to which the new items will be added
* \param psz_filename the name of the playlistfile to import
* \return 0 on succes
*/
int
playlist_Import
(
playlist_t
*
p_playlist
,
const
char
*
psz_filename
)
{
playlist_item_t
*
p_item
;
...
...
@@ -72,9 +77,15 @@ int playlist_Import( playlist_t * p_playlist, const char *psz_filename )
return
VLC_SUCCESS
;
}
/*****************************************************************************
* playlist_SaveFile: Save a playlist in a file.
*****************************************************************************/
/**
* Export a playlist to a file
*
* Export a playlist to a certain type of playlistfile
* \param p_playlist the playlist to export
* \param psz_filename the location where the exported file will be saved
* \param psz_type the type of playlist file to create.
* \return 0 on succes
*/
int
playlist_Export
(
playlist_t
*
p_playlist
,
const
char
*
psz_filename
,
const
char
*
psz_type
)
{
...
...
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