1 //
2 //  PRFilterController.h
3 //  PRICE
4 //  Filter Controller
5 //
6 //  Created by Riccardo Mottola on 2/19/10.
7 //  Copyright 2010-2014 Carduus. All rights reserved.
8 //
9 // This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
11 
12 
13 #import <AppKit/AppKit.h>
14 
15 #import "PRImage.h"
16 
17 @class PRPreviewController;
18 @class PRFilter;
19 
20 @interface PRFilterController : NSObject
21 {
22   PRPreviewController *previewController;
23   PRFilter *filter;
24   NSArray *oldParameters;
25 }
26 
27 - (IBAction)showFilter:(id)sender;
28 - (IBAction)filterOK:(id)sender;
29 - (IBAction)filterCancel:(id)sender;
30 - (IBAction)parametersChanged:(id)sender;
31 
32 - (void)closeFilterPanel;
33 
34 - (NSArray *)encodeParameters;
35 - (PRImage *)filteredImage;
36 
37 @end
38