Commit 6a90383b authored by Laurent Montel's avatar Laurent Montel 😁

Allow to define currentcollection

parent 788997a0
cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.5.60")
set(PIM_VERSION "5.5.61")
if (POLICY CMP0053)
cmake_policy(SET CMP0053 NEW)
......
......@@ -75,6 +75,12 @@ void ViewerPluginInterface::setMessageItem(const Akonadi::Item &item)
// Reimplement in subclass
}
void ViewerPluginInterface::setCurrentCollection(const Akonadi::Collection &col)
{
Q_UNUSED(col);
// Reimplement in subclass
}
void ViewerPluginInterface::closePlugin()
{
// Reimplement in subclass
......
......@@ -52,6 +52,7 @@ public:
virtual void setUrl(const QUrl &url);
virtual void setMessage(const KMime::Message::Ptr &value);
virtual void setMessageItem(const Akonadi::Item &item);
virtual void setCurrentCollection(const Akonadi::Collection &col);
virtual void closePlugin();
virtual ViewerPluginInterface::SpecificFeatureTypes featureTypes() const = 0;
virtual void updateAction(const Akonadi::Item &item);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment