Explicitly @synthesize ObjC @properties
This is required after https://code.google.com/p/gyp/source/detail?r=1768 turned on -Wobjc-missing-property-synthesis for ninja builds (until then it was only enabled for xcode builds) to allow chromium_deps to roll in webrtc/DEPS. BUG=2560 R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/3089004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5047 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -31,11 +31,11 @@
|
|||||||
|
|
||||||
#import "RTCICECandidate+internal.h"
|
#import "RTCICECandidate+internal.h"
|
||||||
|
|
||||||
@implementation RTCICECandidate {
|
@implementation RTCICECandidate
|
||||||
NSString *_sdpMid;
|
|
||||||
NSInteger _sdpMLineIndex;
|
@synthesize sdpMid = _sdpMid;
|
||||||
NSString *_sdp;
|
@synthesize sdpMLineIndex = _sdpMLineIndex;
|
||||||
}
|
@synthesize sdp = _sdp;
|
||||||
|
|
||||||
- (id)initWithMid:(NSString *)sdpMid
|
- (id)initWithMid:(NSString *)sdpMid
|
||||||
index:(NSInteger)sdpMLineIndex
|
index:(NSInteger)sdpMLineIndex
|
||||||
|
@@ -33,6 +33,10 @@
|
|||||||
|
|
||||||
@implementation RTCICEServer
|
@implementation RTCICEServer
|
||||||
|
|
||||||
|
@synthesize URI = _URI;
|
||||||
|
@synthesize username = _username;
|
||||||
|
@synthesize password = _password;
|
||||||
|
|
||||||
- (id)initWithURI:(NSURL *)URI
|
- (id)initWithURI:(NSURL *)URI
|
||||||
username:(NSString *)username
|
username:(NSString *)username
|
||||||
password:(NSString *)password {
|
password:(NSString *)password {
|
||||||
|
@@ -29,6 +29,9 @@
|
|||||||
|
|
||||||
@implementation RTCPair
|
@implementation RTCPair
|
||||||
|
|
||||||
|
@synthesize key = _key;
|
||||||
|
@synthesize value = _value;
|
||||||
|
|
||||||
- (id)initWithKey:(NSString *)key value:(NSString *)value {
|
- (id)initWithKey:(NSString *)key value:(NSString *)value {
|
||||||
if ((self = [super init])) {
|
if ((self = [super init])) {
|
||||||
_key = [key copy];
|
_key = [key copy];
|
||||||
|
@@ -64,6 +64,8 @@
|
|||||||
|
|
||||||
@implementation RTCPeerConnectionFactory
|
@implementation RTCPeerConnectionFactory
|
||||||
|
|
||||||
|
@synthesize nativeFactory = _nativeFactory;
|
||||||
|
|
||||||
+ (void)initializeSSL {
|
+ (void)initializeSSL {
|
||||||
BOOL initialized = talk_base::InitializeSSL();
|
BOOL initialized = talk_base::InitializeSSL();
|
||||||
NSAssert(initialized, @"Failed to initialize SSL library");
|
NSAssert(initialized, @"Failed to initialize SSL library");
|
||||||
|
@@ -31,10 +31,10 @@
|
|||||||
|
|
||||||
#import "RTCSessionDescription+internal.h"
|
#import "RTCSessionDescription+internal.h"
|
||||||
|
|
||||||
@implementation RTCSessionDescription {
|
@implementation RTCSessionDescription
|
||||||
NSString *_description;
|
|
||||||
NSString *_type;
|
@synthesize description = _description;
|
||||||
}
|
@synthesize type = _type;
|
||||||
|
|
||||||
- (id)initWithType:(NSString *)type sdp:(NSString *)sdp {
|
- (id)initWithType:(NSString *)type sdp:(NSString *)sdp {
|
||||||
if (!type || !sdp) {
|
if (!type || !sdp) {
|
||||||
|
@@ -40,6 +40,8 @@
|
|||||||
|
|
||||||
@implementation RTCVideoRenderer
|
@implementation RTCVideoRenderer
|
||||||
|
|
||||||
|
@synthesize delegate = _delegate;
|
||||||
|
|
||||||
+ (RTCVideoRenderer *)videoRenderGUIWithFrame:(CGRect)frame {
|
+ (RTCVideoRenderer *)videoRenderGUIWithFrame:(CGRect)frame {
|
||||||
// TODO (hughv): Implement.
|
// TODO (hughv): Implement.
|
||||||
return nil;
|
return nil;
|
||||||
|
@@ -44,6 +44,12 @@
|
|||||||
|
|
||||||
@implementation RTCSessionDescriptionSyncObserver
|
@implementation RTCSessionDescriptionSyncObserver
|
||||||
|
|
||||||
|
@synthesize error = _error;
|
||||||
|
@synthesize sessionDescription = _sessionDescription;
|
||||||
|
@synthesize success = _success;
|
||||||
|
@synthesize condition = _condition;
|
||||||
|
@synthesize signaled = _signaled;
|
||||||
|
|
||||||
- (id)init {
|
- (id)init {
|
||||||
if ((self = [super init])) {
|
if ((self = [super init])) {
|
||||||
if (!(_condition = [[NSCondition alloc] init]))
|
if (!(_condition = [[NSCondition alloc] init]))
|
||||||
|
@@ -49,6 +49,19 @@
|
|||||||
|
|
||||||
@implementation APPRTCAppClient
|
@implementation APPRTCAppClient
|
||||||
|
|
||||||
|
@synthesize ICEServerDelegate = _ICEServerDelegate;
|
||||||
|
@synthesize messageHandler = _messageHandler;
|
||||||
|
|
||||||
|
@synthesize backgroundQueue = _backgroundQueue;
|
||||||
|
@synthesize baseURL = _baseURL;
|
||||||
|
@synthesize gaeChannel = _gaeChannel;
|
||||||
|
@synthesize postMessageUrl = _postMessageUrl;
|
||||||
|
@synthesize pcConfig = _pcConfig;
|
||||||
|
@synthesize roomHtml = _roomHtml;
|
||||||
|
@synthesize sendQueue = _sendQueue;
|
||||||
|
@synthesize token = _token;
|
||||||
|
@synthesize verboseLogging = _verboseLogging;
|
||||||
|
|
||||||
- (id)init {
|
- (id)init {
|
||||||
if (self = [super init]) {
|
if (self = [super init]) {
|
||||||
_backgroundQueue = dispatch_queue_create("RTCBackgroundQueue", NULL);
|
_backgroundQueue = dispatch_queue_create("RTCBackgroundQueue", NULL);
|
||||||
|
@@ -142,6 +142,14 @@
|
|||||||
|
|
||||||
@implementation APPRTCAppDelegate
|
@implementation APPRTCAppDelegate
|
||||||
|
|
||||||
|
@synthesize window = _window;
|
||||||
|
@synthesize viewController = _viewController;
|
||||||
|
@synthesize client = _client;
|
||||||
|
@synthesize pcObserver = _pcObserver;
|
||||||
|
@synthesize peerConnection = _peerConnection;
|
||||||
|
@synthesize peerConnectionFactory = _peerConnectionFactory;
|
||||||
|
@synthesize queuedRemoteCandidates = _queuedRemoteCandidates;
|
||||||
|
|
||||||
#pragma mark - UIApplicationDelegate methods
|
#pragma mark - UIApplicationDelegate methods
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application
|
- (BOOL)application:(UIApplication *)application
|
||||||
|
@@ -33,6 +33,10 @@
|
|||||||
|
|
||||||
@implementation APPRTCViewController
|
@implementation APPRTCViewController
|
||||||
|
|
||||||
|
@synthesize textField = _textField;
|
||||||
|
@synthesize textInstructions = _textInstructions;
|
||||||
|
@synthesize textOutput = _textOutput;
|
||||||
|
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
self.textField.delegate = self;
|
self.textField.delegate = self;
|
||||||
|
@@ -38,6 +38,9 @@
|
|||||||
|
|
||||||
@implementation GAEChannelClient
|
@implementation GAEChannelClient
|
||||||
|
|
||||||
|
@synthesize delegate = _delegate;
|
||||||
|
@synthesize webView = _webView;
|
||||||
|
|
||||||
- (id)initWithToken:(NSString *)token delegate:(id<GAEMessageHandler>)delegate {
|
- (id)initWithToken:(NSString *)token delegate:(id<GAEMessageHandler>)delegate {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if (self) {
|
if (self) {
|
||||||
|
Reference in New Issue
Block a user