S_New4/programManager.h

31 lines
686 B
C
Raw Normal View History

2019-07-06 18:47:29 +00:00
#ifndef MANAGEPROGRAM_H
#define MANAGEPROGRAM_H
#include "parameterManager.h"
#include "pageManager.h"
#include "accountManager.h"
2019-07-07 16:30:37 +00:00
#include <unistd.h>
2019-07-06 18:47:29 +00:00
class ProgramManager
{
public:
ProgramManager();
~ProgramManager();
2019-07-06 18:47:29 +00:00
int start(Settings setting);
private:
int defaultModus(Settings * settings);
int directLinkModus(Settings * settings);
int searchModus(Settings * settings);
int searchModus_update(Settings * settings);
2019-07-06 18:47:29 +00:00
PageManager pageManager;
int convertLink(std::string redirectLink, AccountManager *accountManager, Settings * settings, int Staffel = -1, int Folge = -1, std::string allLinks = "NOT_EMPTY");
};
#endif // MANAGEPROGRAM_H