@@ -561,10 +561,10 @@ class BINARYNINJAUIAPI UIContext
561561 virtual ProjectRef getProject ();
562562 virtual ProjectStatusWidget* getProjectStatusWidget ();
563563
564- virtual bool openFilename (const QString& path, bool openOptions = false );
564+ virtual bool openFilename (const QString& path, bool openOptions = false , bool forceContainerBrowser = false );
565565 virtual ProjectRef openProject (const QString& path);
566566 virtual ViewFrame* openFileContext (FileContext* file, const QString& forcedView = " " , bool addTab = true );
567- virtual bool openProjectFile (ProjectFileRef file, ExternalLocationRef loc = nullptr , bool openWithOptions = false );
567+ virtual bool openProjectFile (ProjectFileRef file, ExternalLocationRef loc = nullptr , bool openWithOptions = false , bool forceContainerBrowser = false );
568568 virtual bool openUrl (const QUrl& url, bool openWithOptions = false );
569569 virtual void recreateViewFrames (FileContext* file) = 0;
570570 virtual void refreshCurrentViewContents ();
@@ -629,6 +629,12 @@ class BINARYNINJAUIAPI UIContext
629629 \return Name to display for this path
630630 */
631631 QString GetNameForPath (const QString& path);
632+ /* !
633+ Get the displayed name for a file, resolving container entries within projects
634+ \param metadata FileMetadata whose displayed name you want
635+ \return Name to display for this file
636+ */
637+ QString GetNameForPath (FileMetadataRef metadata);
632638
633639 virtual QWidget* fileContentsLockStatusWidget () = 0;
634640
0 commit comments