#include "DispatchResult.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "gettext.h"
+#include "support/gettext.h"
#include "Lexer.h"
#include "MetricsInfo.h"
#include <sstream>
+using namespace std;
namespace lyx {
-using std::string;
-using std::istringstream;
-using std::ostringstream;
-
+// FIXME Would it now be possible to use the InsetCode in
+// place of the mailer name and recover that information?
InsetCommand::InsetCommand(InsetCommandParams const & p,
string const & mailer_name)
: p_(p),
}
-void InsetCommand::edit(Cursor & cur, bool)
+void InsetCommand::edit(Cursor & cur, bool, EntryDirection)
{
if (!mailer_name_.empty())
InsetCommandMailer(mailer_name_, *this).showDialog(&cur.bv());
}
-void InsetCommand::replaceContents(std::string const & from, string const & to)
-{
- if (getContents() == from)
- setContents(to);
-}
-
-
InsetCommandMailer::InsetCommandMailer(
string const & name, InsetCommand & inset)
: name_(name), inset_(inset)