• 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
Fwd: Not attaching Mail.App plug-in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Not attaching Mail.App plug-in (From: MP 09 <email@hidden>)

  • Prev by Date: Re: Compound KeyPaths
  • Next by Date: SEMIFIXED - Re: NSPopUpButton bindings confusion: selectedIndex vs selectedObject vs contentValues etc
  • Previous by thread: Not attaching Mail.App plug-in
  • Next by thread: NSTextView leaks when closing window with active edit field?
  • Index(es):
    • Date
    • Thread