forked from jakob/TableTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTTFormatViewController.h
34 lines (26 loc) · 962 Bytes
/
TTFormatViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// TTFormatViewController.h
// Table Tool
//
// Created by Andreas Aigner on 24.07.15.
// Copyright (c) 2015 Egger Apps. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "CSVConfiguration.h"
@class TTFormatViewController;
@protocol TTFormatViewControllerDelegate
-(void)configurationChangedForFormatViewController:(TTFormatViewController *)formatViewController;
@end
@interface TTFormatViewController : NSViewController
@property (readonly) BOOL firstRowAsHeader;
@property CSVConfiguration *config;
@property id<TTFormatViewControllerDelegate> delegate;
@property IBOutlet NSSegmentedControl *escapeControl;
@property IBOutlet NSSegmentedControl *separatorControl;
@property IBOutlet NSSegmentedControl *decimalControl;
@property IBOutlet NSPopUpButton *encodingMenu;
@property IBOutlet NSButton *useFirstRowAsHeaderCheckbox;
- (IBAction)updateConfiguration:(id)sender;
- (void)selectFormatByConfig;
- (void)setEnabled:(BOOL)enabled;
@end