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
20 /** A controller for the Custom Export dialogs.
22 class ControlSendto : public Dialog::Controller {
25 ControlSendto(Dialog &);
27 virtual bool initialiseParams(std::string const & data);
29 virtual void clearParams() {}
31 virtual void dispatchParams();
33 virtual bool isBufferDependent() const { return true; }
35 /// Return a vector of those formats that can be exported from "lyx".
36 std::vector<Format const *> const allFormats() const;
38 /// The format to export to
39 Format const * getFormat() { return format_; }
40 void setFormat(Format const *);
42 /// The command to be executed
43 std::string const getCommand() const { return command_; };
44 void setCommand(std::string const &);
47 Format const * format_;
52 #endif // CONTROLSENDTO_H