Commit 36ab4942 authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Updated ToolboxObjectDeletedEvent structure to hold class and client handle.

Detail:
  Currently, there is no way of ascertaining the client handle that used to
    belong to a deleted object.  Thus applications cannot rely on this event
    to close down any associated data structures referenced via the client
    handle.  This event now provides the client handle and the class ID of
    the deleted object if (hdr.flags & ToolboxObjectDeleted_ExtendedInformation)
    is non-zero in the event header.
Admin:
  Required by Toolbox-1_46 and later.

Version 0.02. Tagged as 'Libs-0_02'
parent 3e45d98d
/* (0.01) /* (0.02)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 0.01 #define Module_MajorVersion_CMHG 0.02
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 23 Oct 1998 #define Module_Date_CMHG 18 Jan 1999
#define Module_MajorVersion "0.01" #define Module_MajorVersion "0.02"
#define Module_Version 1 #define Module_Version 2
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "23 Oct 1998" #define Module_Date "18 Jan 1999"
...@@ -336,9 +336,15 @@ typedef struct ...@@ -336,9 +336,15 @@ typedef struct
/*-- object has been deleted --*/ /*-- object has been deleted --*/
/*-- flags and types for ToolboxObjectDelected event --*/
#define ToolboxObjectDeleted_ExtendedInformation 0x00000001
typedef struct typedef struct
{ {
ToolboxEventHeader hdr; ToolboxEventHeader hdr;
ObjectClass class_id;
void *client_handle;
} ToolboxObjectDeletedEvent; } ToolboxObjectDeletedEvent;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment