3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.dogcows.com/chaz/wiki/TheCheat
6 * Copyright (c) 2003-2010, Charles McGarvey et al.
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.
13 #import <Cocoa/Cocoa.h>
15 #import "CheaterTypes.h"
22 @interface SearchData
: NSObject
24 TCVariableType _variableType
;
25 TCIntegerSign _integerSign
;
26 TCSearchOperator _operator
;
29 Variable
*_variableValue
;
41 - (void)setProcess
:(Process
*)process
;
43 - (TCVariableType
)variableType
;
44 - (void)setVariableType
:(TCVariableType
)varType
;
46 - (TCIntegerSign
)integerSign
;
47 - (void)setIntegerSign
:(TCIntegerSign
)sign
;
49 - (TCSearchOperator
)searchOperator
;
50 - (void)setSearchOperator
:(TCSearchOperator
)op
;
52 - (TCSearchType
)valueUsed
;
53 - (void)setValueUsed
:(TCSearchType
)value
;
55 - (Variable
*)searchValue
;
56 - (void)setSearchValue
:(Variable
*)value
;
58 - (unsigned)numberOfResults
;
60 - (void)setAddresses
:(TCArray
)addresses
;
62 - (void)setValues
:(TCArray
)values
;
63 - (void)setValue
:(Variable
*)value atIndex
:(unsigned)index
;
65 - (Variable
*)variableAtIndex
:(unsigned)index
;
66 - (NSString
*)stringForRow
:(unsigned)rowIndex
;
68 - (BOOL
)hasSearchedOnce
;
72 - (void)didAddResults
;
77 - (BOOL
)isTypeInteger
;