blob: 8e6bbf6b838b084720bea18f6544e65346c61ba1 (
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
|