ps4delta/code/delta/core/dcore.h
2020-01-19 00:01:14 +01:00

36 lines
No EOL
659 B
C++

#pragma once
/*
* PS4Delta : PS4 emulation and research project
*
* Copyright 2019-2020 Force67.
* For information regarding licensing see LICENSE
* in the root of the source tree.
*/
#include <kern/proc.h>
#include <memory>
#include <string>
#include <QApplication>
#include <QFontDatabase>
#include <QIcon>
#include "ui/mainwindow.h"
class deltaCore : public QApplication {
Q_OBJECT
public:
using argvList = std::vector<std::string>;
deltaCore(int &, char **);
bool init();
void boot(std::string &fromdir);
argvList argv;
private:
bool headless{false};
std::unique_ptr<mainWindow> window;
std::unique_ptr<krnl::proc> proc;
};