| Index: webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h
|
| diff --git a/webrtc/base/asyncpacketsocket.cc b/webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h
|
| similarity index 52%
|
| copy from webrtc/base/asyncpacketsocket.cc
|
| copy to webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h
|
| index fe36401f174ea4c67566bb836ce5b5f86096171a..f091ad05b2cf98637450505208aaa231f9b5547b 100644
|
| --- a/webrtc/base/asyncpacketsocket.cc
|
| +++ b/webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h
|
| @@ -8,22 +8,20 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#include "webrtc/base/asyncpacketsocket.h"
|
| +#import <UIKit/UIKit.h>
|
|
|
| -namespace rtc {
|
| +@class ARDMainView;
|
|
|
| -PacketTimeUpdateParams::PacketTimeUpdateParams()
|
| - : rtp_sendtime_extension_id(-1),
|
| - srtp_auth_tag_len(-1),
|
| - srtp_packet_index(-1) {
|
| -}
|
| +@protocol ARDMainViewDelegate <NSObject>
|
|
|
| -PacketTimeUpdateParams::~PacketTimeUpdateParams() = default;
|
| +- (void)mainView:(ARDMainView *)mainView didInputRoom:(NSString *)room;
|
|
|
| -AsyncPacketSocket::AsyncPacketSocket() {
|
| -}
|
| +@end
|
|
|
| -AsyncPacketSocket::~AsyncPacketSocket() {
|
| -}
|
| +// The main view of AppRTCDemo. It contains an input field for entering a room
|
| +// name on apprtc to connect to.
|
| +@interface ARDMainView : UIView
|
|
|
| -}; // namespace rtc
|
| +@property(nonatomic, weak) id<ARDMainViewDelegate> delegate;
|
| +
|
| +@end
|
|
|