1 //
2 //  KBWorkspace.h
3 //  Keybase
4 //
5 //  Created by Gabriel on 6/8/15.
6 //  Copyright (c) 2015 Keybase. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <AppKit/AppKit.h>
11 
12 @interface KBWorkspace : NSObject
13 
14 + (NSString *)applicationSupport:(NSArray *)subdirs create:(BOOL)create error:(NSError **)error;
15 
16 + (void)openURLString:(NSString *)URLString prompt:(BOOL)prompt sender:(id)sender;
17 
18 + (NSUserDefaults *)userDefaults;
19 
20 + (void)setupLogging:(BOOL)debug;
21 
22 + (NSWindow *)windowWithContentView:(NSView<NSWindowDelegate> *)contentView;
23 
24 + (NSWindow *)createMainWindow:(NSView<NSWindowDelegate> *)view;
25 
26 @end
27