Audacity
3.2.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
h
i
k
l
m
o
p
r
s
t
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Related Functions
a
b
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
c
d
e
f
k
l
m
n
o
p
r
s
t
u
v
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
libraries
lib-files
PlatformCompatibility.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
PlatformCompatibility.h
6
7
Platform-specific compatibility functions
8
9
This file implements functions needed to work around
10
platform-specific problems and which cannot be solved by a simple
11
#ifdef/#endif plus two or three lines additional code. Wherever
12
possible, the implementation should be such, that the function is
13
implemented on every platform, but is a dummy for those platforms
14
on which it is not needed, so additional #ifdef's are unnecessary.
15
16
Markus Meyer
17
18
**********************************************************************/
19
20
#ifndef __AUDACITY_COMPATIBILITY__
21
#define __AUDACITY_COMPATIBILITY__
22
23
#include "
Identifier.h
"
24
25
namespace
PlatformCompatibility
26
{
27
//
28
// On Win32, this function gets the long file name (like
29
// "C:\Program Files\Project.aup3") from a short file name like
30
// "C:\PROGRA~1\PROJEC~1.AUP. On other systems, the function
31
// just returns the exact string it is given.
32
//
33
FilePath
FILES_API
GetLongFileName
(
const
FilePath
& shortFileName);
34
35
std::string FILES_API
GetUserDataDir
();
36
std::string FILES_API
GetUserLocalDataDir
();
37
std::string FILES_API
GetResourcesDir
();
38
std::string FILES_API
GetDataDir
();
39
std::string FILES_API
GetPluginsDir
();
40
std::string FILES_API
GetDocumentsDir
();
41
std::string FILES_API
GetExecutablePath
();
42
std::string FILES_API
GetTempDir
();
43
std::string FILES_API
GetHomeDir
();
44
};
45
46
#endif
Identifier.h
FilePath
wxString FilePath
Definition:
Project.h:21
PlatformCompatibility
Definition:
PlatformCompatibility.h:26
PlatformCompatibility::GetPluginsDir
std::string FILES_API GetPluginsDir()
PlatformCompatibility::GetUserDataDir
std::string FILES_API GetUserDataDir()
PlatformCompatibility::GetLongFileName
FilePath FILES_API GetLongFileName(const FilePath &shortFileName)
PlatformCompatibility::GetDocumentsDir
std::string FILES_API GetDocumentsDir()
PlatformCompatibility::GetTempDir
std::string FILES_API GetTempDir()
PlatformCompatibility::GetDataDir
std::string FILES_API GetDataDir()
PlatformCompatibility::GetResourcesDir
std::string FILES_API GetResourcesDir()
PlatformCompatibility::GetExecutablePath
std::string FILES_API GetExecutablePath()
PlatformCompatibility::GetHomeDir
std::string FILES_API GetHomeDir()
PlatformCompatibility::GetUserLocalDataDir
std::string FILES_API GetUserLocalDataDir()
Generated by
1.9.3