Back to index

lightning-sunbird  0.9+nobinonly
PDECore.h
Go to the documentation of this file.
00001 /*
00002 ********************************************************************************
00003     
00004     $Log: PDECore.h,v $
00005     Revision 1.2  2003/04/03 19:20:05  ccarlen%netscape.com
00006     Bug 188508 - Upgrade print dialog PDE. r=pinkerton/sr=sfraser
00007 
00008 
00009 
00010     (c) Copyright 2002 Apple Computer, Inc.  All rights reserved.
00011     
00012     IMPORTANT: This Apple software is supplied to you by Apple Computer,
00013     Inc. ("Apple") in consideration of your agreement to the following
00014     terms, and your use, installation, modification or redistribution of
00015     this Apple software constitutes acceptance of these terms.  If you do
00016     not agree with these terms, please do not use, install, modify or
00017     redistribute this Apple software.
00018     
00019     In consideration of your agreement to abide by the following terms, and
00020     subject to these terms, Apple grants you a personal, non-exclusive
00021     license, under Apple's copyrights in this original Apple software (the
00022     "Apple Software"), to use, reproduce, modify and redistribute the Apple
00023     Software, with or without modifications, in source and/or binary forms;
00024     provided that if you redistribute the Apple Software in its entirety and
00025     without modifications, you must retain this notice and the following
00026     text and disclaimers in all such redistributions of the Apple Software.
00027     Neither the name, trademarks, service marks or logos of Apple Computer,
00028     Inc. may be used to endorse or promote products derived from the Apple
00029     Software without specific prior written permission from Apple.  Except
00030     as expressly stated in this notice, no other rights or licenses, express
00031     or implied, are granted by Apple herein, including but not limited to
00032     any patent rights that may be infringed by your derivative works or by
00033     other works in which the Apple Software may be incorporated.
00034     
00035     The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES
00036     NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE
00037     IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR
00038     A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
00039     OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
00040     
00041     IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
00042     OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00043     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00044     INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
00045     MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
00046     AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
00047     STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
00048     POSSIBILITY OF SUCH DAMAGE.
00049     
00050 ********************************************************************************
00051 */
00052  
00053 #ifndef __PDECORE__
00054 #define __PDECORE__
00055 
00056 #include <Carbon/Carbon.h>
00057 
00058 
00059 /*
00060 --------------------------------------------------------------------------------
00061     session context
00062 --------------------------------------------------------------------------------
00063 */
00064 
00065 typedef struct
00066 {
00067     ControlRef       userPane;
00068     EventHandlerRef  helpHandler;
00069     EventHandlerUPP  helpHandlerUPP;
00070     void*            customContext;
00071     Boolean          initialized;
00072 
00073 } MyContextBlock;
00074 
00075 typedef MyContextBlock* MyContext;
00076 
00077 
00078 #endif