mirror of
https://github.com/alexkay/spek.git
synced 2025-04-17 00:52:20 +03:00
Remove unused spek_platform_short_path()
This commit is contained in:
parent
6fc95cece6
commit
9918fec952
@ -22,8 +22,6 @@
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/mathematics.h>
|
||||
|
||||
#include "spek-platform.hh"
|
||||
|
||||
#include "spek-audio.h"
|
||||
|
||||
struct spek_audio_context
|
||||
|
@ -68,12 +68,3 @@ double SpekPlatform::font_scale()
|
||||
return 1.0;
|
||||
#endif
|
||||
}
|
||||
|
||||
char * spek_platform_short_path(const char *path)
|
||||
{
|
||||
#ifdef OS_WIN
|
||||
wxFileName file_name(wxString(path, wxConvUTF8));
|
||||
return strdup(file_name.GetShortPath().char_str(wxConvFile));
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
@ -19,7 +19,6 @@
|
||||
#ifndef SPEK_PLATFORM_HH_
|
||||
#define SPEK_PLATFORM_HH_
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <wx/string.h>
|
||||
|
||||
class SpekPlatform
|
||||
@ -39,14 +38,4 @@ public:
|
||||
static double font_scale();
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Returns a 8.3 version of the UTF8-encoded path on Windows and NULL on other platforms.
|
||||
char * spek_platform_short_path(const char *path);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user