mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
![]() |
//
|
||
|
// OSKAccountChooserViewController.h
|
||
|
// Overshare
|
||
|
//
|
||
|
// Created by Jared Sinclair on 10/18/13.
|
||
|
// Copyright (c) 2013 Overshare Kit. All rights reserved.
|
||
|
//
|
||
|
|
||
|
@import UIKit;
|
||
|
@import Accounts;
|
||
|
|
||
|
@class OSKActivity;
|
||
|
@class OSKManagedAccount;
|
||
|
@class OSKAccountChooserViewController;
|
||
|
@protocol OSKActivity_ManagedAccounts;
|
||
|
|
||
|
@protocol OSKAccountChooserViewControllerDelegate <NSObject>
|
||
|
@optional
|
||
|
|
||
|
- (void)accountChooserDidSelectManagedAccount:(OSKManagedAccount *)managedAccount;
|
||
|
- (void)accountChooserDidSelectSystemAccount:(ACAccount *)systemAccount;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface OSKAccountChooserViewController : UITableViewController
|
||
|
|
||
|
- (instancetype)initForManagingAccountsOfActivityClass:(Class)activityClass;
|
||
|
|
||
|
- (instancetype)initWithManagedAccountActivity:(OSKActivity <OSKActivity_ManagedAccounts> *)activity
|
||
|
activeAccount:(OSKManagedAccount *)account
|
||
|
delegate:(id <OSKAccountChooserViewControllerDelegate>)delegate;
|
||
|
|
||
|
- (instancetype)initWithSystemAccounts:(NSArray *)systemAccounts
|
||
|
activeAccount:(ACAccount *)account
|
||
|
delegate:(id <OSKAccountChooserViewControllerDelegate>)delegate;
|
||
|
|
||
|
@end
|