imszip.h

Go to the documentation of this file.
00001 /*  
00002  *      iMSZip.h - Public interface to MAXScript Zip Module Manager
00003  *
00004  *          Copyright (c) Autodesk, Inc, 2000.  John Wainwright.
00005  *
00006  */
00007 
00008 #pragma once
00009 #include "ifnpub.h"
00010 #include "GetCOREInterface.h"
00011 // forward declarations
00012 class IMSZipMgr;
00013 class MacroEntry;
00014 
00015 #define MSZIP_MGR_INTERFACE   Interface_ID(0x26492c82, 0x10fc5210)
00016 inline IMSZipMgr* GetMSZipMgr() { return (IMSZipMgr*)GetCOREInterface(MSZIP_MGR_INTERFACE); }
00017 
00018 // class IMSZipMgr
00019 //    MAXScript Zip Module manager interface 
00028 class IMSZipMgr : public FPStaticInterface 
00029 {
00030 public:
00031     // function IDs 
00032     enum { fileInPackage,
00033            unloadPackage,
00034         }; 
00035 
00044     virtual BOOL FileInPackage(const MCHAR* file_name, MSTR& extract_dir)=0;
00059     virtual BOOL UnloadPackage(const MCHAR* file_name, MSTR& extract_dir, 
00060                                MSTR& dropFile, MacroEntry*& dropScript)=0;
00061 }; 
00062