aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/mac/macExample/macExample/MCTApplication.mm
diff options
context:
space:
mode:
Diffstat (limited to 'example/mac/macExample/macExample/MCTApplication.mm')
-rw-r--r--example/mac/macExample/macExample/MCTApplication.mm22
1 files changed, 22 insertions, 0 deletions
diff --git a/example/mac/macExample/macExample/MCTApplication.mm b/example/mac/macExample/macExample/MCTApplication.mm
new file mode 100644
index 00000000..f2c4c597
--- /dev/null
+++ b/example/mac/macExample/macExample/MCTApplication.mm
@@ -0,0 +1,22 @@
+//
+// MCTApplication.m
+// macExample
+//
+// Created by DINH Viêt Hoà on 4/3/13.
+// Copyright (c) 2013 MailCore. All rights reserved.
+//
+
+#import "MCTApplication.h"
+
+#import <mailcore/mailcore.h>
+
+@implementation MCTApplication
+
+- (void) sendEvent:(NSEvent *)theEvent
+{
+ mailcore::AutoreleasePool * pool = new mailcore::AutoreleasePool();
+ [super sendEvent:theEvent];
+ pool->release();
+}
+
+@end