mirror of
https://github.com/textmate/textmate.git
synced 2026-04-06 03:01:29 -04:00
33 lines
920 B
Objective-C
33 lines
920 B
Objective-C
#include <document/document.h>
|
|
#include <bundles/bundles.h>
|
|
|
|
@class OakDocumentView;
|
|
@class PropertiesViewController;
|
|
|
|
namespace be { struct entry_t; typedef std::shared_ptr<entry_t> entry_ptr; } /* be */
|
|
|
|
PUBLIC @interface BundleEditor : NSWindowController <NSBrowserDelegate>
|
|
{
|
|
IBOutlet NSBrowser* browser;
|
|
IBOutlet OakDocumentView* documentView;
|
|
NSDrawer* drawer;
|
|
|
|
PropertiesViewController* sharedPropertiesViewController;
|
|
PropertiesViewController* extraPropertiesViewController;
|
|
|
|
be::entry_ptr bundles;
|
|
std::map<bundles::item_ptr, plist::dictionary_t> changes;
|
|
|
|
BOOL propertiesChanged;
|
|
|
|
bundles::item_ptr bundleItem;
|
|
document::document_ptr bundleItemContent;
|
|
NSMutableDictionary* bundleItemProperties;
|
|
|
|
document::document_t::callback_t* documentCallback;
|
|
}
|
|
+ (BundleEditor*)sharedInstance;
|
|
- (void)revealBundleItem:(bundles::item_ptr const&)anItem;
|
|
- (IBAction)browserSelectionDidChange:(id)sender;
|
|
@end
|