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
09dcc596
Commit
09dcc596
authored
Jan 11, 2011
by
Pankaj Yadav
Committed by
Jean-Baptiste Kempf
Jan 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Symbian Specific Directories
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
25361c52
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
0 deletions
+94
-0
src/Makefile.am
src/Makefile.am
+1
-0
src/symbian/dirs.c
src/symbian/dirs.c
+93
-0
No files found.
src/Makefile.am
View file @
09dcc596
...
@@ -302,6 +302,7 @@ SOURCES_libvlc_win32 = \
...
@@ -302,6 +302,7 @@ SOURCES_libvlc_win32 = \
SOURCES_libvlc_symbian
=
\
SOURCES_libvlc_symbian
=
\
symbian/path.cpp
\
symbian/path.cpp
\
symbian/dirs.c
\
$(NULL)
$(NULL)
SOURCES_libvlc_other
=
\
SOURCES_libvlc_other
=
\
...
...
src/symbian/dirs.c
0 → 100755
View file @
09dcc596
/*****************************************************************************
* dirs.cpp: Symbian Directory Structure
*****************************************************************************
* Copyright © 2010 Pankaj Yadav
*
* Authors: Pankaj Yadav
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "path.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include "../../../../src/libvlc.h"
#include <vlc_charset.h>
#include "config/configuration.h"
#include <string.h>
/**
* Determines the shared data directory
*
* @return a null-terminated string or NULL. Use free() to release it.
*/
char
*
config_GetDataDirDefault
(
void
)
{
return
GetConstPrivatePath
();
}
/**
* Determines the architecture-dependent data directory
*
* @return a string (always succeeds).
*/
const
char
*
config_GetLibDir
(
void
)
{
return
"C:
\\
Sys
\\
Bin"
;
}
/**
* Determines the system configuration directory.
*
* @return a string (always succeeds).
*/
const
char
*
config_GetConfDir
(
void
)
{
return
"C:
\\
Data
\\
Others"
;
}
char
*
config_GetUserDir
(
vlc_userdir_t
type
)
{
switch
(
type
)
{
case
VLC_HOME_DIR
:
break
;
case
VLC_CONFIG_DIR
:
return
GetConstPrivatePath
();
case
VLC_DATA_DIR
:
return
GetConstPrivatePath
();
case
VLC_CACHE_DIR
:
return
GetConstPrivatePath
();
case
VLC_DESKTOP_DIR
:
case
VLC_DOWNLOAD_DIR
:
case
VLC_TEMPLATES_DIR
:
case
VLC_PUBLICSHARE_DIR
:
case
VLC_DOCUMENTS_DIR
:
return
strdup
(
"C:
\\
Data
\\
Others"
);
case
VLC_MUSIC_DIR
:
return
strdup
(
"C:
\\
Data
\\
Sounds"
);
case
VLC_PICTURES_DIR
:
return
strdup
(
"C:
\\
Data
\\
Images"
);
case
VLC_VIDEOS_DIR
:
return
strdup
(
"C:
\\
Data
\\
Videos"
);
}
return
GetConstPrivatePath
();
}
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