diff options
Diffstat (limited to 'src/core/basetypes')
33 files changed, 77 insertions, 66 deletions
diff --git a/src/core/basetypes/MCArray.h b/src/core/basetypes/MCArray.h index a26e34d8..6ee64792 100644 --- a/src/core/basetypes/MCArray.h +++ b/src/core/basetypes/MCArray.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCARRAY_H_ +#ifndef MAILCORE_MCARRAY_H -#define __MAILCORE_MCARRAY_H_ +#define MAILCORE_MCARRAY_H #include <MailCore/MCObject.h> diff --git a/src/core/basetypes/MCAssert.h b/src/core/basetypes/MCAssert.h index 54979d64..4584aa0a 100644 --- a/src/core/basetypes/MCAssert.h +++ b/src/core/basetypes/MCAssert.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCASSERT_H_ +#ifndef MAILCORE_MCASSERT_H -#define __MAILCORE_MCASSERT_H_ +#define MAILCORE_MCASSERT_H #define MCAssert(cond) MCAssertInternal(__FILE__, __LINE__, cond, #cond) diff --git a/src/core/basetypes/MCAutoreleasePool.h b/src/core/basetypes/MCAutoreleasePool.h index 7feb52f5..f987fd08 100644 --- a/src/core/basetypes/MCAutoreleasePool.h +++ b/src/core/basetypes/MCAutoreleasePool.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCAUTORELEASEPOOL_H_ +#ifndef MAILCORE_MCAUTORELEASEPOOL_H -#define __MAILCORE_MCAUTORELEASEPOOL_H_ +#define MAILCORE_MCAUTORELEASEPOOL_H #include <MailCore/MCObject.h> #include <pthread.h> diff --git a/src/core/basetypes/MCBase64.h b/src/core/basetypes/MCBase64.h index ff61188b..7aa64f2a 100644 --- a/src/core/basetypes/MCBase64.h +++ b/src/core/basetypes/MCBase64.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCBASE64_H_ -#define __MAILCORE_MCBASE64_H_ +#ifndef MAILCORE_MCBASE64_H + +#define MAILCORE_MCBASE64_H #ifdef __cplusplus extern "C" { diff --git a/src/core/basetypes/MCBaseTypes.h b/src/core/basetypes/MCBaseTypes.h index 96fa23fd..ce3e1153 100644 --- a/src/core/basetypes/MCBaseTypes.h +++ b/src/core/basetypes/MCBaseTypes.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCBASETYPES_H_ +#ifndef MAILCORE_MCBASETYPES_H -#define __MAILCORE_MCBASETYPES_H_ +#define MAILCORE_MCBASETYPES_H #include <MailCore/MCAutoreleasePool.h> #include <MailCore/MCObject.h> diff --git a/src/core/basetypes/MCConnectionLogger.h b/src/core/basetypes/MCConnectionLogger.h index bdb588bc..4e2249ff 100644 --- a/src/core/basetypes/MCConnectionLogger.h +++ b/src/core/basetypes/MCConnectionLogger.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_CONNECTION_LOGGER_H_ -#define __MAILCORE_CONNECTION_LOGGER_H_ +#ifndef MAILCORE_CONNECTION_LOGGER_H + +#define MAILCORE_CONNECTION_LOGGER_H #include <stdlib.h> diff --git a/src/core/basetypes/MCConnectionLoggerUtils.h b/src/core/basetypes/MCConnectionLoggerUtils.h index a48c8a07..055b8c9d 100644 --- a/src/core/basetypes/MCConnectionLoggerUtils.h +++ b/src/core/basetypes/MCConnectionLoggerUtils.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCCONNECTIONLOGGERUTILS_H_ -#define __MAILCORE_MCCONNECTIONLOGGERUTILS_H_ +#ifndef MAILCORE_MCCONNECTIONLOGGERUTILS_H + +#define MAILCORE_MCCONNECTIONLOGGERUTILS_H #include <MailCore/MCConnectionLogger.h> diff --git a/src/core/basetypes/MCData.h b/src/core/basetypes/MCData.h index 245ac0c4..6ba056e7 100644 --- a/src/core/basetypes/MCData.h +++ b/src/core/basetypes/MCData.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCDATA_H_ +#ifndef MAILCORE_MCDATA_H -#define __MAILCORE_MCDATA_H_ +#define MAILCORE_MCDATA_H #include <MailCore/MCObject.h> #include <MailCore/MCMessageConstants.h> diff --git a/src/core/basetypes/MCHTMLCleaner.h b/src/core/basetypes/MCHTMLCleaner.h index a7c54eff..bf692e5c 100644 --- a/src/core/basetypes/MCHTMLCleaner.h +++ b/src/core/basetypes/MCHTMLCleaner.h @@ -6,9 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_HTMLCLEANER_H_ +#ifndef MAILCORE_HTMLCLEANER_H -#define __MAILCORE_HTMLCLEANER_H_ +#define MAILCORE_HTMLCLEANER_H #include <MailCore/MCString.h> diff --git a/src/core/basetypes/MCHash.h b/src/core/basetypes/MCHash.h index bce93bfc..5ef0c291 100644 --- a/src/core/basetypes/MCHash.h +++ b/src/core/basetypes/MCHash.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCHASH_H_ +#ifndef MAILCORE_MCHASH_H -#define __MAILCORE_MCHASH_H_ +#define MAILCORE_MCHASH_H #ifdef __cplusplus diff --git a/src/core/basetypes/MCHashMap.h b/src/core/basetypes/MCHashMap.h index d367a43d..ea533dfe 100644 --- a/src/core/basetypes/MCHashMap.h +++ b/src/core/basetypes/MCHashMap.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCHASHMAP_H_ +#ifndef MAILCORE_MCHASHMAP_H -#define __MAILCORE_MCHASHMAP_H_ +#define MAILCORE_MCHASHMAP_H #include <MailCore/MCObject.h> diff --git a/src/core/basetypes/MCICUTypes.h b/src/core/basetypes/MCICUTypes.h index e1cff6d6..5b43c5dc 100644 --- a/src/core/basetypes/MCICUTypes.h +++ b/src/core/basetypes/MCICUTypes.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCICUTYPES_H_ -#define __MAILCORE_MCICUTYPES_H_ +#ifndef MAILCORE_MCICUTYPES_H + +#define MAILCORE_MCICUTYPES_H #if defined(__CHAR16_TYPE__) typedef __CHAR16_TYPE__ UChar; diff --git a/src/core/basetypes/MCIndexSet.h b/src/core/basetypes/MCIndexSet.h index 57fcd538..525cdda8 100644 --- a/src/core/basetypes/MCIndexSet.h +++ b/src/core/basetypes/MCIndexSet.h @@ -6,9 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCINDEXSET_H_ +#ifndef MAILCORE_MCINDEXSET_H -#define __MAILCORE_MCINDEXSET_H_ +#define MAILCORE_MCINDEXSET_H #include <MailCore/MCObject.h> #include <MailCore/MCRange.h> diff --git a/src/core/basetypes/MCIterator.h b/src/core/basetypes/MCIterator.h index 22c264ad..08a3b256 100644 --- a/src/core/basetypes/MCIterator.h +++ b/src/core/basetypes/MCIterator.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_ITERATOR_H_ -#define __MAILCORE_ITERATOR_H_ +#ifndef MAILCORE_ITERATOR_H + +#define MAILCORE_ITERATOR_H #include <MailCore/MCArray.h> #include <MailCore/MCHashMap.h> diff --git a/src/core/basetypes/MCJSON.h b/src/core/basetypes/MCJSON.h index 2049de16..d10f7d77 100644 --- a/src/core/basetypes/MCJSON.h +++ b/src/core/basetypes/MCJSON.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCJSON_H_ -#define __MAILCORE_MCJSON_H_ +#ifndef MAILCORE_MCJSON_H + +#define MAILCORE_MCJSON_H #include <MailCore/MCObject.h> #include <MailCore/MCHashMap.h> diff --git a/src/core/basetypes/MCJSONParser.h b/src/core/basetypes/MCJSONParser.h index 4f759708..16a40c92 100644 --- a/src/core/basetypes/MCJSONParser.h +++ b/src/core/basetypes/MCJSONParser.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCJSONPARSER_H_ -#define __MAILCORE_MCJSONPARSER_H_ +#ifndef MAILCORE_MCJSONPARSER_H + +#define MAILCORE_MCJSONPARSER_H #include <MailCore/MCObject.h> #include <MailCore/MCICUTypes.h> diff --git a/src/core/basetypes/MCLibetpan.h b/src/core/basetypes/MCLibetpan.h index ef7db1f8..9670a47b 100644 --- a/src/core/basetypes/MCLibetpan.h +++ b/src/core/basetypes/MCLibetpan.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCLIBETPAN_H_ -#define __MAILCORE_MCLIBETPAN_H_ +#ifndef MAILCORE_MCLIBETPAN_H + +#define MAILCORE_MCLIBETPAN_H // No API in this file. diff --git a/src/core/basetypes/MCLibetpanTypes.h b/src/core/basetypes/MCLibetpanTypes.h index 33dac195..e2027804 100644 --- a/src/core/basetypes/MCLibetpanTypes.h +++ b/src/core/basetypes/MCLibetpanTypes.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCLIBETPANTYPES_H_ -#define __MAILCORE_MCLIBETPANTYPES_H_ +#ifndef MAILCORE_MCLIBETPANTYPES_H + +#define MAILCORE_MCLIBETPANTYPES_H #ifdef __cplusplus extern "C" { diff --git a/src/core/basetypes/MCLog.h b/src/core/basetypes/MCLog.h index 6911ab02..21a24509 100644 --- a/src/core/basetypes/MCLog.h +++ b/src/core/basetypes/MCLog.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCLOG_H_ +#ifndef MAILCORE_MCLOG_H -#define __MAILCORE_MCLOG_H_ +#define MAILCORE_MCLOG_H #include <stdio.h> diff --git a/src/core/basetypes/MCMD5.h b/src/core/basetypes/MCMD5.h index 1d2f76b1..a7522318 100644 --- a/src/core/basetypes/MCMD5.h +++ b/src/core/basetypes/MCMD5.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCMD5_H_ -#define __MAILCORE_MCMD5_H_ +#ifndef MAILCORE_MCMD5_H + +#define MAILCORE_MCMD5_H #include <MailCore/MCData.h> #include <MailCore/MCString.h> diff --git a/src/core/basetypes/MCMainThread.h b/src/core/basetypes/MCMainThread.h index c9fe4e8d..df246665 100644 --- a/src/core/basetypes/MCMainThread.h +++ b/src/core/basetypes/MCMainThread.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCMAINTHREAD_H +#ifndef MAILCORE_MCMAINTHREAD_H -#define __MAILCORE_MCMAINTHREAD_H +#define MAILCORE_MCMAINTHREAD_H #ifdef __cplusplus diff --git a/src/core/basetypes/MCNull.h b/src/core/basetypes/MCNull.h index 9a8f994d..d17eb108 100644 --- a/src/core/basetypes/MCNull.h +++ b/src/core/basetypes/MCNull.h @@ -6,8 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCNULL_H_ -#define __MAILCORE_MCNULL_H_ +#ifndef MAILCORE_MCNULL_H + +#define MAILCORE_MCNULL_H #include <MailCore/MCObject.h> diff --git a/src/core/basetypes/MCObject.h b/src/core/basetypes/MCObject.h index e3d74f52..4300d914 100644 --- a/src/core/basetypes/MCObject.h +++ b/src/core/basetypes/MCObject.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCOBJECT_H_ +#ifndef MAILCORE_MCOBJECT_H -#define __MAILCORE_MCOBJECT_H_ +#define MAILCORE_MCOBJECT_H #include <pthread.h> #if __APPLE__ diff --git a/src/core/basetypes/MCOperation.h b/src/core/basetypes/MCOperation.h index 9e59b11e..6916caa3 100644 --- a/src/core/basetypes/MCOperation.h +++ b/src/core/basetypes/MCOperation.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCOPERATION_H_ +#ifndef MAILCORE_MCOPERATION_H -#define __MAILCORE_MCOPERATION_H_ +#define MAILCORE_MCOPERATION_H #include <pthread.h> #include <MailCore/MCObject.h> diff --git a/src/core/basetypes/MCOperationCallback.h b/src/core/basetypes/MCOperationCallback.h index 66a50524..b8bea4d9 100644 --- a/src/core/basetypes/MCOperationCallback.h +++ b/src/core/basetypes/MCOperationCallback.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCOPERATIONCALLBACK_H_ +#ifndef MAILCORE_MCOPERATIONCALLBACK_H -#define __MAILCORE_MCOPERATIONCALLBACK_H_ +#define MAILCORE_MCOPERATIONCALLBACK_H #ifdef __cplusplus diff --git a/src/core/basetypes/MCOperationQueue.h b/src/core/basetypes/MCOperationQueue.h index f343c603..202dec40 100644 --- a/src/core/basetypes/MCOperationQueue.h +++ b/src/core/basetypes/MCOperationQueue.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCOPERATIONQUEUE_H_ +#ifndef MAILCORE_MCOPERATIONQUEUE_H -#define __MAILCORE_MCOPERATIONQUEUE_H_ +#define MAILCORE_MCOPERATIONQUEUE_H #include <pthread.h> #include <semaphore.h> diff --git a/src/core/basetypes/MCOperationQueueCallback.h b/src/core/basetypes/MCOperationQueueCallback.h index d849a441..182085a9 100644 --- a/src/core/basetypes/MCOperationQueueCallback.h +++ b/src/core/basetypes/MCOperationQueueCallback.h @@ -6,8 +6,8 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_OPERATIONQUEUECALLBACK_H_ -#define __MAILCORE_OPERATIONQUEUECALLBACK_H_ +#ifndef MAILCORE_OPERATIONQUEUECALLBACK_H +#define MAILCORE_OPERATIONQUEUECALLBACK_H namespace mailcore { diff --git a/src/core/basetypes/MCRange.h b/src/core/basetypes/MCRange.h index 582a8407..12e1a9c0 100644 --- a/src/core/basetypes/MCRange.h +++ b/src/core/basetypes/MCRange.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCRANGE_H_ +#ifndef MAILCORE_MCRANGE_H -#define __MAILCORE_MCRANGE_H_ +#define MAILCORE_MCRANGE_H #ifdef __cplusplus diff --git a/src/core/basetypes/MCSet.h b/src/core/basetypes/MCSet.h index 39793d80..334310a7 100644 --- a/src/core/basetypes/MCSet.h +++ b/src/core/basetypes/MCSet.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_CSET_H_ +#ifndef MAILCORE_CSET_H -#define __MAILCORE_CSET_H_ +#define MAILCORE_CSET_H #include <MailCore/MCObject.h> diff --git a/src/core/basetypes/MCString.h b/src/core/basetypes/MCString.h index 49e0a5ac..7fd07570 100644 --- a/src/core/basetypes/MCString.h +++ b/src/core/basetypes/MCString.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCSTR_H_ +#ifndef MAILCORE_MCSTR_H -#define __MAILCORE_MCSTR_H_ +#define MAILCORE_MCSTR_H #include <MailCore/MCObject.h> #include <MailCore/MCRange.h> diff --git a/src/core/basetypes/MCUtils.h b/src/core/basetypes/MCUtils.h index 7fecfc90..e1bef841 100644 --- a/src/core/basetypes/MCUtils.h +++ b/src/core/basetypes/MCUtils.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCUTILS_H +#ifndef MAILCORE_MCUTILS_H -#define __MAILCORE_MCUTILS_H +#define MAILCORE_MCUTILS_H #ifdef __cplusplus diff --git a/src/core/basetypes/MCValue.h b/src/core/basetypes/MCValue.h index f4ea6a6e..7de1a0d4 100644 --- a/src/core/basetypes/MCValue.h +++ b/src/core/basetypes/MCValue.h @@ -1,6 +1,6 @@ -#ifndef __MAILCORE_MCVALUE_H_ +#ifndef MAILCORE_MCVALUE_H -#define __MAILCORE_MCVALUE_H_ +#define MAILCORE_MCVALUE_H #include <MailCore/MCObject.h> diff --git a/src/core/basetypes/MCValuePrivate.h b/src/core/basetypes/MCValuePrivate.h index 873071f9..67516ad6 100644 --- a/src/core/basetypes/MCValuePrivate.h +++ b/src/core/basetypes/MCValuePrivate.h @@ -6,9 +6,9 @@ // Copyright (c) 2013 MailCore. All rights reserved. // -#ifndef __MAILCORE_MCVALUEPRIVATE_H_ +#ifndef MAILCORE_MCVALUEPRIVATE_H -#define __MAILCORE_MCVALUEPRIVATE_H_ +#define MAILCORE_MCVALUEPRIVATE_H enum { VALUE_TYPE_NONE = mailcore::ValueTypeNone, |