Main Page | Modules | Class List | File List | Class Members | File Members

ofxMessage.h

Go to the documentation of this file.
00001 #ifndef _ofxMessage_h_
00002 #define _ofxMessage_h_
00003 
00004 #include "ofxCore.h"
00005 
00006 /*
00007 Software License :
00008 
00009 Copyright (c) 2003-2004, The Foundry Visionmongers Ltd. All rights reserved.
00010 
00011 Redistribution and use in source and binary forms, with or without
00012 modification, are permitted provided that the following conditions are met:
00013 
00014     * Redistributions of source code must retain the above copyright notice,
00015       this list of conditions and the following disclaimer.
00016     * Redistributions in binary form must reproduce the above copyright notice,
00017       this list of conditions and the following disclaimer in the documentation
00018       and/or other materials provided with the distribution.
00019     * Neither the name The Foundry Visionmongers Ltd, nor the names of its 
00020       contributors may be used to endorse or promote products derived from this
00021       software without specific prior written permission.
00022 
00023 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00024 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00025 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00026 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00027 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00028 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00029 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00030 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00031 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00032 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00033 */
00034 
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 #define kOfxMessageSuite "OfxMessageSuite"
00041 
00042 
00047 #define kOfxMessageFatal "OfxMessageFatal"
00048 
00054 #define kOfxMessageError "OfxMessageError"
00055 
00060 #define kOfxMessageMessage "OfxMessageMessage"
00061 
00066 #define kOfxMessageLog "OfxMessageLog"
00067 
00079 #define kOfxMessageQuestion "OfxMessageQuestion"
00080 
00083 typedef struct OfxMessageSuiteV1 {
00084 
00100   OfxStatus (*message)(void *handle,
00101                        const char *messageType,
00102                        const char *messageId,
00103                        const char *format,
00104                        ...);
00105 
00106 } OfxMessageSuiteV1;
00107 
00112 #ifdef __cplusplus
00113 }
00114 #endif
00115 
00116 #endif

Copyright 2003-2004 The Foundry Visonmongers Ltd. All rights reserved.
Copying and redistribution with or without modification, is permitted provided that the following conditions are met:
  1. Redistributions of the document must retain the above copyright notice and this list of conditions.
  2. Neither the name of The Foundry Visonmongers Ltd nor names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
Automatic documentation generated by DOxygen.