X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFormat.h;h=c4c2a5ea315ef323bef41a5a9534062e61b75e9e;hb=410c716bf703dae98c2064d555b9e2b7678555ee;hp=9d91ae1442f7edaa380c30461d4d6b3c885196e1;hpb=26e5f1a8ec3eb2952e49c87c91395fdcdceddfe9;p=lyx.git diff --git a/src/Format.h b/src/Format.h index 9d91ae1442..c4c2a5ea31 100644 --- a/src/Format.h +++ b/src/Format.h @@ -96,6 +96,9 @@ public: bool inExportMenu() const { return flags_ & export_menu; } /// bool zippedNative() const { return flags_ & zipped_native; } + /// + static bool formatSorter(Format const * lhs, Format const * rhs); + private: /// Internal name. Needs to be unique. std::string name_; @@ -201,6 +204,8 @@ public: /// const_iterator end() const { return formatlist.end(); } /// + bool empty() const { return formatlist.empty(); } + /// FormatList::size_type size() const { return formatlist.size(); } private: ///