2009-11-06 18:06:12 +01:00
|
|
|
#ifndef WRAPDAISY_H
|
|
|
|
#define WRAPDAISY_H
|
|
|
|
|
|
|
|
#include <wx/wx.h>
|
|
|
|
#include "xmlcopyeditor.h"
|
|
|
|
|
|
|
|
class WrapDaisy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WrapDaisy (
|
|
|
|
MyFrame *frame,
|
|
|
|
const wxString& daisyDir,
|
|
|
|
const wxString& path );
|
|
|
|
~WrapDaisy();
|
|
|
|
bool run (
|
|
|
|
wxString& fileIn,
|
|
|
|
wxString& stylesheet,
|
|
|
|
wxString& folder,
|
|
|
|
bool quiet,
|
|
|
|
bool suppressOptional,
|
|
|
|
bool epub,
|
|
|
|
bool rtf,
|
|
|
|
bool fullDaisy,
|
|
|
|
bool mp3Album );
|
|
|
|
wxString getLastError();
|
|
|
|
private:
|
|
|
|
MyFrame *frame;
|
|
|
|
wxString daisyDir, path, blankImage, classPath, commandLineUI, baseCmd, error,
|
|
|
|
memoryCwd, daisyCwd, albumCover;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|