SilverScreen Solid Modeler

set_tempfile_create_handler

set_tempfile_create_handler

Previous topic Next topic  

set_tempfile_create_handler

Previous topic Next topic JavaScript is required for the print function  

SilverPlusRect

SilverEngineRect

 

TempfileCreateHandler

  set_tempfile_create_handler(TempfileCreateHandler my_tempfile_create_handler)

 

 

 

 

 

 



 

Synopsis

#include "silver.h"

 

The set_tempfile_create_handler function defines a function that is notified when a temporary file is created by SilverEngine

 

 

Parameters

my_tempfile_create_handler is a SilverC API function pointer to a TempfileCreateHandler that is called whenever a tempfile is created by SilverEngine. It is declared as follows, and is only relevant in SilverPlus and SilverEngine development models.

 

typedef void SILVERC_API

  (SDCCALL *TempfileCreateHandler)(const char *path);

 

const char *path;        /* The full path of the temp-file to be created */

 

 

Return Value

set_tempfile_create_handler returns a pointer to the active tempfile create handler. Your handler should not return any value.

 

 

See Also

set_tempfile_close_handler