Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: remoting/ios/bridge/client_proxy_delegate_wrapper.h

Issue 475333004: Remove old Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_IOS_BRIDGE_HOST_PROXY_DELEGATE_WRAPPER_H_
6 #define REMOTING_IOS_BRIDGE_HOST_PROXY_DELEGATE_WRAPPER_H_
7
8 #import <Foundation/Foundation.h>
9 #import <UIKit/UIKit.h>
10
11 #include <vector>
12
13 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
14
15 #import "remoting/ios/bridge/client_proxy_delegate.h"
16
17 // Wraps ClientProxyDelegate in a class so C++ can accept a strongly typed
18 // pointer. C++ does not understand the id<> convention of passing around a
19 // OBJ_C @protocol pointer. So the @protocol is wrapped and the class is passed
20 // around. After accepting an instance of ClientProxyDelegateWrapper, the
21 // @protocol can be referenced as type (id), which is similar to a (void*),
22
23 @interface ClientProxyDelegateWrapper : NSObject
24
25 @property(nonatomic, retain, readonly) id<ClientProxyDelegate> delegate;
26
27 - (id)init __unavailable;
28
29 + (id)wrapDelegate:(id<ClientProxyDelegate>)delegate;
30
31 @end
32
33 #endif // REMOTING_IOS_BRIDGE_HOST_PROXY_DELEGATE_WRAPPER_H_
OLDNEW
« no previous file with comments | « remoting/ios/bridge/client_proxy_delegate.h ('k') | remoting/ios/bridge/client_proxy_delegate_wrapper.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698