Files
MacPass/MacPass/MPContextBarViewController.h
michael starke 1bd68d0194 Fixed problem with tab order when another tab was displayed in the context bar
Began reworking filter selection in context bar
2014-01-29 12:20:16 +01:00

48 lines
986 B
Objective-C

//
// MPContextBarViewController.h
// MacPass
//
// Created by Michael Starke on 16/12/13.
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
//
#import "MPViewController.h"
#import "MPEntryFilterHelper.h"
@protocol MPContextBarDelegate <NSObject>
@optional
- (void)contextBarDidChangeFilter;
- (void)contextBarDidExitFilter;
- (void)contextBarDidExitHistory;
- (void)contextBarShouldEmptyTrash;
@end
@class HNHGradientView;
@interface MPContextBarViewController : MPViewController
@property (nonatomic, assign) MPFilterMode filterMode;
@property (nonatomic, readonly) BOOL hasFilter;
@property (nonatomic, weak) id<MPContextBarDelegate> delegate;
@property (weak) NSView *nextKeyView;
- (NSString *)filterString;
- (IBAction)toggleFilterSpace:(id)sender;
- (IBAction)exitFilter:(id)sender;
- (BOOL)showsFilter;
- (BOOL)showsHistory;
- (BOOL)showsTrash;
- (void)showFilter;
- (void)showHistory;
- (void)showTrash;
- (void)enable;
- (void)disable;
@end