added everything
This commit is contained in:
31
lib/maxsdk70/include/iTargetedIO.h
Executable file
31
lib/maxsdk70/include/iTargetedIO.h
Executable file
@@ -0,0 +1,31 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
// Targeted IO Utility
|
||||
//
|
||||
// Created 3-13-03: Tom Burke
|
||||
//
|
||||
|
||||
#ifndef I_TARGETED_IO_H
|
||||
#define I_TARGETED_IO_H
|
||||
|
||||
// includes
|
||||
#include "sfx.h"
|
||||
|
||||
class ITargetedIO
|
||||
{
|
||||
public:
|
||||
virtual void AddSaveTarget( int targetIndex, ReferenceTarget * rt ) = 0;
|
||||
virtual ReferenceTarget * GetSaveTarget( int targetIndex ) = 0;
|
||||
|
||||
virtual int SaveToFile( TCHAR * fileName, FileIOType context ) = 0;
|
||||
virtual int LoadFromFile( TCHAR * fileName, FileIOType context ) = 0;
|
||||
|
||||
// these utility methods can be used by renderers to hang on to reference targets between
|
||||
// the RenderPresetsPreLoad and RenderPresetsPostLoad calls.
|
||||
virtual void Store( int targetIndex, ReferenceTarget * rt ) = 0;
|
||||
virtual ReferenceTarget * Retrieve( int targetIndex ) = 0;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user