| 1 | /* |
| 2 | * PushrNetUtil.h |
| 3 | * -------------- |
| 4 | * |
| 5 | * Author: Chris Lee <clee@mg8.org> |
| 6 | * License: GPL v2 <http://www.opensource.org/licenses/gpl-license.php> |
| 7 | */ |
| 8 | |
| 9 | #import <Foundation/Foundation.h> |
| 10 | |
| 11 | @class MobilePushr; |
| 12 | |
| 13 | @interface PushrNetUtil : NSObject |
| 14 | { |
| 15 | MobilePushr *_pushr; |
| 16 | NSMutableArray *_activeInterfaceNames; |
| 17 | } |
| 18 | |
| 19 | - (id)initWithPushr: (MobilePushr *)pushr; |
| 20 | - (void)warnUserAboutSlowEDGE; |
| 21 | - (void)drownWithoutNetwork; |
| 22 | - (NSArray *)activeInterfaceNames; |
| 23 | - (BOOL)hasWiFi; |
| 24 | - (BOOL)hasEDGE; |
| 25 | |
| 26 | @end |