mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
18 lines
614 B
Objective-C
18 lines
614 B
Objective-C
#import <MtProtoKit/MTNetworkUsageCalculationInfo.h>
|
|
|
|
@implementation MTNetworkUsageCalculationInfo
|
|
|
|
- (instancetype)initWithFilePath:(NSString *)filePath incomingWWANKey:(int32_t)incomingWWANKey outgoingWWANKey:(int32_t)outgoingWWANKey incomingOtherKey:(int32_t)incomingOtherKey outgoingOtherKey:(int32_t)outgoingOtherKey {
|
|
self = [super init];
|
|
if (self != nil) {
|
|
_filePath = filePath;
|
|
_incomingWWANKey = incomingWWANKey;
|
|
_outgoingWWANKey = outgoingWWANKey;
|
|
_incomingOtherKey = incomingOtherKey;
|
|
_outgoingOtherKey = outgoingOtherKey;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|