denicija | d17d536 | 2016-11-02 02:56:09 -0700 | [diff] [blame] | 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 | |
| 11 | #import <UIKit/UIKit.h> |
| 12 | |
denicija | 2256e04 | 2016-11-09 06:26:18 -0800 | [diff] [blame] | 13 | @class ARDSettingsModel; |
denicija | d17d536 | 2016-11-02 02:56:09 -0700 | [diff] [blame] | 14 | |
| 15 | NS_ASSUME_NONNULL_BEGIN |
| 16 | /** |
| 17 | * Displays settings options. |
| 18 | */ |
| 19 | @interface ARDSettingsViewController : UITableViewController |
| 20 | |
| 21 | /** |
| 22 | * Creates new instance. |
| 23 | * |
| 24 | * @param style the table view style that should be used |
denicija | 2256e04 | 2016-11-09 06:26:18 -0800 | [diff] [blame] | 25 | * @param settingsModel model class for the user settings. |
denicija | d17d536 | 2016-11-02 02:56:09 -0700 | [diff] [blame] | 26 | */ |
| 27 | - (instancetype)initWithStyle:(UITableViewStyle)style |
denicija | 2256e04 | 2016-11-09 06:26:18 -0800 | [diff] [blame] | 28 | settingsModel:(ARDSettingsModel *)settingsModel; |
denicija | d17d536 | 2016-11-02 02:56:09 -0700 | [diff] [blame] | 29 | |
| 30 | #pragma mark - Unavailable |
| 31 | |
| 32 | - (instancetype)initWithStyle:(UITableViewStyle)style NS_UNAVAILABLE; |
| 33 | - (instancetype)init NS_UNAVAILABLE; |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 34 | + (instancetype)new NS_UNAVAILABLE; |
denicija | d17d536 | 2016-11-02 02:56:09 -0700 | [diff] [blame] | 35 | |
| 36 | @end |
| 37 | NS_ASSUME_NONNULL_END |