forked from mia/Aegisub
More s/wxString/Aegisub::String/ changes.
Originally committed to SVN as r1972.
This commit is contained in:
parent
96616bf79c
commit
ea8d16dabe
4 changed files with 5 additions and 5 deletions
|
@ -824,7 +824,7 @@ void AudioDisplay::SetScale(float _scale) {
|
||||||
|
|
||||||
//////////////////
|
//////////////////
|
||||||
// Load from file
|
// Load from file
|
||||||
void AudioDisplay::SetFile(wxString file) {
|
void AudioDisplay::SetFile(Aegisub::String file) {
|
||||||
wxLogDebug(_T("AudioDisplay::SetFile(file=%s)"), file.c_str());
|
wxLogDebug(_T("AudioDisplay::SetFile(file=%s)"), file.c_str());
|
||||||
// Unload
|
// Unload
|
||||||
if (file.IsEmpty()) try {
|
if (file.IsEmpty()) try {
|
||||||
|
@ -2362,4 +2362,4 @@ void AudioDisplay::UpdateTimeEditCtrls() {
|
||||||
grid->editBox->StartTime->SetTime(curStartMS,true);
|
grid->editBox->StartTime->SetTime(curStartMS,true);
|
||||||
grid->editBox->EndTime->SetTime(curEndMS,true);
|
grid->editBox->EndTime->SetTime(curEndMS,true);
|
||||||
grid->editBox->Duration->SetTime(curEndMS-curStartMS,true);
|
grid->editBox->Duration->SetTime(curEndMS-curStartMS,true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -165,7 +165,7 @@ public:
|
||||||
void CommitChanges(bool nextLine=false);
|
void CommitChanges(bool nextLine=false);
|
||||||
void AddLead(bool in,bool out);
|
void AddLead(bool in,bool out);
|
||||||
|
|
||||||
void SetFile(wxString file);
|
void SetFile(Aegisub::String file);
|
||||||
void SetFromVideo();
|
void SetFromVideo();
|
||||||
void Reload();
|
void Reload();
|
||||||
|
|
||||||
|
|
|
@ -191,7 +191,7 @@ void AudioProvider::GetAudioWithVolume(void *buf, int64_t start, int64_t count,
|
||||||
|
|
||||||
////////////////
|
////////////////
|
||||||
// Get provider
|
// Get provider
|
||||||
AudioProvider *AudioProviderFactoryManager::GetAudioProvider(wxString filename, int cache) {
|
AudioProvider *AudioProviderFactoryManager::GetAudioProvider(Aegisub::String filename, int cache) {
|
||||||
// Prepare provider
|
// Prepare provider
|
||||||
AudioProvider *provider = NULL;
|
AudioProvider *provider = NULL;
|
||||||
|
|
||||||
|
|
|
@ -50,5 +50,5 @@
|
||||||
class AudioProviderFactoryManager : public FactoryManager<AudioProviderFactory> {
|
class AudioProviderFactoryManager : public FactoryManager<AudioProviderFactory> {
|
||||||
public:
|
public:
|
||||||
static void RegisterProviders();
|
static void RegisterProviders();
|
||||||
static AudioProvider *GetAudioProvider(wxString filename, int cache=-1);
|
static AudioProvider *GetAudioProvider(Aegisub::String filename, int cache=-1);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue