blob: ac374bf7d0d8d14ba24fd6d1a14077cdf61efe77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
//
// NSString+MCO.h
// mailcore2
//
// Created by DINH Viêt Hoà on 1/21/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#ifndef MAILCORE_NSSTRING_MCO_H
#define MAILCORE_NSSTRING_MCO_H
#import <Foundation/Foundation.h>
#ifdef __cplusplus
namespace mailcore {
class String;
class Object;
}
#endif
@interface NSString (MCO)
#ifdef __cplusplus
+ (NSString *) mco_stringWithMCString:(mailcore::String *)cppString;
+ (NSString *) mco_stringWithMCObject:(mailcore::Object *)object;
- (mailcore::String *) mco_mcString;
#endif
- (NSString *) mco_flattenHTML;
- (NSString *) mco_flattenHTMLAndShowBlockquote:(BOOL)showBlockquote;
- (NSString *) mco_flattenHTMLAndShowBlockquote:(BOOL)showBlockquote showLink:(BOOL)showLink;
- (NSString *) mco_htmlEncodedString;
- (NSString *) mco_cleanedHTMLString;
@end
#endif
|