Fwd: Not attaching Mail.App plug-in
Fwd: Not attaching Mail.App plug-in
- Subject: Fwd: Not attaching Mail.App plug-in
- From: MP 09 <email@hidden>
- Date: Fri, 23 Sep 2005 12:28:09 +0530
Hi
I am trying to write plug-in for Mail.App. After a lot of search I found a
way to do that. I am doing subclassing for MVMailBundle.h.
I have written code as below
#include <Carbon/Carbon.h>
#import "R123Bundle.h"
@implementation R123Bundle
+ (void) initialize
{
NSBundle * myBundle;
NSLog(@"DFDFDFDFDFD");
[super initialize];
myBundle = [self bundle];
[self registerBundle];
NSRunAlertPanel(@"R",@"W",@"'OK",NULL,NULL);
}
+ (NSBundle *) bundle
{
return [NSBundle bundleForClass:self];
}
+ (BOOL) hasPreferencesPanel
{
return NO;
}
+ (NSString *) preferencesOwnerClassName{
return @"123";
}
+ (NSstring *) preferencesPanelName
{
return @"123";
}
+ (char) hasComposeAccessoryViewOwner
{
return YES;
}
+ (NSString *) composeAccessoryView
{
return @"123";
}
@end
This code does not invoke when Mail.App loads and do not show Alert message.
Somebody Have any Idea.
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden