mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-05 00:38:49 +00:00
core, frontend: Add 'Dump CXI file' option
Right click on an application in the Select Contents dialog.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <QDialog>
|
||||
#include <QPixmap>
|
||||
#include "core/importer.h"
|
||||
#include "core/ncch/ncch_container.h"
|
||||
|
||||
class QTreeWidgetItem;
|
||||
|
||||
@@ -38,6 +39,12 @@ private:
|
||||
std::size_t id, QString replace_name = {},
|
||||
QPixmap replace_icon = {});
|
||||
|
||||
Core::ContentSpecifier SpecifierFromItem(QTreeWidgetItem* item) const;
|
||||
void OnContextMenu(const QPoint& point);
|
||||
void StartDumpingCXI(const Core::ContentSpecifier& content);
|
||||
Core::NCCHContainer dump_cxi_container; // NCCH container used for dumping CXI
|
||||
QString last_dump_cxi_path; // Used for recording last path in StartDumpingCXI
|
||||
|
||||
std::unique_ptr<Ui::ImportDialog> ui;
|
||||
|
||||
std::string user_path;
|
||||
|
||||
Reference in New Issue
Block a user