2022-02-22 08:02:34 +00:00
|
|
|
#pragma once
|
2022-02-14 14:38:41 +00:00
|
|
|
|
|
|
|
#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;
|
2022-02-22 08:02:34 +00:00
|
|
|
|
|
|
|
virtual ~IModuleAccess() = default;
|
|
|
|
|
|
|
|
// FIXME: signals shouldn't be used in a class that is not QObject
|
2022-02-14 14:38:41 +00:00
|
|
|
signals:
|
|
|
|
virtual void loaded() = 0;
|
|
|
|
};
|
2022-02-16 21:51:04 +00:00
|
|
|
} // namespace Modules::Main
|