#pragma once
#include "Logger.h"
#include "LogHistory.h"
#include "HttpServer.h"
#include "DownloadManager.h"
#include "ConsoleManager.h"
#include "Idler.h"
#include "XGControl.h"
#include "XGConfig.h"

class Framework
{
public:
    Framework();
    ~Framework();
    void Run();

private:
    void PreInit();
    void PostInit();
    void Update();
    void OnExit();
    void PostExit();

    Rest::HttpServer* httpServer;

    Logging::Logger* log;

    bool isRunning = true;
};

