4
** Document header : This file is part of Preview
6
** Copyright (c) 2003,2004 Fabien VALLON
7
** Additional copyrights here
9
** Authors : Fabien VALLON <fabien.vallon@fr.alcove.com>
12
** This program is free software; you can redistribute it and/or
13
** modify it under the terms of the GNU General Public License as
14
** published by the Free Software Foundation; either version 2 of
15
** the License, or (at your option) any later version.
17
** This program is distributed in the hope that it will be useful,
18
** but WITHOUT ANY WARRANTY; without even the implied warranty of
19
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
** See the GNU General Public License for more details.
23
** You should have received a copy of the GNU General Public
24
** License along with this program; if not, write to:
26
** Free Software Foundation, Inc.
27
** 59 Temple Place - Suite 330
28
** Boston, MA 02111-1307, USA
31
#ifndef _IMAGESAPPS_PREVIEW_DOCUMENT_H
32
#define _IMAGESAPPS_PREVIEW_DOCUMENT_H
34
#include <Foundation/NSGeometry.h>
35
#include <AppKit/NSDocument.h>
39
@class NSNotification;
47
@abstract Preview NSDocument subclass
48
@discussion Preview NSDocument subclass.
49
It is also the Preview.gorm controller
50
and the window delegate
52
@interface Document: NSDocument
54
NSScrollView *scrollView;
55
NSImageView *imageView;
67
-(void) zoomImage: (id) sender; //from menuItems
68
-(void) resize: (id) sender; //from menuItems/popUp/matrix
71
- (void)windowDidResize:(NSNotification *)aNotification;
72
- (void)windowDidMiniaturize:(NSNotification *)aNotification;
76
#endif /* _IMAGESAPPS_PREVIEW_DOCUMENT_H */