IICEFlowShapeControl.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 
00016 #define ICEFLOWSHAPE_CONTROL_INTERFACE Interface_ID(0x32af1746, 0x3cd775d4)
00017 
00022 class IICEFlowShapeControl : public FPStaticInterface
00023 {
00024 public:
00032     virtual int SetShape( INode * shapeLib, int shape ) = 0;
00033 
00036     static IICEFlowShapeControl* GetInstance()  {
00037         return static_cast<IICEFlowShapeControl*>(GetCOREInterface(ICEFLOWSHAPE_CONTROL_INTERFACE));
00038     }
00039 };