Subversion Repositories TruePreview

[/] [trunk/] [Source/] [TruePreview.h] - Diff between revs 2 and 17

Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | View Log

Rev 2 Rev 17
Line 33... Line 33...
 * @header
 * @header
 * Defines the <code>TruePreview</code> Mail bundler (the entrypoint for the
 * Defines the <code>TruePreview</code> Mail bundler (the entrypoint for the
 * plugin) and the <code>TruePreviewObject</code> category for
 * plugin) and the <code>TruePreviewObject</code> category for
 * <code>NSObject</code>.
 * <code>NSObject</code>.
 * @copyright Copyright (c) 2009 Jim Riggs, Christian Serving, L.L.C. All rights reserved.
 * @copyright Copyright (c) 2009 Jim Riggs, Christian Serving, L.L.C. All rights reserved.
 * @version \@(#) $Id: TruePreview.h 2 2009-06-27 07:02:45Z jhriggs $
 * @version \@(#) $Id: TruePreview.h 17 2009-10-09 12:21:07Z jhriggs $
 * @updated $Date: 2009-06-27 02:02:45 -0500 (Sat, 27 Jun 2009) $
 * @updated $Date: 2009-10-09 07:21:07 -0500 (Fri, 09 Oct 2009) $
 */
 */
 
 
#import <objc/objc-class.h>
#import <objc/objc-class.h>
 
 
#import <Mail/MVMailBundle.h>
#import "TruePreviewLibraryMessage.h"
#import <Mail/TableViewManager.h>
#import "TruePreviewMessageViewer.h"
#import <Message/LibraryMessage.h>
#import "TruePreviewPreferences.h"
 
 
#import "TruePreviewPreferencesModule.h"
#import "TruePreviewPreferencesModule.h"
 
#import "TruePreviewPreferenceValueTransformer.h"
 
 
/*!
/*!
 * @class
 * @class
 * The <code>TruePreview</code> class is the subclass of
 * The <code>TruePreview</code> class is the subclass of
 * <code>MVMailBundle</code> that provide the plugin entrypoint for the
 * <code>MVMailBundle</code> that provides the plugin entrypoint for the
 * TruePreview plugin.
 * TruePreview plugin.
 * @version \@(#) $Id: TruePreview.h 2 2009-06-27 07:02:45Z jhriggs $
 * @version \@(#) $Id: TruePreview.h 17 2009-10-09 12:21:07Z jhriggs $
 * @updated $Date: 2009-06-27 02:02:45 -0500 (Sat, 27 Jun 2009) $
 * @updated $Date: 2009-10-09 07:21:07 -0500 (Fri, 09 Oct 2009) $
 */
 */
@interface TruePreview : MVMailBundle {
@interface TruePreview : NSObject {
}
}
 
 
#pragma mark Class initialization
#pragma mark Class initialization
/*! @group Class initialization */
/*! @group Class initialization */
 
 
Line 94... Line 94...
@end
@end
 
 
/*!
/*!
 * @category
 * @category
 * Adds a method for method swizzling to <code>NSObject</code> instances.
 * Adds a method for method swizzling to <code>NSObject</code> instances.
 * @version \@(#) $Id: TruePreview.h 2 2009-06-27 07:02:45Z jhriggs $
 * @version \@(#) $Id: TruePreview.h 17 2009-10-09 12:21:07Z jhriggs $
 * @updated $Date: 2009-06-27 02:02:45 -0500 (Sat, 27 Jun 2009) $
 * @updated $Date: 2009-10-09 07:21:07 -0500 (Fri, 09 Oct 2009) $
 */
 */
@interface NSObject (TruePreviewObject)
@interface NSObject (TruePreviewObject)
 
 
#pragma mark Class methods
#pragma mark Class methods
/*! @group Class methods */
/*! @group Class methods */
 
 
 
/*!
 
 * Adds the methods from this class to the specified class.  This is in essence
 
 * adding a category, but we do it through the objective-c runtime, because of
 
 * the "hiding" of classes in >= 10.6.
 
 * @param inClass
 
 *   The <code>Class</code> to which this class's methods should be added.
 
 */
 
+ (void)truePreviewAddAsCategoryToClass:(Class)inClass;
 
 
/*!
/*!
 * Swaps ("swizzles") two methods.  Based on
 * Swaps ("swizzles") two methods.  Based on
 * <a href="http://www.cocoadev.com/index.pl?MethodSwizzling">http://www.cocoadev.com/index.pl?MethodSwizzling</a>.
 * <a href="http://www.cocoadev.com/index.pl?MethodSwizzling">http://www.cocoadev.com/index.pl?MethodSwizzling</a>.
 * @param inOriginalSelector
 * @param inOriginalSelector