| 1 |
1 |
jhriggs |
/*
|
| 2 |
|
|
* Copyright (c) 2009, Jim Riggs, Christian Serving, L.L.C.
|
| 3 |
|
|
* All rights reserved.
|
| 4 |
|
|
*
|
| 5 |
|
|
* Redistribution and use in source and binary forms, with or without
|
| 6 |
|
|
* modification, are permitted provided that the following conditions are
|
| 7 |
|
|
* met:
|
| 8 |
|
|
* * Redistributions of source code must retain the above copyright
|
| 9 |
|
|
* notice, this list of conditions and the following disclaimer.
|
| 10 |
|
|
* * Redistributions in binary form must reproduce the above
|
| 11 |
|
|
* copyright notice, this list of conditions and the following
|
| 12 |
|
|
* disclaimer in the documentation and/or other materials provided
|
| 13 |
|
|
* with the distribution.
|
| 14 |
|
|
* * Neither the name of Christian Serving, L.L.C. nor the names of
|
| 15 |
|
|
* its contributors may be used to endorse or promote products
|
| 16 |
|
|
* derived from this software without specific prior written
|
| 17 |
|
|
* permission.
|
| 18 |
|
|
*
|
| 19 |
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 20 |
|
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 21 |
|
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 22 |
|
|
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 23 |
|
|
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 24 |
|
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 25 |
|
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 26 |
|
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 27 |
|
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 28 |
|
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 29 |
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 30 |
|
|
*/
|
| 31 |
|
|
|
| 32 |
|
|
/*!
|
| 33 |
|
|
* @header
|
| 34 |
|
|
* Defines the <code>TruePreviewPreferences</code> category for
|
| 35 |
|
|
* <code>NSPreferences</code>.
|
| 36 |
|
|
* @copyright Copyright (c) 2009 Jim Riggs, Christian Serving, L.L.C. All rights reserved.
|
| 37 |
|
|
* @version \@(#) $Id: TruePreviewPreferences.h 2 2009-06-27 07:02:45Z jhriggs $
|
| 38 |
|
|
* @updated $Date: 2009-06-27 02:02:45 -0500 (Sat, 27 Jun 2009) $
|
| 39 |
|
|
*/
|
| 40 |
|
|
|
| 41 |
|
|
#import <AppKit/NSPreferences.h>
|
| 42 |
|
|
|
| 43 |
|
|
#import "TruePreview.h"
|
| 44 |
|
|
|
| 45 |
|
|
/*!
|
| 46 |
|
|
* @category
|
| 47 |
|
|
* Adds a method for overriding the preference-loading behavior of
|
| 48 |
|
|
* <code>NSPreferences</code>.
|
| 49 |
|
|
* @version \@(#) $Id: TruePreviewPreferences.h 2 2009-06-27 07:02:45Z jhriggs $
|
| 50 |
|
|
* @updated $Date: 2009-06-27 02:02:45 -0500 (Sat, 27 Jun 2009) $
|
| 51 |
|
|
*/
|
| 52 |
|
|
@interface NSPreferences (TruePreviewPreferences)
|
| 53 |
|
|
|
| 54 |
|
|
#pragma mark Class methods
|
| 55 |
|
|
/*! @group Class methods */
|
| 56 |
|
|
|
| 57 |
|
|
/*!
|
| 58 |
|
|
* Adds the TruePreview preferences.
|
| 59 |
|
|
* @result
|
| 60 |
|
|
* The shared <code>NSPreferences</code> for this application.
|
| 61 |
|
|
*/
|
| 62 |
|
|
+ (id)truePreviewSharedPreferences;
|
| 63 |
|
|
|
| 64 |
|
|
@end
|