File: ImagesWindow.h

package info (click to toggle)
imageviewer 0.6.3-0.3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 396 kB
  • ctags: 28
  • sloc: objc: 1,533; makefile: 59
file content (57 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* 
 * ImagesWindow.h created by phr on 2000-10-21 09:33:57 +0000
 *
 * Project ImageViewer
 *
 * Created with ProjectCenter - http://www.gnustep.org
 *
 * $Id: ImagesWindow.h,v 1.6 2003/06/29 17:28:34 probert Exp $
 */

#ifndef _IMAGESWINDOW_H_
#define _IMAGESWINDOW_H_

#include <AppKit/AppKit.h>
#include "ImageShowing.h"

@class BrowserController;

@interface ImagesWindow : NSObject <ImageShowing>
{
  id delegate;
  NSWindow *window;
  BrowserController *browserController;
  NSBrowser *browser;
}

- (id)initWithContentsAtPath:(NSString *)path;

- (id)delegate;
- (void)setDelegate:(id)aDelegate;

- (void)windowWillClose:(NSNotification *)notif;
- (void)windowDidBecomeKey:(NSNotification *)aNotification;

- (NSString *)path;
- (NSString *)imagePath;
- (NSString *)imageName;
- (NSString *)imageType;
- (NSString *)imageSize;
- (NSString *)imageFileModificationDate;
- (NSString *)imageFilePermissions;
- (NSString *)imageFileOwner;
- (NSString *)imageResolution;
- (NSString *)bitsPerSample;
- (NSString *)colorSpaceName;
- (NSString *)hasAlpha;
- (NSString *)imageReps;

@end

@interface NSObject (ImagesWindowDelegates)

- (void)imagesWindowWillClose:(id)sender;

@end

#endif // _IMAGESWINDOW_H__