1 /* 2 * DiffMiddleView.h 3 * 4 * Copyright (c) 2002 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 5 * 6 * This file is part of EasyDiff.app. 7 * 8 * EasyDiff.app is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * EasyDiff.app is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with EasyDiff.app; if not, write to the Free Software 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * 22 */ 23 24 #import <AppKit/AppKit.h> 25 #import "DiffTextView.h" 26 27 @interface DiffMiddleView : NSView 28 { 29 DiffTextView *leftView; 30 DiffTextView *rightView; 31 NSArray *leftChanges; 32 NSArray *rightChanges; 33 NSMutableArray *matrixArray; 34 } 35 36 - (DiffTextView *)leftView; 37 - (void) setLeftView: (DiffTextView *)aView; 38 39 - (DiffTextView *)rightView; 40 - (void) setRightView: (DiffTextView *)aView; 41 42 /* 43 - (void) setLeftChanges: (NSArray *) anArray; 44 - (void) setRightChanges: (NSArray *) anArray; 45 */ 46 47 - (void) setLeftChanges: (NSArray *) leftArray 48 andRightChanges: (NSArray *) rightArray; 49 50 - (void) tile; 51 52 - (NSArray*) matrixArray; 53 @end 54 55