2 // **********************************************************************
3 // The Cheat - A universal game cheater for Mac OS X
4 // (C) 2003-2005 Chaz McGarvey (BrokenZipper)
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 1, or (at your option)
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #import <Cocoa/Cocoa.h>
24 #import "CheaterTypes.h"
30 @interface SearchData
: NSObject
32 TCVariableType _variableType
;
33 TCIntegerSign _integerSign
;
34 TCSearchOperator _operator
;
37 Variable
*_variableValue
;
49 - (TCVariableType
)variableType
;
50 - (void)setVariableType
:(TCVariableType
)varType
;
52 - (TCIntegerSign
)integerSign
;
53 - (void)setIntegerSign
:(TCIntegerSign
)sign
;
55 - (TCSearchOperator
)searchOperator
;
56 - (void)setSearchOperator
:(TCSearchOperator
)op
;
58 - (TCSearchType
)valueUsed
;
59 - (void)setValueUsed
:(TCSearchType
)value
;
61 - (Variable
*)searchValue
;
62 - (void)setSearchValue
:(Variable
*)value
;
64 - (unsigned)numberOfResults
;
66 - (void)setAddresses
:(TCArray
)addresses
;
68 - (void)setValues
:(TCArray
)values
;
69 - (void)setValue
:(Variable
*)value atIndex
:(unsigned)index
;
71 - (Variable
*)variableAtIndex
:(unsigned)index
;
72 - (NSString
*)stringForRow
:(unsigned)rowIndex
;
74 - (BOOL
)hasSearchedOnce
;
78 - (void)didAddResults
;
83 - (BOOL
)isTypeInteger
;