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