DEFINITION MODULE WPDISKCV;

(***************************************************************************
  OS/2 2.1 Workplace class interface for WPDiskCV

  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 WPCNRVW;

TYPE PSOMClass              = SOM.PSOMClass;
TYPE INTEGER4               = SOM.INTEGER4;
TYPE somMToken              = SOM.somMToken;
TYPE somDToken              = SOM.somDToken;
TYPE somMethodProc          = SOM.somMethodProc;
TYPE PWPDiskCV              = POINTER TO WPDiskCV;

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


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

CONST
  WPDiskCV_MajorVersion     = 1;
  WPDiskCV_MinorVersion     = 2;

TYPE
  WPDiskCVClassDataStructure     = RECORD
    classObject                    : PSOMClass;
                                   END;

VAR
  WPDiskCVClassData : WPDiskCVClassDataStructure;

TYPE
  (*$SOM+ *)
  WPDiskCV = RECORD( WPCNRVW.WPCnrView ) END;
  (*$SOM- *)


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

END WPDISKCV.
