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 * Mark Elendt 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: VOP_CodeVexResolver.h ( VEX Library, C++) 00015 * 00016 * COMMENTS: A class with virtual functions for getting VEX code from 00017 * Vop networks. 00018 */ 00019 00020 #ifndef __VOP_CodeVexResolver__ 00021 #define __VOP_CodeVexResolver__ 00022 00023 #include "VOP_API.h" 00024 #include <VEX/VEX_VexResolver.h> 00025 00026 class VOP_API VOP_CodeVexResolver : public VEX_VexResolver 00027 { 00028 public: 00029 VOP_CodeVexResolver(); 00030 virtual ~VOP_CodeVexResolver(); 00031 00032 protected: 00033 virtual bool canResolveCode(const char *shader); 00034 virtual bool supportedByMantra(); 00035 virtual bool resolveVflCode(const char *shader, ostream &os, 00036 const char *shadername); 00037 virtual bool resolveVexCode(const char *shader, ostream &os, 00038 const char *shadername); 00039 virtual bool resolveVexContext(const char *shader, UT_String &ctx); 00040 virtual bool resolveCanonicalPath(const char *shader, 00041 UT_String &canonical_shader); 00042 }; 00043 00044 #endif 00045
1.5.9