IParticleChannelExt.h

Go to the documentation of this file.
00001 
00006 /**********************************************************************
00007  *<
00008     CREATED BY: Oleg Bayborodin
00009 
00010     HISTORY: created 04-15-2007
00011 
00012  *> Copyright (c) Orbaz Technologies, Inc. 2007, All Rights Reserved.
00013  **********************************************************************/
00014 
00015 #pragma once
00016 
00017 #include "..\ifnpub.h"
00018 
00019 // interface ID
00020 #define PARTICLECHANNELEXT_INTERFACE Interface_ID(0x12dd1705, 0x1eb34400)
00021 
00022 #define GetParticleChannelExtInterface(obj) ((IParticleChannelExt*)obj->GetInterface(PARTICLECHANNELEXT_INTERFACE))
00023 
00024 
00025 class IParticleChannelExt : public FPMixinInterface
00026 {
00027 public:
00028 
00029     // function IDs Read
00030     enum {  kCopy
00031     };
00032 
00033     // Function Map for Function Publish System
00034     //***********************************
00035     BEGIN_FUNCTION_MAP
00036 
00037     FN_1(kCopy, TYPE_bool, Copy, TYPE_IOBJECT);
00038 
00039     END_FUNCTION_MAP
00040 
00041     virtual bool    Append(IObject* obj) = 0; 
00042 
00043 
00052     virtual bool    Copy(IObject* obj) = 0; 
00053 
00057     FPInterfaceDesc* GetDesc() { return GetDescByID(PARTICLECHANNELEXT_INTERFACE); }
00058 };
00059