1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Wenger
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
25 #include "progressloggerinterface.h"
30 class TalkFileCreator
:public QObject
35 TalkFileCreator(QObject
* parent
=0);
37 bool createTalkFiles(ProgressloggerInterface
* logger
);
39 void setSettings(RbSettings
* sett
) { settings
= sett
;}
41 void setDir(QDir dir
){m_dir
= dir
; }
42 void setMountPoint(QString mountpoint
) {m_mountpoint
=mountpoint
; }
44 void setOverwriteTalk(bool ov
) {m_overwriteTalk
= ov
;}
45 void setOverwriteWav(bool ov
) {m_overwriteWav
= ov
;}
46 void setRemoveWav(bool ov
) {m_removeWav
= ov
;}
47 void setRecursive(bool ov
) {m_recursive
= ov
;}
48 void setStripExtensions(bool ov
) {m_stripExtensions
= ov
;}
49 void setTalkFolders(bool ov
) {m_talkFolders
= ov
;}
50 void setTalkFiles(bool ov
) {m_talkFiles
= ov
;}
67 bool m_stripExtensions
;
71 ProgressloggerInterface
* m_logger
;