ARDSettingsViewController.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright 2016 The WebRTC Project Authors. All rights reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #import <UIKit/UIKit.h>
  11. @class ARDSettingsModel;
  12. NS_ASSUME_NONNULL_BEGIN
  13. /**
  14. * Displays settings options.
  15. */
  16. @interface ARDSettingsViewController : UITableViewController
  17. /**
  18. * Creates new instance.
  19. *
  20. * @param style the table view style that should be used
  21. * @param settingsModel model class for the user settings.
  22. */
  23. - (instancetype)initWithStyle:(UITableViewStyle)style
  24. settingsModel:(ARDSettingsModel *)settingsModel;
  25. #pragma mark - Unavailable
  26. - (instancetype)initWithStyle:(UITableViewStyle)style NS_UNAVAILABLE;
  27. - (instancetype)init NS_UNAVAILABLE;
  28. + (instancetype)new NS_UNAVAILABLE;
  29. @end
  30. NS_ASSUME_NONNULL_END