home *** CD-ROM | disk | FTP | other *** search
/ IBM CD Showcase / OS2_CD_ROM.iso / smce0001 / faxpm / demo / api0 / GROUP.SC < prev    next >
Encoding:
Text File  |  1993-11-10  |  2.1 KB  |  104 lines

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: .\group.sc.
  4. # Generated using:
  5. #     SOM Precompiler spc: 1.22
  6. #     SOM Emitter emitcsc: 1.10
  7.  
  8. /*
  9.  * 
  10.  * /
  11.  * /* File         GROUP.CSC
  12.  * /
  13.  * /* Description  Distribution lists
  14.  * /
  15.  * /* Last modif   February 4, 1993
  16.  * /
  17.  * /* Copyright    (c) Microformatic S.A. 1992
  18.  * /
  19.  * /
  20.  * 
  21.  * /* Include section
  22.  * /
  23.  */
  24.  
  25. #include <somobj.sc>
  26.  
  27. class: FaxGroup, 
  28.     local, major version = 1 , minor version = 3 , 
  29.     file stem = group;
  30.  
  31.     -- 
  32.     -- /* Parent section
  33.     -- /
  34.  
  35.  
  36. parent class: SOMObject;
  37.  
  38.     -- 
  39.     -- /* Passthru section
  40.     -- /
  41.  
  42.  
  43. release order:
  44.     szOwner, szUserName, bInitDone, 
  45.     GetOwner, SetOwner, GetAllNames, 
  46.     Create, Delete, Update, 
  47.     DeleteName, AddName, Setup, 
  48.     GetFaxPmPhoneBookName, GetGroupContents;
  49.  
  50.  
  51. passthru: C.h, before;
  52.  
  53. #define FAX_PHONEBOOK_OK                        0
  54. #define FAX_PHONEBOOK_NOTSETUP                  1
  55. #define FAX_PHONEBOOK_ERROR_UNKNOWN             2
  56. #define FAX_PHONEBOOK_NAME_NOTFOUND             3
  57. #define FAX_PHONEBOOK_GROUP_NOTFOUND            4
  58. #define FAX_PHONEBOOK_ACCESS_NOTALLOWED         5
  59. #define FAX_PHONEBOOK_MEMORY_REQUIRED           6
  60. #define FAX_PHONEBOOK_OUTOFRANGE                7
  61. #define FAX_PHONEBOOK_INVALID_PARM              8
  62. #define FAX_PHONEBOOK_INVALID_NAME              9
  63. #define FAX_PHONEBOOK_INVALID_FAXNUMBER         10
  64. #define FAX_PHONEBOOK_OUTOF_MEMORY              11
  65.  
  66. endpassthru;
  67. methods:
  68.  
  69.  
  70.     APIRET    GetOwner(PSZ pszVal,
  71.         PULONG pulLen);
  72.  
  73.     APIRET    SetOwner(PSZ pszVal);
  74.  
  75.     APIRET    GetAllNames(PSZ pszVal,
  76.         PULONG pulLen);
  77.  
  78.     APIRET    Create(PSZ pszGroup,
  79.         PSZ pszContents,
  80.         ULONG ulLen);
  81.  
  82.     APIRET    Delete(PSZ pszName);
  83.  
  84.     APIRET    Update(PSZ pszGroup,
  85.         PSZ pszContents,
  86.         ULONG ulLen);
  87.  
  88.     APIRET    DeleteName(PSZ pszGroup,
  89.         PSZ pszName);
  90.  
  91.     APIRET    AddName(PSZ pszGroup,
  92.         PSZ pszName);
  93.  
  94.     APIRET    Setup(PSZ pszOwner);
  95.  
  96.     APIRET    GetGroupContents(PSZ pszVal,
  97.         PULONG pulLen,
  98.         PSZ pszGroupName);
  99.  
  100.     override somInit;
  101.  
  102.     -- From SOMObject
  103.  
  104.