source: SMSSender/frontend/gui/business/libraryloader.h @ 315:e6c8bb244ecd

separation-frontend-backend
Last change on this file since 315:e6c8bb244ecd was 315:e6c8bb244ecd, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Separates the frontend from the backend code.
  • At this point the schoolnet gateway is converted only.
  • Removes bc & da prefixes from the filenames.
File size: 970 bytes
Line 
1#ifndef FRONTEND_GUI_LIBRARYLOADER_H
2#define FRONTEND_GUI_LIBRARYLOADER_H
3
4#include "frontend/business/accountmanager.h"
5#include "frontend/business/gatewaymanager.h"
6#include "frontend/business/libraryloader_base.h"
7#include "frontend/gui/persistence/persistencefactory.h"
8#include "frontend/gui/ui/guimanager.h"
9
10class LibraryLoader : public BaseLibraryLoader {
11public:
12    LibraryLoader(const AccountManager &accountManager, GatewayManager *gatewayManager,
13                  ContactImporterManager *contactImporterManager, const Persistence::PersistenceFactory &persistenceFactory, UI::GuiManager *guiManager);
14
15protected:
16    IIntegrationHelper::Factory *createIntegrationHelperFactory(const QString &identificationKey) const;
17
18
19private:
20    const AccountManager &m_accountManager;
21    const Persistence::PersistenceFactory &m_persistenceFactory;
22    UI::GuiManager * const m_guiManager;
23
24    Q_DISABLE_COPY(LibraryLoader)
25};
26
27#endif // FRONTEND_GUI_LIBRARYLOADER_H
Note: See TracBrowser for help on using the repository browser.