]> Dogcows Code - chaz/thecheat/blob - Process.h
update contact information and project URL
[chaz/thecheat] / Process.h
1
2 /*
3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.brokenzipper.com/trac/wiki/TheCheat
5 *
6 * Copyright (c) 2003-2011, Charles McGarvey et al.
7 *
8 * Distributable under the terms and conditions of the 2-clause BSD
9 * license; see the file COPYING for the legal text of the license.
10 */
11
12 #import <Cocoa/Cocoa.h>
13
14
15 @interface Process : NSObject < NSCopying, NSCoding >
16 {
17 NSString *_name;
18 NSString *_version;
19 NSImage *_icon;
20 pid_t _pid;
21 }
22
23 // initialization
24 - (id)initWithName:(NSString *)name version:(NSString *)version icon:(NSImage *)icon pid:(pid_t)pid;
25 - (id)initWithName:(NSString *)name version:(NSString *)version icon:(NSImage *)icon;
26 - (id)initWithName:(NSString *)name version:(NSString *)version;
27
28 // comparison
29 - (BOOL)sameApplicationAs:(id)anObject;
30
31 // accessors
32 - (BOOL)isEmulated;
33 - (NSString *)name;
34 - (NSString *)version;
35 - (NSImage *)icon;
36 - (pid_t)pid;
37
38 @end
This page took 0.03083 seconds and 4 git commands to generate.