IICEFlowParticleFactory.h

Go to the documentation of this file.
00001 //*****************************************************************************/
00002 // Copyright 2010 Autodesk, Inc.  All rights reserved. 
00003 // 
00004 // This computer source code and related instructions and comments are the
00005 // unpublished confidential and proprietary information of Autodesk, Inc. and
00006 // are protected under applicable copyright and trade secret law.  They may not
00007 // be disclosed to, copied or used by any third party without the prior written
00008 // consent of Autodesk, Inc.
00009 //*****************************************************************************/
00010 #pragma once
00011 
00012 #include "..\ifnpub.h"
00013 #include "..\GetCOREInterface.h"
00014 
00015 // --- Interface IDs
00016 #define ICEFLOWPARTICLE_FACTORY_INTERFACE Interface_ID(0xf285a9a, 0x39587ad3)
00017 
00022 class IICEFlowParticleFactory : public FPStaticInterface
00023 {
00024 public:
00031     virtual INode * CreateFileBirth( const MCHAR * _name, const MCHAR * _path ) = 0;
00032 
00035     static IICEFlowParticleFactory* GetInstance()   {
00036         return static_cast<IICEFlowParticleFactory*>(GetCOREInterface(ICEFLOWPARTICLE_FACTORY_INTERFACE));
00037     }
00038 };
00039