TuttleOFX  1
ofxAttribute.h
Go to the documentation of this file.
00001 #ifndef _ofxAttribute_h_
00002 #define _ofxAttribute_h_
00003 
00004 /*
00005  * Software License :
00006  *
00007  * Copyright (c) 2003-2009, The Open Effects Association Ltd. All rights reserved.
00008  *
00009  * Redistribution and use in source and binary forms, with or without
00010  * modification, are permitted provided that the following conditions are met:
00011  *
00012  * Redistributions of source code must retain the above copyright notice,
00013  *    this list of conditions and the following disclaimer.
00014  * Redistributions in binary form must reproduce the above copyright notice,
00015  *    this list of conditions and the following disclaimer in the documentation
00016  *    and/or other materials provided with the distribution.
00017  * Neither the name The Open Effects Association Ltd, nor the names of its
00018  *    contributors may be used to endorse or promote products derived from this
00019  *    software without specific prior written permission.
00020  *
00021  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00022  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00023  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00024  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00025  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00026  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00027  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00028  * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00029  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00030  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00031  */
00032 
00033 #include "ofxCore.h"
00034 #include "ofxProperty.h"
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 /** @brief string value to the ::kOfxPropType property for all parameters */
00041 //#define kOfxAttributeSuite "OfxAttributeSuite"
00042 
00043 /** @brief string value on the ::kOfxPropType property for all parameter definitions (ie: the handle returned in describe) */
00044 //#define kOfxTypeAttribute "OfxTypeAttribute"
00045 
00046 /** @brief string value on the ::kOfxPropType property for all parameter instances */
00047 //#define kOfxTypeAttributeInstance "OfxTypeAttributeInstance"
00048 
00049 /**
00050  * @brief Blind declaration of an OFX param
00051  */
00052 typedef struct OfxAttributeStruct* OfxAttributeHandle;
00053 
00054 /**
00055  * @brief Blind declaration of an OFX parameter set
00056  */
00057 typedef struct OfxAttributeSetStruct* OfxAttributeSetHandle;
00058 
00059 /**
00060  * @defgroup ParamTypeDefines Parameter Type definitions
00061  * These strings are used to identify the type of the attribute.
00062  */
00063 ///@{
00064 
00065 /** @brief String to identify an attribute as a parameter */
00066 #define kOfxAttributeTypeParam "OfxAttributeTypeParam"
00067 /** @brief String to identify an attribute as a clip */
00068 #define kOfxAttributeTypeClip "OfxAttributeTypeClip"
00069 
00070 /** @brief String that is the name of the standard OFX output attribute */
00071 #define kOfxOutputAttributeName "Output"
00072 
00073 /** @brief String that is the name of the standard OFX single source input attribute */
00074 #define kOfxSimpleSourceAttributeName "Source"
00075 
00076 ///@}
00077 
00078 /**
00079  * @file ofxAttribute.h
00080  * For more details go see @ref AttributesPage
00081  */
00082 
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086 
00087 #endif