host_settings.h 758 B

1234567891011121314151617181920212223242526
  1. // Copyright 2017 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. #ifndef REMOTING_IOS_DOMAIN_HOST_SETTINGS_H_
  5. #define REMOTING_IOS_DOMAIN_HOST_SETTINGS_H_
  6. #import <Foundation/Foundation.h>
  7. typedef NS_ENUM(NSInteger, ClientInputMode) {
  8. ClientInputModeUndefined,
  9. ClientInputModeDirect,
  10. ClientInputModeTrackpad,
  11. };
  12. // A detail record for a Remoting Settings.
  13. @interface HostSettings : NSObject<NSCoding>
  14. // Various properties of the Remoting Settings.
  15. @property(nonatomic, copy) NSString* hostId;
  16. @property(nonatomic) ClientInputMode inputMode;
  17. @property(nonatomic) BOOL shouldResizeHostToFit;
  18. @end
  19. #endif // REMOTING_IOS_DOMAIN_HOST_SETTINGS_H_