Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ofxsMemory.h

Go to the documentation of this file.
00001 #ifndef _ofxsMemory_H_
00002 #define _ofxsMemory_H_
00003 /*
00004 OFX Support Library, a library that skins the OFX plug-in API with C++ classes.
00005 Copyright (C) 2004-2005 The Foundry Visionmongers Ltd
00006 Author Bruno Nicoletti bruno@thefoundry.co.uk
00007 
00008 Redistribution and use in source and binary forms, with or without
00009 modification, are permitted provided that the following conditions are met:
00010 
00011 * Redistributions of source code must retain the above copyright notice,
00012 this list of conditions and the following disclaimer.
00013 * Redistributions in binary form must reproduce the above copyright notice,
00014 this list of conditions and the following disclaimer in the documentation
00015 and/or other materials provided with the distribution.
00016 * Neither the name The Foundry Visionmongers Ltd, nor the names of its 
00017 contributors may be used to endorse or promote products derived from this
00018 software without specific prior written permission.
00019 
00020 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00021 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00022 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00023 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00024 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00025 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00026 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00027 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00028 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00029 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00030 
00031 The Foundry Visionmongers Ltd
00032 1 Wardour St
00033 London W1D 6PA
00034 England
00035 
00036 
00037 
00038 */
00039 
00048 namespace OFX {
00049 
00050   // forward declaration of class
00051   class ImageEffect;
00052 
00054   namespace Memory {
00065     void *allocate(size_t nBytes,
00066       ImageEffect *handle = 0);
00067 
00072     void free(void *ptr);
00073   };
00074 
00075 };
00076 
00077 #endif

Generated on Thu Oct 9 13:03:49 2008 for OFX Support by  doxygen 1.3.9.1