mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-19 11:10:44 -04:00
feat: Add ModManager Context menu & service
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "core/file_sys/vfs/vfs_types.h"
|
#include "core/file_sys/vfs/vfs_types.h"
|
||||||
|
#include "citron/mod_manager/mod_service.h"
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
class System;
|
class System;
|
||||||
@@ -40,12 +41,15 @@ public:
|
|||||||
void SetTitleId(u64 id);
|
void SetTitleId(u64 id);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
void OnContextMenu(const QPoint& pos);
|
||||||
void changeEvent(QEvent* event) override;
|
void changeEvent(QEvent* event) override;
|
||||||
void RetranslateUI();
|
void RetranslateUI();
|
||||||
|
|
||||||
void LoadConfiguration();
|
void LoadConfiguration();
|
||||||
|
|
||||||
std::unique_ptr<Ui::ConfigurePerGameAddons> ui;
|
std::unique_ptr<Ui::ConfigurePerGameAddons> ui;
|
||||||
|
ModManager::ModService* mod_service;
|
||||||
|
ModManager::ModUpdateInfo cached_mod_info;
|
||||||
FileSys::VirtualFile file;
|
FileSys::VirtualFile file;
|
||||||
u64 title_id;
|
u64 title_id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user