iplugstorage.h

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 // Project     : SDK Core
00003 // Version     : 1.0
00004 //
00005 // Category    : SDK Core Interfaces
00006 // Filename    : iplugstorage.h
00007 // Created by  : Steinberg, 01/2004
00008 // Modified    : $Date: 2007/11/28 17:31:13 $
00009 // Description : Plug-In Storage Interfaces
00010 //
00011 //-----------------------------------------------------------------------------
00012 // LICENSE
00013 // © 2007, Steinberg Media Technologies GmbH, All Rights Reserved
00014 //-----------------------------------------------------------------------------
00015 // This Software Development Kit may not be distributed in parts or its entirety  
00016 // without prior written agreement by Steinberg Media Technologies GmbH. 
00017 // This SDK must not be used to re-engineer or manipulate any technology used  
00018 // in any Steinberg or Third-party application or software module, 
00019 // unless permitted by law. It may only be used for development of products 
00020 // defined in the license agreement between Steinberg and Licensee or for internal, 
00021 // not publicly released products of Licensee.
00022 //------------------------------------------------------------------------------
00023 
00024 #ifndef __iplugstorage__
00025 #define __iplugstorage__
00026 
00027 #ifndef __funknown__
00028 #include "funknown.h"
00029 #endif
00030 
00031 namespace Steinberg {
00032 
00033 //------------------------------------------------------------------------
00034 //  IPersistentChunk interface declaration
00035 //------------------------------------------------------------------------
00036 
00037 class IPersistentChunk: public FUnknown
00038 {
00039 public:
00040 //------------------------------------------------------------------------
00041         virtual tresult PLUGIN_API getUID (char* uid) = 0;
00042         virtual tresult PLUGIN_API setChunk (char* chunk, int32 size) = 0;
00043         virtual tresult PLUGIN_API getChunk (char* chunk, int32* size) = 0;
00044 //------------------------------------------------------------------------
00045         static const FUID iid;
00046 };
00047 
00048 DECLARE_CLASS_IID (IPersistentChunk, 0x7041A824, 0xFC9A488A, 0x8F07DAC0, 0x5061E933)
00049 
00050 }
00051 #endif
Empty

Copyright ©2008 Steinberg Media Technologies. All Rights Reserved.