mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-12 04:11:56 +00:00
43 lines
750 B
C++
43 lines
750 B
C++
#ifndef QTAPP_H
|
|
#define QTAPP_H
|
|
|
|
#include <QObject>
|
|
#include "../Core/Host.h"
|
|
#include "mainwindow.h"
|
|
|
|
class QtApp : public QObject, public Host
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
QtApp(MainWindow* mainWindow);
|
|
|
|
void UpdateMemView();
|
|
void UpdateDisassembly();
|
|
void UpdateUI();
|
|
void SetDebugMode(bool mode);
|
|
|
|
void AddSymbol(std::string name, u32 addr, u32 size, int type);
|
|
|
|
void InitGL();
|
|
void BeginFrame();
|
|
void EndFrame();
|
|
void ShutdownGL();
|
|
|
|
void InitSound(PMixer *mixer);
|
|
void UpdateSound();
|
|
void ShutdownSound();
|
|
|
|
bool IsDebuggingEnabled();
|
|
void BootDone();
|
|
void PrepareShutdown();
|
|
bool AttemptLoadSymbolMap();
|
|
void SetWindowTitle(const char *message);
|
|
|
|
signals:
|
|
void BootDoneSignal();
|
|
private:
|
|
MainWindow* mainWindow;
|
|
};
|
|
|
|
#endif // QTAPP_H
|