mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/MtProtoKit git-subtree-mainline: 3b155750f5a4894ff3dedf1860a37e94e0ea9571 git-subtree-split: 14ab734b977fd4f1686a2a13415f6a4c9b9fdd6d
18 lines
603 B
Objective-C
18 lines
603 B
Objective-C
#import "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
|