mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Oops...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6352 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b7c9ae4931
commit
5f850b5cab
@ -17,8 +17,6 @@
|
||||
#include "ExternalTemplate.h"
|
||||
#include "LString.h"
|
||||
|
||||
#include <boost/signals/signal0.hpp>
|
||||
|
||||
///
|
||||
class InsetExternal : public InsetButton {
|
||||
public:
|
||||
@ -39,6 +37,8 @@ public:
|
||||
InsetExternal();
|
||||
///
|
||||
virtual ~InsetExternal();
|
||||
///
|
||||
virtual dispatch_result localDispatch(FuncRequest const & cmd);
|
||||
/// what appears in the minibuffer when opening
|
||||
virtual string const editMessage() const;
|
||||
///
|
||||
@ -97,10 +97,10 @@ public:
|
||||
void viewExternal() const;
|
||||
|
||||
/// return a copy of our current params
|
||||
Params params() const;
|
||||
Params const & params() const;
|
||||
|
||||
/// hide connection
|
||||
boost::signal0<void> hideDialog;
|
||||
///
|
||||
void setView(BufferView * bv) { view_ = bv; }
|
||||
|
||||
private:
|
||||
/// Write the output for a specific file format
|
||||
@ -128,4 +128,28 @@ bool operator==(InsetExternal::Params const &, InsetExternal::Params const &);
|
||||
///
|
||||
bool operator!=(InsetExternal::Params const &, InsetExternal::Params const &);
|
||||
|
||||
#include "mailinset.h"
|
||||
|
||||
class InsetExternalMailer : public MailInset {
|
||||
public:
|
||||
///
|
||||
InsetExternalMailer(InsetExternal & inset);
|
||||
///
|
||||
virtual Inset & inset() const { return inset_; }
|
||||
///
|
||||
virtual string const & name() const { return name_; }
|
||||
///
|
||||
virtual string const inset2string() const;
|
||||
///
|
||||
static void string2params(string const &, InsetExternal::Params &);
|
||||
///
|
||||
static string const params2string(string const & name,
|
||||
InsetExternal::Params const &);
|
||||
private:
|
||||
///
|
||||
string const name_;
|
||||
///
|
||||
InsetExternal & inset_;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user