@@ -474,6 +474,8 @@ class BINARYNINJAUIAPI TypeBrowserView : public QFrame, public View, public Filt
474
474
std::optional<BinaryNinja::TypeContainer> selectedTypeContainer (bool makeSureItHasPlatform = true , bool preferView = false ) const ;
475
475
// Same as above, but if it returns nullopt, try again with m_data
476
476
std::optional<BinaryNinja::TypeContainer> selectedTypeContainerOrMData (bool makeSureItHasPlatform = true , bool preferView = false ) const ;
477
+ // Selected type container ids, or containers of selected types
478
+ std::unordered_set<std::string> selectedTypeContainerIds () const ;
477
479
478
480
// TA selected or TA relevant to selected types, only if JUST ta stuff is selected and only 1 TA
479
481
std::optional<TypeArchiveRef> selectedTA () const ;
@@ -512,10 +514,17 @@ class BINARYNINJAUIAPI TypeBrowserView : public QFrame, public View, public Filt
512
514
513
515
bool canSyncSelectedTypes ();
514
516
void syncSelectedTypes ();
517
+ bool pushTypesFromView (BinaryViewRef view, const std::unordered_set<BinaryNinja::QualifiedName>& names);
515
518
bool canPushSelectedTypes ();
516
519
void pushSelectedTypes ();
520
+ bool canPushAllTypes ();
521
+ void pushAllTypes ();
522
+ bool pullTypesFromView (BinaryViewRef view, const std::unordered_set<BinaryNinja::QualifiedName>& viewTypeNames);
523
+ bool pullTypesFromArchives (BinaryViewRef view, const std::unordered_map<std::string, std::unordered_set<std::string>>& archiveTypeIdSelection);
517
524
bool canPullSelectedTypes ();
518
525
void pullSelectedTypes ();
526
+ bool canPullAllTypes ();
527
+ void pullAllTypes ();
519
528
bool canDisassociateSelectedTypes ();
520
529
void disassociateSelectedTypes ();
521
530
0 commit comments