2010-10-01 20:54:30 +02:00
|
|
|
/* NSString+MAPIStore.h - this file is part of SOGo
|
|
|
|
*
|
2012-08-17 21:04:57 +02:00
|
|
|
* Copyright (C) 2010-2012 Inverse inc.
|
2010-10-01 20:54:30 +02:00
|
|
|
*
|
|
|
|
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
|
|
|
*
|
|
|
|
* This file is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2010-10-18 14:57:31 +02:00
|
|
|
* the Free Software Foundation; either version 3, or (at your option)
|
2010-10-01 20:54:30 +02:00
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This file is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; see the file COPYING. If not, write to
|
|
|
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NSSTRING_MAPISTORE_H
|
|
|
|
#define NSSTRING_MAPISTORE_H
|
|
|
|
|
2016-02-17 16:09:18 +01:00
|
|
|
#import <Foundation/NSString.h>
|
2010-10-01 20:54:30 +02:00
|
|
|
|
|
|
|
@interface NSString (MAPIStoreDataTypes)
|
|
|
|
|
2011-09-20 21:30:33 +02:00
|
|
|
+ (id) stringWithGUID: (const struct GUID *) guid;
|
|
|
|
- (void) extractGUID: (struct GUID *) guid;
|
|
|
|
|
2010-10-01 20:54:30 +02:00
|
|
|
- (char *) asUnicodeInMemCtx: (void *) memCtx;
|
|
|
|
|
2011-08-06 01:35:18 +02:00
|
|
|
- (NSData *) convertHexStringToBytes;
|
|
|
|
|
2012-09-06 22:54:29 +02:00
|
|
|
- (NSString *) stringByReplacingPercentEscapesUsingEncoding: (NSStringEncoding) encoding;
|
|
|
|
|
2010-10-01 20:54:30 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* NSSTRING+MAPISTORE_H */
|