SMLCALLBACKSTRUCT Struct Reference

Structure passed to an SML callback. More...

#include <sml.h>

List of all members.

Public Member Functions

 SMLCALLBACKSTRUCT ()
 SMLCALLBACKSTRUCT (SMLCONTEXT *pcontext, UINT32 preason)

Public Attributes

UINT32 reason
UNICODEfilename
INT32 inode
int ChangesMade
SMLCONTEXTcontext
SMLSYMBOLsym
int err


Detailed Description

Structure passed to an SML callback.

Possible reasons:

The following reasons can only be added by calling the static method SMLCONTEXT::CallbackAddGlobal() and will be called for every context which is created and destroied.

Note:
The reasons are flags which may be OR'd together. It is possible to get one callback with multiple reasons set
See also:
SMLCONTEXT::CallbackAdd()

SMLCONTEXT::CallbackRemove()

SMLCONTEXT::CallbackAddGlobal()

SMLCONTEXT::CallbackRemoveGlobal()

Definition at line 5086 of file sml.h.


Constructor & Destructor Documentation

SMLCALLBACKSTRUCT::SMLCALLBACKSTRUCT  )  [inline]
 

Definition at line 5087 of file sml.h.

SMLCALLBACKSTRUCT::SMLCALLBACKSTRUCT SMLCONTEXT pcontext,
UINT32  preason
[inline]
 

Definition at line 5091 of file sml.h.


Member Data Documentation

int SMLCALLBACKSTRUCT::ChangesMade
 

true if script modified since last save /load

Definition at line 5103 of file sml.h.

SMLCONTEXT* SMLCALLBACKSTRUCT::context
 

Context of the SML script/query.

Definition at line 5104 of file sml.h.

int SMLCALLBACKSTRUCT::err
 

Definition at line 5106 of file sml.h.

UNICODE* SMLCALLBACKSTRUCT::filename
 

Do not modify or free.

Definition at line 5101 of file sml.h.

INT32 SMLCALLBACKSTRUCT::inode
 

If 0, filename is a *.sml.

Definition at line 5102 of file sml.h.

UINT32 SMLCALLBACKSTRUCT::reason
 

Definition at line 5100 of file sml.h.

SMLSYMBOL* SMLCALLBACKSTRUCT::sym
 

For MsmlCR_SymbolAdded.

Definition at line 5105 of file sml.h.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 12 06:27:25 2004 for TNTsdk by doxygen 1.3.4-20031026