// // Reachability.h // MBMenuExtra // // Created by Michael Bishop on 12/22/09. // Copyright 2009 Perforce Software. All rights reserved. // #import <Cocoa/Cocoa.h> #include <SystemConfiguration/SCNetworkReachability.h> typedef void (^ReachabilityCallbackBlock)(SCNetworkReachabilityFlags flags); @interface NGAReachability : NSObject { SCNetworkReachabilityRef reachabilityRef; ReachabilityCallbackBlock _block; SCNetworkReachabilityContext _context; NSString * _name; } -(id)initWithName:(NSString*)address; -(BOOL)startWithBlock:(ReachabilityCallbackBlock)block; -(BOOL)stop; -(BOOL)isReachableWithoutRequiringConnection:(SCNetworkReachabilityFlags)flags; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 20722 | jdputsch | initial branch, prep for -Zapp= support | ||
//guest/michael_bishop/MacMenu/src/NGAUtilities/Source/NGAReachability.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. |