mirror of
https://github.com/QuasarApp/macdependency.git
synced 2025-05-05 08:09:34 +00:00
47 lines
1.2 KiB
Objective-C
47 lines
1.2 KiB
Objective-C
//
|
|
// MyDocument.h
|
|
// MacDependency
|
|
//
|
|
// Created by Konrad Windszus on 19.06.09.
|
|
// Copyright Konrad Windszus 2009 . All rights reserved.
|
|
//
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "MachO/macho.h"
|
|
#import "MachO/machocache.h"
|
|
#import "MachOModel.h"
|
|
#import "PrioritySplitViewDelegate.h"
|
|
#import "SymbolTableController.h"
|
|
|
|
@interface MyDocument : NSDocument
|
|
{
|
|
MachOCache* cache;
|
|
MachO* machO;
|
|
NSArray* contents;
|
|
NSAttributedString* log;
|
|
PrioritySplitViewDelegate* splitViewDelegate;
|
|
IBOutlet NSTreeController* dependenciesController;
|
|
IBOutlet NSTextField* textFieldFilename;
|
|
IBOutlet NSTextField* textFieldBottomBar;
|
|
IBOutlet NSSplitView* mainSplitView;
|
|
IBOutlet SymbolTableController* symbolTableController;
|
|
unsigned int numDependencies;
|
|
}
|
|
- (NSAttributedString*)log;
|
|
- (void)setLog:(NSAttributedString *)newLog;
|
|
- (void)appendLogLine:(NSString *)line withModel:(MachOModel*)aModel state:(State)aState;
|
|
- (void)clearLog;
|
|
- (NSString*) workingDirectory;
|
|
|
|
- (void)incrementNumDependencies;
|
|
- (void)resetNumDependencies;
|
|
|
|
- (MachOCache*)cache;
|
|
|
|
- (NSArray*)architectures;
|
|
- (IBAction)clickRevealInFinder:(id)sender;
|
|
- (NSString*)dependencyStatus;
|
|
- (SymbolTableController*)symbolTableController;
|
|
@end
|