DEFINITION MODULE WPSPNEED;

(***************************************************************************
  OS/2 2.1 Workplace class interface for WPSpecialNeeds;

  Copyright (c) 1994 by Juergen Neuhoff
****************************************************************************)

(*$XL+       Modula-2 language extensions: '_' allowed for symbol names *)
(*$CDECL+    C-style procedures                                         *)
(*$A         default alignment for record fields                        *)

IMPORT SOM;
IMPORT WPABS;

TYPE PSOMClass              = SOM.PSOMClass;
TYPE INTEGER4               = SOM.INTEGER4;
TYPE somMToken              = SOM.somMToken;
TYPE somDToken              = SOM.somDToken;
TYPE somMethodProc          = SOM.somMethodProc;
TYPE PWPSpecialNeeds            = POINTER TO WPSpecialNeeds;
TYPE PM_WPSpecialNeeds          = POINTER TO M_WPSpecialNeeds;

(************************************************************************
  Additional TYPE- and CONST-declarations supporting WPSpecialNeeds
*************************************************************************)


(*************************************************************************
  SOM class API for WPSpecialNeeds, including type-bound procedures
**************************************************************************)

CONST
  WPSpecialNeeds_MajorVersion     = 1;
  WPSpecialNeeds_MinorVersion     = 2;

TYPE
  WPSpecialNeedsClassDataStructure   = RECORD
    classObject                        : PSOMClass;
                                       END;

VAR
  WPSpecialNeedsClassData : WPSpecialNeedsClassDataStructure;

TYPE
  (*$SOM+ *)
  WPSpecialNeeds = RECORD( WPABS.WPAbstract ) END;
  (*$SOM- *)


PROCEDURE WPSpecialNeedsNewClass
(
  majorVersion  : INTEGER4;
  minorVersion  : INTEGER4
)               : PSOMClass;


(*************************************************************************
  SOM class API for M_WPSpecialNeeds, including type-bound procedures
**************************************************************************)

CONST
  M_WPSpecialNeeds_MajorVersion   = 1;
  M_WPSpecialNeeds_MinorVersion   = 2;

TYPE
  M_WPSpecialNeedsClassDataStructure   = RECORD
    classObject                          : PSOMClass;
                                         END;

VAR
  M_WPSpecialNeedsClassData : M_WPSpecialNeedsClassDataStructure;

TYPE
  (*$SOM+ *)
  M_WPSpecialNeeds = RECORD( WPABS.M_WPAbstract ) END;
  (*$SOM- *)


PROCEDURE M_WPSpecialNeedsNewClass
(
  majorVersion : INTEGER4;
  minorVersion : INTEGER4
)              : PSOMClass;

END WPSPNEED.
