home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
mod201j.zip
/
modula2.exe
/
os2api
/
wpfndfdr.def
< prev
next >
Wrap
Text File
|
1994-05-24
|
3KB
|
88 lines
DEFINITION MODULE WPFNDFDR;
(***************************************************************************
OS/2 2.1 Workplace class interface for WPFindFolder
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 WPFOLDER;
TYPE PSOMClass = SOM.PSOMClass;
TYPE INTEGER4 = SOM.INTEGER4;
TYPE somMToken = SOM.somMToken;
TYPE somDToken = SOM.somDToken;
TYPE somMethodProc = SOM.somMethodProc;
TYPE PWPFindFolder = POINTER TO WPFindFolder;
TYPE PM_WPFindFolder = POINTER TO M_WPFindFolder;
(************************************************************************
Additional TYPE- and CONST-declarations supporting WPFindFolder
*************************************************************************)
(*************************************************************************
SOM class API for WPFindFolder, including type-bound procedures
**************************************************************************)
CONST
WPFindFolder_MajorVersion = 1;
WPFindFolder_MinorVersion = 2;
TYPE
WPFindFolderClassDataStructure = RECORD
classObject : PSOMClass;
END;
VAR
WPFindFolderClassData : WPFindFolderClassDataStructure;
TYPE
(*$SOM+ *)
WPFindFolder = RECORD( WPFOLDER.WPFolder ) END;
(*$SOM- *)
PROCEDURE WPFindFolderNewClass
(
majorVersion : INTEGER4;
minorVersion : INTEGER4
) : PSOMClass;
(*************************************************************************
SOM class API for M_WPFindFolder, including type-bound procedures
**************************************************************************)
CONST
M_WPFindFolder_MajorVersion = 1;
M_WPFindFolder_MinorVersion = 2;
TYPE
M_WPFindFolderClassDataStructure = RECORD
classObject : PSOMClass;
END;
VAR
M_WPFindFolderClassData : M_WPFindFolderClassDataStructure;
TYPE
(*$SOM+ *)
M_WPFindFolder = RECORD( WPFOLDER.M_WPFolder ) END;
(*$SOM- *)
PROCEDURE M_WPFindFolderNewClass
(
majorVersion : INTEGER4;
minorVersion : INTEGER4
) : PSOMClass;
END WPFNDFDR.