• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Not attaching Mail.App plug-in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Not attaching Mail.App plug-in


  • Subject: Not attaching Mail.App plug-in
  • From: MP 09 <email@hidden>
  • Date: Thu, 22 Sep 2005 13:28:33 +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

  • Follow-Ups:
    • Fwd: Not attaching Mail.App plug-in
      • From: MP 09 <email@hidden>
  • Prev by Date: Re: Japanese Language Support
  • Next by Date: NSTextView leaks when closing window with active edit field?
  • Previous by thread: Application hangs when trying to print
  • Next by thread: Fwd: Not attaching Mail.App plug-in
  • Index(es):
    • Date
    • Thread