3 * \file ControlSendto.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
12 #ifndef CONTROLSENDTO_H
13 #define CONTROLSENDTO_H
23 /** A controller for the Custom Export dialogs.
25 class ControlSendto : public Dialog::Controller {
28 ControlSendto(Dialog &);
30 virtual bool initialiseParams(std::string const & data);
32 virtual void clearParams() {}
34 virtual void dispatchParams();
36 virtual bool isBufferDependent() const { return true; }
38 /// Return a vector of those formats that can be exported from "lyx".
39 std::vector<Format const *> const allFormats() const;
41 /// The format to export to
42 Format const * getFormat() { return format_; }
43 void setFormat(Format const *);
45 /// The command to be executed
46 std::string const getCommand() const { return command_; };
47 void setCommand(std::string const &);
50 Format const * format_;
55 } // namespace frontend
58 #endif // CONTROLSENDTO_H