blob: 75706f65bd0151c7640b083c812ea4abed326589 [file] [log] [blame]
Loïc Siretfcb4ca62016-09-21 17:12:09 -04001/*
2 * Copyright (C) 2015-2016 Savoir-faire Linux Inc.
3 * Author: Loïc Siret <loic.siret@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#import <Cocoa/Cocoa.h>
20
21@class RingWizardWC;
22
23
24typedef NS_ENUM(NSInteger, WizardAction) {
25 WIZARD_ACTION_INVALID = -1,
26 WIZARD_ACTION_NEW = 0,
Kateryna Kostiukc7e68f32019-10-09 16:15:45 -040027 WIZARD_ACTION_IMPORT_FROM_DEVICE= 1,
28 WIZARD_ACTION_IMPORT_FROM_ADCHIVE= 2,
29 WIZARD_ACTION_ADVANCED = 3,
30 WIZARD_ACTION_SIP_ACCOUNT = 4,
Kateryna Kostiuk707c7ac2020-09-18 11:27:13 -040031 WIZARD_ACTION_ACCOUNT_MANAGER = 5,
32 WIZARD_ACTION_RENDEZVOUS = 6
Loïc Siretfcb4ca62016-09-21 17:12:09 -040033};
34
35@protocol RingWizardChooseDelegate <NSObject>
36
37- (void)didCompleteWithAction:(WizardAction)action;
38
39@end
40
41@interface RingWizardChooseVC : NSViewController
42
43@property (weak, nonatomic) id <RingWizardChooseDelegate> delegate;
44
45@property BOOL isCancelable;
46
Kateryna Kostiukc7e68f32019-10-09 16:15:45 -040047- (void)showInitialwithCancell:(BOOL)showCancel;
Kateryna Kostiukecaa3952018-07-13 16:00:34 -040048
Loïc Siretfcb4ca62016-09-21 17:12:09 -040049@end
50