#include <sml/symbol.h>#include <sml/arg.h>#include <sml/contexttype.h>#include <mi32/smlbase.h>#include <rvc/objitem.h>#include <mi32/micallbacklist.h>#include <mi32/simplear.h>#include <mi32/mtimer.h>#include <mi32/milist.h>#include <mi32/mcb.h>#include <mi32/elemtype.h>#include <mi32/smlfuncs.h>#include <stdio.h>
Go to the source code of this file.
Classes | |
| class | SML::CONTEXT |
| Main class used by SML functions. More... | |
| class | SML::CONTEXT_REFCOUNT |
| class | SML::DEVPRIVATE |
| This class provides a way to attach private data to an SML::CONTEXT on a per-context basis. More... | |
Namespaces | |
| namespace | SML |
Defines | |
| #define | DESTOBJ_CreateEmpty 0x0004 |
| #define | DESTOBJ_DeleteExisting 0x0002 |
| #define | DESTOBJ_DestIsFirstParm 0x0008 |
| #define | DESTOBJ_FunctionReturnsObject 0x0010 |
| #define | DESTOBJ_OutputCantBeInput 0x0001 |
| #define | NFRAME 512 |
| #define | NSTACK 2048 |
| #define | RVCSYSLIBCLASSEXPORT MI_DLLCLASSIMPORT |
| #define | RVCSYSLIBEXPORT MI_DLLIMPORT |
| #define | SMLFLAG_FreeDesc 0x0002 |
| #define | SMLFLAG_FreeFlagArray 0x0004 |
| #define | SMLFLAG_FreeName 0x0001 |
| #define | SMLRUN_BreakAtLine0 0x00000002 |
| #define | SMLRUN_StayResident 0x00000001 |
Typedefs | |
| typedef PTRINT | SML::MACHINEINST |
| typedef SML::CONTEXT | SMLCONTEXT |
| typedef SML::CONTEXT_REFCOUNT | SMLCONTEXT_REFCOUNT |
| typedef SML::DEVPRIVATE | SMLDEVPRIVATE |
| typedef SML::FIELDDATA | SMLFIELDDATA |
Functions | |
| RVCSYSLIBEXPORT int | SML::CreateContextFromDBHandle (RVC::DATABASEHANDLE *dbhandle, SML::CONTEXT *&context, UINT32 flags) |
| void | SML_AppInit () |
| int | SML_CreateObjectContext (const RVC::OBJITEM &item, SML::CONTEXT **pcontext) |
| MDLGPARENT | SML_GetParent (SML::CONTEXT *context) |
| int | SML_InitExt (SML::CONTEXT **pContext, SML::USAGE Usage=SML::USAGE_StandAlone) |
| #define DESTOBJ_CreateEmpty 0x0004 |
| #define DESTOBJ_DeleteExisting 0x0002 |
| #define DESTOBJ_DestIsFirstParm 0x0008 |
| #define DESTOBJ_FunctionReturnsObject 0x0010 |
| #define DESTOBJ_OutputCantBeInput 0x0001 |
Flags for GetDestObjectSymbol().
| #define NFRAME 512 |
| #define NSTACK 2048 |
| #define RVCSYSLIBCLASSEXPORT MI_DLLCLASSIMPORT |
| #define RVCSYSLIBEXPORT MI_DLLIMPORT |
| #define SMLFLAG_FreeDesc 0x0002 |
| #define SMLFLAG_FreeFlagArray 0x0004 |
| #define SMLFLAG_FreeName 0x0001 |
| #define SMLRUN_BreakAtLine0 0x00000002 |
Flag for SMLCONTEXT::Run().
| #define SMLRUN_StayResident 0x00000001 |
Flag for SMLCONTEXT::Run().
| typedef SML::CONTEXT SMLCONTEXT |
| typedef SML::DEVPRIVATE SMLDEVPRIVATE |
| typedef SML::FIELDDATA SMLFIELDDATA |
| void SML_AppInit | ( | ) |
Called once at program startup to register all the functions and classes so that they'll be available in every context.
| int SML_CreateObjectContext | ( | const RVC::OBJITEM & | item, | |
| SML::CONTEXT ** | pcontext | |||
| ) |
Create context with associated object specified by RVC::OBJITEM.
| pcontext | Context returned |
| MDLGPARENT SML_GetParent | ( | SML::CONTEXT * | context | ) |
Return the MDLGPARENT for the context.
This is the same as SML::CONTEXT::GetParent() except that for technical reasons, that function is exported as returning a Widget (it returns an MDLGPARENT which is defined as a Widget when rvcapp is compiled). This function exists outside the DLL so if compiled with WIN32_NATIVE defined and linked to libmiwin.lib, actually returns a CWnd
| int SML_InitExt | ( | SML::CONTEXT ** | pContext, | |
| SML::USAGE | Usage = SML::USAGE_StandAlone | |||
| ) |
Create basic SML::CONTEXT.
Creates one segment (segment 0) and adds the base SML functions (the ones listed in SML_SMLFuncList() in mi32/smlfuncs.h
1.6.1