blob: 35657f8327f248f2887f0483e6c93c9238165775 [file] [log] [blame]
Kateryna Kostiukc7e68f32019-10-09 16:15:45 -04001/*
2 * Copyright (C) 2019 Savoir-faire Linux Inc.
3 * Author: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20#import <Cocoa/Cocoa.h>
21#import "LrcModelsProtocol.h"
22
23@protocol RingWizardAccManagerDelegate <NSObject>
24- (void)didSignInSuccess:(BOOL)success;
25- (void)showView:(NSView*)view;
26@end
27
28
29@interface ConnectToAccManagerVC: NSViewController <LrcModelsProtocol>
30@property (nonatomic, weak) NSWindowController <RingWizardAccManagerDelegate>* delegate;
31
32/*
33 * KVO value username
34 */
35@property (nonatomic, weak) NSString* username;
36/*
37 * KVO value password
38 */
39@property (nonatomic, weak) NSString* password;
40/*
41 * KVO value account manager
42 */
43@property (nonatomic, weak) NSString* accountManager;
44
45- (void)show;
46
47@end
48