]> git.lyx.org Git - lyx.git/commitdiff
Oops...
authorAngus Leeming <leeming@lyx.org>
Wed, 5 Mar 2003 11:33:35 +0000 (11:33 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 5 Mar 2003 11:33:35 +0000 (11:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6352 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insetexternal.h

index 5b8da9ea5feaa57b3b6686191bb8ee201ffdf11a..a2665ec1e62258fa7696ef7a3bab81d3f0426875 100644 (file)
@@ -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