From 0a350e09575dda4ad7c5bb21c5fe5edc659f1d59 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 21 Jul 2014 20:24:55 +0000 Subject: OS X: Modernize the Cocoa code using Xcode 6. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91019 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Source/PcsxrMemCardArray.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macosx/Source/PcsxrMemCardArray.h') diff --git a/macosx/Source/PcsxrMemCardArray.h b/macosx/Source/PcsxrMemCardArray.h index 21b45f3c..584118b6 100644 --- a/macosx/Source/PcsxrMemCardArray.h +++ b/macosx/Source/PcsxrMemCardArray.h @@ -11,7 +11,7 @@ @interface PcsxrMemCardArray : NSObject -- (id)initWithMemoryCardNumber:(int)carNum; +- (instancetype)initWithMemoryCardNumber:(int)carNum NS_DESIGNATED_INITIALIZER; - (void)deleteMemoryBlocksAtIndex:(int)slotnum; - (void)compactMemory; @@ -21,14 +21,14 @@ * @abstract Blocks that are free from any data * @result free blocks */ -- (int)freeBlocks; +@property (readonly) int freeBlocks; /** * @fn availableBlocks * @abstract Blocks that have been deleted * @result free blocks */ -- (int)availableBlocks; +@property (readonly) int availableBlocks; - (int)memorySizeAtIndex:(int)idx; - (BOOL)moveBlockAtIndex:(int)idx toMemoryCard:(PcsxrMemCardArray*)otherCard; - (int)indexOfFreeBlocksWithSize:(int)asize; -- cgit v1.2.3