Files
qt5-legatus-legacy/Lts/Common/PluginInterfaces/style_plugin_interface.h
T
2026-08-13 18:33:10 +02:00

30 lines
464 B
C++
Executable File

/**
* @RDE_HEADER@
* Interface for Style Plugins (Resources & Stylesheets)
* $Id$
* $HeadURL$
* $Author$
*
* Created by Mike Wille, SLSE, 2016-10-14
*/
#pragma once
#include <QObject>
namespace StylePlugin
{
class Plugin
{
public:
Plugin() = default;
virtual ~Plugin() = default;
virtual void loadStyle(bool highDpi) = 0;
virtual void unloadStyle() = 0;
};
} // namespace StylePlugin
Q_DECLARE_INTERFACE(StylePlugin::Plugin, "style")