From 249b93b52f1c65efee7de3926c31be6aba504366 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Tue, 17 Oct 2023 00:42:38 -0500 Subject: [PATCH] Add isDummy to IPluginList --- src/ipluginlist.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ipluginlist.h b/src/ipluginlist.h index b6a770e2..84442cb1 100644 --- a/src/ipluginlist.h +++ b/src/ipluginlist.h @@ -212,6 +212,14 @@ class IPluginList * update existing records */ virtual bool isOverlayFlagged(const QString& name) const = 0; + + /** + * @brief determine if a plugin is a dummy + * @param name filename of the plugin (without path but with file extension) + * @return true if the file has no records, false if it does OR if the file doesn't + * exist. + */ + virtual bool isDummy(const QString& name) const = 0; }; } // namespace MOBase