style: capitalize TNEF in file names

This commit is contained in:
Francis Lachapelle
2021-08-13 10:35:19 -04:00
parent 7b72f50c1c
commit ccc3de3597
9 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ Mailer_OBJC_FILES += \
SOGoImageMailBodyPart.m \
SOGoMessageMailBodyPart.m \
SOGoCalendarMailBodyPart.m \
SOGoTnefMailBodyPart.m \
SOGoTNEFMailBodyPart.m \
SOGoVCardMailBodyPart.m \
\
SOGoMailForward.m \
+1 -1
View File
@@ -588,7 +588,7 @@ static BOOL debugOn = NO;
else if ([mimeType isEqualToString: @"message/rfc822"])
classString = @"SOGoMessageMailBodyPart";
else if ([mimeType isEqualToString: @"application/ms-tnef"])
classString = @"SOGoTnefMailBodyPart";
classString = @"SOGoTNEFMailBodyPart";
else
{
classString = @"SOGoMailBodyPart";
@@ -19,14 +19,14 @@
02111-1307, USA.
*/
#ifndef __Mailer_SOGoTnefMailBodyPart_H__
#define __Mailer_SOGoTnefMailBodyPart_H__
#ifndef __Mailer_SOGoTNEFMailBodyPart_H__
#define __Mailer_SOGoTNEFMailBodyPart_H__
#import "SOGoMailBodyPart.h"
@class NGMimeBodyPart;
@interface SOGoTnefMailBodyPart : SOGoMailBodyPart
@interface SOGoTNEFMailBodyPart : SOGoMailBodyPart
{
BOOL debugOn;
NSData *part;
@@ -50,4 +50,4 @@
@end
#endif /* __Mailer_SOGoTnefMailBodyPart_H__ */
#endif /* __Mailer_SOGoTNEFMailBodyPart_H__ */
@@ -39,14 +39,14 @@
#import <ytnef.h>
#import "SOGoTnefMailBodyPart.h"
#import "SOGoTNEFMailBodyPart.h"
#define UPR_TO_ATTENDEES_STRING 0x823B
#define UPR_CC_ATTENDEES_STRING 0x823C
#define UPR_ALL_ATTENDEES_STRING 0x8238
/*
SOGoTnefMailBodyPart
SOGoTNEFMailBodyPart
A specialized SOGoMailBodyPart subclass for application/ms-tnef attachments. Can
be used to attach special SoMethods.
@@ -162,7 +162,7 @@ unsigned char GetRruleMonthNum(unsigned char a, unsigned char b) {
return (0);
}
@implementation SOGoTnefMailBodyPart
@implementation SOGoTNEFMailBodyPart
/* Overwritten methods */
@@ -951,4 +951,4 @@ unsigned char GetRruleMonthNum(unsigned char a, unsigned char b) {
return bodyPart;
}
@end /* SOGoTnefMailBodyPart */
@end /* SOGoTNEFMailBodyPart */
+1 -1
View File
@@ -59,7 +59,7 @@
SOGoMessageMailBodyPart = {
superclass = "SOGoMailBodyPart";
};
SOGoTnefMailBodyPart = {
SOGoTNEFMailBodyPart = {
superclass = "SOGoMailBodyPart";
};
SOGoCalendarMailBodyPart = {
+1 -1
View File
@@ -25,7 +25,7 @@ MailPartViewers_OBJC_FILES += \
UIxMailPartAlternativeViewer.m \
UIxMailPartMessageViewer.m \
UIxMailPartICalViewer.m \
UIxMailPartTnefViewer.m \
UIxMailPartTNEFViewer.m \
\
UIxMailPartICalActions.m
@@ -1,4 +1,4 @@
/* UIxMailPartTnefViewer.h - this file is part of SOGo
/* UIxMailPartTNEFViewer.h - this file is part of SOGo
*
* Copyright (C) 2021 Inverse inc.
*
@@ -23,7 +23,7 @@
#import "UIxMailPartMixedViewer.h"
@interface UIxMailPartTnefViewer : UIxMailPartMixedViewer
@interface UIxMailPartTNEFViewer : UIxMailPartMixedViewer
{
}
@@ -28,12 +28,12 @@
#import <NGMime/NGMimeType.h>
#import <SoObjects/Mailer/NSString+Mail.h>
#import <SoObjects/Mailer/SOGoTnefMailBodyPart.h>
#import <SoObjects/Mailer/SOGoTNEFMailBodyPart.h>
#import "UIxMailRenderingContext.h"
#import "UIxMailPartTnefViewer.h"
#import "UIxMailPartTNEFViewer.h"
@implementation UIxMailPartTnefViewer
@implementation UIxMailPartTNEFViewer
- (void) _attachmentIdsFromBodyPart: (id) thePart
@@ -84,10 +84,10 @@
NSArray *parts;
NSInteger i, max;
NSMutableArray *renderedParts;
SOGoTnefMailBodyPart *tnefPart;
SOGoTNEFMailBodyPart *tnefPart;
id viewer, info;
tnefPart = (SOGoTnefMailBodyPart *)[self clientPart];
tnefPart = (SOGoTNEFMailBodyPart *)[self clientPart];
parts = [[tnefPart bodyParts] parts];
max = [parts count];
renderedParts = [NSMutableArray arrayWithCapacity: max];
@@ -126,4 +126,4 @@
nil];
}
@end /* UIxMailPartTnefViewer */
@end /* UIxMailPartTNEFViewer */
+1 -1
View File
@@ -176,7 +176,7 @@ static BOOL showNamedTextAttachmentsInline = NO;
- (WOComponent *) tnefViewer
{
return [viewer pageWithName: @"UIxMailPartTnefViewer"];
return [viewer pageWithName: @"UIxMailPartTNEFViewer"];
}
/* main viewer selection */