mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-04 20:00:53 +00:00
32 lines
867 B
Objective-C
32 lines
867 B
Objective-C
/*
|
|
* This is the source code of Telegram for iOS v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Peter Iakovlev, 2013.
|
|
*/
|
|
|
|
#if defined(MtProtoKitDynamicFramework)
|
|
# import <MTProtoKitDynamic/MTMessageService.h>
|
|
#elif defined(MtProtoKitMacFramework)
|
|
# import <MTProtoKitMac/MTMessageService.h>
|
|
#else
|
|
# import <MTProtoKit/MTMessageService.h>
|
|
#endif
|
|
|
|
@class MTTimeSyncMessageService;
|
|
|
|
@protocol MTTimeSyncMessageServiceDelegate <NSObject>
|
|
|
|
@optional
|
|
|
|
- (void)timeSyncServiceCompleted:(MTTimeSyncMessageService *)timeSyncService timeDifference:(NSTimeInterval)timeDifference saltList:(NSArray *)saltList;
|
|
|
|
@end
|
|
|
|
@interface MTTimeSyncMessageService : NSObject <MTMessageService>
|
|
|
|
@property (nonatomic, weak) id<MTTimeSyncMessageServiceDelegate> delegate;
|
|
|
|
@end
|