diff options
Diffstat (limited to 'iphone/FixMyStreet/Classes/Report.m')
-rw-r--r-- | iphone/FixMyStreet/Classes/Report.m | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/iphone/FixMyStreet/Classes/Report.m b/iphone/FixMyStreet/Classes/Report.m deleted file mode 100644 index afd71ede4..000000000 --- a/iphone/FixMyStreet/Classes/Report.m +++ /dev/null @@ -1,64 +0,0 @@ -// -// Report.m -// FixMyStreet -// -// Created by Matthew on 29/09/2008. -// Copyright 2008 UK Citizens Online Democracy. All rights reserved. -// - -/* -#import "Report.h" - -static Report *sharedReport = nil; - -@implementation Report - -@synthesize image, location, subject; - --(void)uploadReport { -} - -// See "Creating a Singleton Instance" in the Cocoa Fundamentals Guide for more info - -+ (Report *)sharedInstance { - @synchronized(self) { - if (sharedReport == nil) { - [[self alloc] init]; // assignment not done here - } - } - return sharedReport; -} - -+ (id)allocWithZone:(NSZone *)zone { - @synchronized(self) { - if (sharedReport == nil) { - sharedReport = [super allocWithZone:zone]; - return sharedReport; // assignment and return on first allocation - } - } - return nil; // on subsequent allocation attempts return nil -} - -- (id)copyWithZone:(NSZone *)zone -{ - return self; -} - -- (id)retain { - return self; -} - -- (unsigned)retainCount { - return UINT_MAX; // denotes an object that cannot be released -} - -- (void)release { - //do nothing -} - -- (id)autorelease { - return self; -} - -@end -*/ |