2022-02-14 14:38:41 +00:00
|
|
|
#ifndef IMODULEACCESS_H
|
|
|
|
#define IMODULEACCESS_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
2022-02-16 21:51:04 +00:00
|
|
|
namespace Modules::Main
|
2022-02-14 14:38:41 +00:00
|
|
|
{
|
|
|
|
class IModuleAccess
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void load() = 0;
|
|
|
|
virtual bool isLoaded() = 0;
|
|
|
|
signals:
|
|
|
|
virtual void loaded() = 0;
|
|
|
|
};
|
2022-02-16 21:51:04 +00:00
|
|
|
} // namespace Modules::Main
|
2022-02-14 14:38:41 +00:00
|
|
|
|
|
|
|
Q_DECLARE_INTERFACE(Modules::Main::IModuleAccess, "Modules::Main::IModuleAccess");
|
|
|
|
|
|
|
|
#endif // IMODULEACCESS_H
|