summaryrefslogtreecommitdiff
path: root/macosx/Source/PcsxrMemCardArray.h
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-07-21 20:24:55 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-07-21 20:24:55 +0000
commit0a350e09575dda4ad7c5bb21c5fe5edc659f1d59 (patch)
tree42182554528e73672a4a16a59504babd367e3be9 /macosx/Source/PcsxrMemCardArray.h
parent50630078a5b4891fe0b50a6cadb7514bfc8d4f11 (diff)
downloadpcsxr-0a350e09575dda4ad7c5bb21c5fe5edc659f1d59.tar.gz
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
Diffstat (limited to 'macosx/Source/PcsxrMemCardArray.h')
-rw-r--r--macosx/Source/PcsxrMemCardArray.h6
1 files changed, 3 insertions, 3 deletions
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;