// // MBFrontFileMonitor.h // MBMenuExtra // // Created by Work on 6/9/09. // Copyright 2009 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> extern NSString * const NGAActiveFileChangedNotification; extern NSString * const NGAWindowTitleChangedNotification; #define NGAActiveFileMonitorOldKey NSKeyValueChangeOldKey #define NGAActiveFileMonitorNewKey NSKeyValueChangeNewKey @class NGARemoteAccessibleObject; @interface NGAActiveFileMonitor : NSObject { @private NSSet * _ignoredProcessBundleIDs; BOOL _isMonitoring; NGARemoteAccessibleObject * _monitoredApplicationElement; NSString * _mainWindowTitle; } +(NGAActiveFileMonitor*)sharedMonitor; @property (nonatomic, readwrite, copy) NSSet * ignoredProcessBundleIDs; @property (nonatomic, readonly, assign) BOOL isMonitoring; @property (nonatomic, readonly, retain) NGARemoteAccessibleObject * monitoredApplicationElement; @property (nonatomic, readonly, retain) NSRunningApplication * monitoredApplication; @property (nonatomic, readonly, copy) NSString * mainWindowDocumentPath; @property (nonatomic, readonly, copy) NSString * mainWindowTitle; -(void)startMonitoring; -(void)stopMonitoring; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 20722 | jdputsch | initial branch, prep for -Zapp= support | ||
//guest/michael_bishop/MacMenu/src/P4Menu/Source/NGAActiveFileMonitor.h | |||||
#1 | 8331 | Matt Attaway |
Adding initial version of MacMenu for Perforce MacMenu is a helpful Perforce client that sits in your toolbar. It allows you to run standard Perforce operations on the document that is open the currently active editor/viewer. |