remove operator==, != for InsetExternal::Params. They were used only by the old controller scheme.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6379 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-03-07 16:20:17 +00:00
parent be16393a7b
commit fd8dca49b8
3 changed files with 6 additions and 20 deletions

View File

@ -1,3 +1,9 @@
2003-03-07 Angus Leeming <leeming@lyx.org>
* insetexternal.C: remove operator== and operator!= for
InsetExternal::Params. They were used only by the old controller
scheme.
2003-03-07 Angus Leeming <leeming@lyx.org>
* insetcommand.C (localDispatch):

View File

@ -359,22 +359,6 @@ void InsetExternal::editExternal() const
}
bool operator==(InsetExternal::Params const & left,
InsetExternal::Params const & right)
{
return ((left.filename == right.filename) &&
(left.parameters == right.parameters) &&
(left.templ.lyxName == right.templ.lyxName));
}
bool operator!=(InsetExternal::Params const & left,
InsetExternal::Params const & right)
{
return !(left == right);
}
string const InsetExternalMailer::name_("external");
InsetExternalMailer::InsetExternalMailer(InsetExternal & inset)

View File

@ -123,10 +123,6 @@ private:
string tempname_;
};
///
bool operator==(InsetExternal::Params const &, InsetExternal::Params const &);
///
bool operator!=(InsetExternal::Params const &, InsetExternal::Params const &);
#include "mailinset.h"