1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/legacy/TelegraphKit/TGSharedPtrWrapper.h

19 lines
433 B
C
Raw Normal View History

2014-07-10 16:11:09 +02:00
/*
* 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.
*/
2015-10-01 18:19:52 +02:00
#import <Foundation/Foundation.h>
2014-07-10 16:11:09 +02:00
2015-10-01 18:19:52 +02:00
#include <tr1/memory>
2014-07-10 16:11:09 +02:00
2015-10-01 18:19:52 +02:00
@interface TGSharedPtrWrapper : NSObject
2014-07-10 16:11:09 +02:00
2015-10-01 18:19:52 +02:00
- (void)setPtr:(std::tr1::shared_ptr<void> const &)ptr;
- (std::tr1::shared_ptr<void> const &)ptr;
2014-07-10 16:11:09 +02:00
@end