mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 22:39:53 +08:00
34 lines
712 B
C++
34 lines
712 B
C++
#ifndef INOTEBOOKCONFIGMGRFACTORY_H
|
|
#define INOTEBOOKCONFIGMGRFACTORY_H
|
|
|
|
#include <QSharedPointer>
|
|
|
|
namespace vnotex
|
|
{
|
|
class INotebookConfigMgr;
|
|
class INotebookBackend;
|
|
|
|
class INotebookConfigMgrFactory
|
|
{
|
|
public:
|
|
INotebookConfigMgrFactory()
|
|
{
|
|
}
|
|
|
|
virtual ~INotebookConfigMgrFactory()
|
|
{
|
|
}
|
|
|
|
virtual QString getName() const = 0;
|
|
|
|
virtual QString getDisplayName() const = 0;
|
|
|
|
virtual QString getDescription() const = 0;
|
|
|
|
virtual QSharedPointer<INotebookConfigMgr> createNotebookConfigMgr(
|
|
const QSharedPointer<INotebookBackend> &p_backend) = 0;
|
|
};
|
|
} // ns vnotex
|
|
|
|
#endif // INOTEBOOKCONFIGMGRFACTORY_H
|