*/
#import "TextParsedResult.h"
+#import "EmailAction.h"
@implementation TextParsedResult
@synthesize text;
-- initWithString:(NSString *)s {
+- (id)initWithString:(NSString *)s {
if ((self = [super init]) != nil) {
self.text = s;
}
return self;
}
-+ parsedResultForString:(NSString *)s {
- return [[[self alloc] initWithString:s] autorelease];
++ (NSString *)typeName {
+ return NSLocalizedString(@"TextParsedResult type name", @"Text");
}
-+ (NSString *)typeName {
- return @"TEXT";
+- (UIImage *)icon {
+ return [UIImage imageNamed:@"text.png"];
}
- (NSString *)stringForDisplay {
}
- (void) populateActions {
+ //[actions addObject:[EmailAction actionWithRecipient:@"recipient@domain" subject:@"QR Code Contents" body:text]];
}
- (void)dealloc {