aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/utils/NSString+MCO.h
blob: b459a846a04e03c64219be97a61c7d1c139c5f53 (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
//
//  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

@end

#endif