summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemoryObject.h
blob: 358acf87e8ebd6995889fdbfe172e109eae10e90 (plain) (blame)
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
//
//  PcsxrMemoryObject.h
//  Pcsxr
//
//  Created by Charles Betts on 11/23/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/NSString.h>
#import <AppKit/NSImage.h>
#include "sio.h"

@interface PcsxrMemoryObject : NSObject
{
	NSString *englishName;
	NSString *sjisName;
	NSString *memName;
	NSString *memID;
	NSImage *memImage;
	int memIconCount;
	BOOL notDeleted;
	unsigned char memFlags;
}
+ (NSImage *)imageFromMcd:(short *)icon;

- (id)initWithMcdBlock:(McdBlock *)infoBlock;

@property(copy, readwrite) NSString *englishName;
@property(copy, readwrite) NSString *sjisName;
@property(copy, readwrite) NSString *memName;
@property(copy, readwrite) NSString *memID;
@property(retain, readwrite) NSImage *memImage;
@property(readwrite) int memIconCount;
@property(readwrite, getter = isNotDeleted) BOOL notDeleted;
@property(readwrite) unsigned char memFlags;


@end