InsetCode lyxCode() const { return LISTINGS_CODE; }
/// lstinline is inlined, normal listing is displayed
DisplayType display() const;
///
docstring name() const { return from_ascii("Listings"); }
// Update the counters of this inset and of its contents
InsetCode lyxCode() const { return LISTINGS_CODE; }
/// lstinline is inlined, normal listing is displayed
DisplayType display() const;
///
docstring name() const { return from_ascii("Listings"); }
// Update the counters of this inset and of its contents
InsetListingsParams & params() { return params_; }
///
docstring contextMenu(BufferView const & bv, int x, int y) const;
InsetListingsParams & params() { return params_; }
///
docstring contextMenu(BufferView const & bv, int x, int y) const;
-
-class InsetListingsMailer : public MailInset {
-public:
- ///
- InsetListingsMailer(InsetListings & inset);
- ///
- virtual Inset & inset() const { return inset_; }
- ///
- virtual std::string const & name() const { return name_; }
- ///
- virtual std::string const inset2string(Buffer const &) const;
- static void string2params(std::string const &,
- InsetListingsParams &);
- ///
- static std::string const params2string(InsetListingsParams const &);
-private:
- ///
- static std::string const name_;
- ///
- InsetListings & inset_;
+ InsetListingsParams params_;