blob: e6cc7c9c25f6cc8f387f0944b672e28360b67622 [file] [log] [blame]
Alexandre Lision8521baa2015-03-13 11:08:00 -04001/*
Alexandre Lision9fe374b2016-01-06 10:17:31 -05002 * Copyright (C) 2015-2016 Savoir-faire Linux Inc.
Alexandre Lision8521baa2015-03-13 11:08:00 -04003 * Author: Alexandre Lision <alexandre.lision@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.
Alexandre Lision8521baa2015-03-13 11:08:00 -040018 */
Alexandre Lision5855b6a2015-02-03 11:31:05 -050019#import <Cocoa/Cocoa.h>
Alexandre Lision5855b6a2015-02-03 11:31:05 -050020
Alexandre Lisionfd0d6c82016-03-29 17:06:54 -040021@interface RingWindowController : NSWindowController <NSSharingServicePickerDelegate> {
Alexandre Lision4a7b95e2015-02-20 10:06:43 -050022 IBOutlet NSView *currentView;
Alexandre Lision5855b6a2015-02-03 11:31:05 -050023}
24
Kateryna Kostiuka7248462017-04-18 16:15:31 -040025/**
26 * KVO to show or hide some UI elements in RingWindow:
27 * - Share button
28 * - QRCode
29 * - RingID field
30 * - Explanatory label
31 */
32@property (nonatomic) BOOL hideRingID;
33
Alexandre Lision4a7b95e2015-02-20 10:06:43 -050034- (IBAction)openPreferences:(id)sender;
Alexandre Lision5855b6a2015-02-03 11:31:05 -050035
36@end