X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=SearchResults.m;fp=SearchResults.m;h=0000000000000000000000000000000000000000;hp=8e1518066aaac3c6bf1d056df23bebff13793421;hb=d27548f80fe411fda2ee69c74a24eab4292267e9;hpb=e8d51183acdd2410a38dcf8f0efbf7c30cd6c581 diff --git a/SearchResults.m b/SearchResults.m deleted file mode 100644 index 8e15180..0000000 --- a/SearchResults.m +++ /dev/null @@ -1,68 +0,0 @@ - -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// Project: The Cheat -// -// File: SearchResults.m -// Created: Sat Oct 04 2003 -// -// Copyright: 2003 Chaz McGarvey. All rights reserved. -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -#import "SearchResults.h" - - -@implementation SearchResults - - -+ (id)resultsWithType:(TCtype)type size:(TCsize)size data:(TCaddress const *)data amount:(int)amount -{ - return [[[SearchResults alloc] initWithType:type size:size data:data amount:amount] autorelease]; -} - -- (id)initWithType:(TCtype)type size:(TCsize)size data:(TCaddress const *)data amount:(int)amount -{ - if ( self = [self init] ) - { - myType = type; - mySize = size; - myData = (TCaddress *)data; - myAmount = amount; - } - - return self; -} - - -- (TCtype)type -{ - return myType; -} - -- (TCsize)size -{ - return mySize; -} - -- (TCaddress *)data -{ - return myData; -} - -- (int)amount -{ - return myAmount; -} - - -- (void)dealloc -{ - if ( myData ) - { - free( myData ); - } - - [super dealloc]; -} - - -@end \ No newline at end of file