diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-06-09 11:34:52 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-06-09 11:34:52 +0000 |
| commit | 10eac4b4928e7dd9f79de454641889f2a0b77250 (patch) | |
| tree | 0f9c98f659552ed2406a6159bc123889ca46b919 /macosx/EmuThread.h | |
| parent | 568526e291e9743751d8632327b94e01e7181efc (diff) | |
| download | pcsxr-10eac4b4928e7dd9f79de454641889f2a0b77250.tar.gz | |
added prelimiary Mac OS X port (still not working)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23667 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/EmuThread.h')
| -rw-r--r-- | macosx/EmuThread.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/macosx/EmuThread.h b/macosx/EmuThread.h new file mode 100644 index 00000000..7a88c444 --- /dev/null +++ b/macosx/EmuThread.h @@ -0,0 +1,37 @@ +// +// EmuThread.h +// Pcsx +// +// Created by Gil Pedersen on Sun Sep 21 2003. +// Copyright (c) 2003 __MyCompanyName__. All rights reserved. +// + +#import <Foundation/Foundation.h> +#include <setjmp.h> + +@interface EmuThread : NSObject { + NSAutoreleasePool *pool; + jmp_buf restartJmp; + BOOL wasPaused; +} + +- (void)EmuThreadRun:(id)anObject; +- (void)handleEvents; + ++ (void)run; ++ (void)stop; ++ (BOOL)pause; ++ (BOOL)pauseSafe; ++ (void)resume; ++ (void)resetNow; ++ (void)reset; + ++ (BOOL)isPaused; ++ (BOOL)active; + ++ (void)freezeAt:(NSString *)path which:(int)num; ++ (BOOL)defrostAt:(NSString *)path; + +@end + +extern EmuThread *emuThread; |
