]> git.lyx.org Git - lyx.git/blobdiff - src/Format.h
Add Nomenclature to the TOC.
[lyx.git] / src / Format.h
index 9d91ae1442f7edaa380c30461d4d6b3c885196e1..c4c2a5ea315ef323bef41a5a9534062e61b75e9e 100644 (file)
@@ -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:
        ///