summaryrefslogtreecommitdiff
path: root/ui/containerbrowser.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2026-03-30 08:50:13 -0400
committerBrian Potchik <brian@vector35.com>2026-03-30 08:51:28 -0400
commit5a99579b1a903d3738bb82450ec40c52f1ea5594 (patch)
treed8fa40427b662ea8d04d101180b82681b231347e /ui/containerbrowser.h
parente5c73ffdf3d1914596f0ffd1c989330657934627 (diff)
This reverts commit 7228ba0b889765bc3474fbd5475870e24efc79ca.
Diffstat (limited to 'ui/containerbrowser.h')
-rw-r--r--ui/containerbrowser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/containerbrowser.h b/ui/containerbrowser.h
index 363e5446..b9ba278f 100644
--- a/ui/containerbrowser.h
+++ b/ui/containerbrowser.h
@@ -15,6 +15,7 @@
#include <vector>
+class ContainerOpenRequest;
class ContainerTreeModel : public QAbstractItemModel
{
@@ -121,4 +122,8 @@ public:
bool openWithOptionsRequested() const { return m_openWithOptionsRequested; }
static std::vector<TransformContextRef> openContainerFile(const QString& path, bool forceShowDialog = false, bool* outOpenWithOptions = nullptr);
+
+ // Show the container browser dialog for the given open request.
+ // Returns the selected contexts, or empty if the user cancelled.
+ static std::vector<TransformContextRef> showBrowser(ContainerOpenRequest& request, bool* outOpenWithOptions = nullptr);
};