1
0
Fork 0
forked from len0rd/rockbox

VoiceCreator: Factor out creation to separate function.

Change-Id: I83d1a08745acc88aa673d07e469a0a854ef97050
This commit is contained in:
Dominik Riebeling 2012-05-25 23:01:45 +02:00
parent ad3ecfcf8c
commit 112b80b0c2
2 changed files with 17 additions and 11 deletions

View file

@ -41,10 +41,10 @@ public:
void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; }
void setLang(QString name) { m_lang = name; }
void setWavtrimThreshold(int th){m_wavtrimThreshold = th;}
public slots:
void abort();
signals:
void done(bool);
void aborted();
@ -56,10 +56,11 @@ private slots:
private:
void create(void);
void cleanup();
HttpGet *getter;
QString filename; //the temporary file
QString m_filename; //the temporary file
QString m_mountpoint; //mountpoint of the device
QString m_path; //path where the wav and mp3 files are stored to
int m_targetid; //the target id