00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc 00008 * 123 Front Street West, Suite 1401 00009 * Toronto, Ontario 00010 * Canada M5J 2M2 00011 * 416-504-9876 00012 * 00013 * NAME: ROP_IFDEvent.h ( ROP Library, C++) 00014 * 00015 * COMMENTS: Event passing to get notifications about IFD_Output events 00016 */ 00017 00018 #ifndef __ROP_IFDEvent__ 00019 #define __ROP_IFDEvent__ 00020 00021 #include "ROP_API.h" 00022 00023 #include <UT/UT_Notifier.h> 00024 00025 class IFD_Output; 00026 class IFD_RenderStream; 00027 00028 class ROP_API ROP_IFDEvent { 00029 public: 00030 enum ROP_IFDEventType { 00031 // When the IFD_Output is created or destroyed 00032 ROP_IFDOUTPUT_CREATED, 00033 ROP_IFDOUTPUT_DELETED, 00034 00035 ROP_IFDSTREAM_CREATED, 00036 }; 00037 00038 ROP_IFDEvent(ROP_IFDEventType type, IFD_Output *output, IFD_RenderStream *s) 00039 : myEventType(type), myOutput(output), myStream(s) 00040 { } 00041 00042 ROP_IFDEventType myEventType; 00043 IFD_Output *myOutput; 00044 IFD_RenderStream *myStream; 00045 }; 00046 00047 #endif
1.5.9