Loïc Siret | fcb4ca6 | 2016-09-21 17:12:09 -0400 | [diff] [blame] | 1 | /* |
| 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 | |
| 24 | typedef NS_ENUM(NSInteger, WizardAction) { |
| 25 | WIZARD_ACTION_INVALID = -1, |
| 26 | WIZARD_ACTION_NEW = 0, |
| 27 | WIZARD_ACTION_LINK = 1, |
| 28 | }; |
| 29 | |
| 30 | @protocol RingWizardChooseDelegate <NSObject> |
| 31 | |
| 32 | - (void)didCompleteWithAction:(WizardAction)action; |
| 33 | |
| 34 | @end |
| 35 | |
| 36 | @interface RingWizardChooseVC : NSViewController |
| 37 | |
| 38 | @property (weak, nonatomic) id <RingWizardChooseDelegate> delegate; |
| 39 | |
| 40 | @property BOOL isCancelable; |
| 41 | |
| 42 | - (void)showCancelButton:(BOOL)showCancel; |
| 43 | |
| 44 | @end |
| 45 | |