home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / OS2 / LNVREM.ZIP / LNREMSRC.EXE / LNREMLCH.CSC < prev    next >
Text File  |  1993-11-08  |  1KB  |  62 lines

  1. -- lnremlch.csc
  2. -- Copyright (c) International Business Machines Corporation
  3. -- 1993
  4.  
  5. include <duiapobj.sc>
  6.  
  7. class: LNRemoteLaunch,
  8.   major version = 1,
  9.   minor version = 1,
  10.   global;
  11.  
  12. parent: DLSApp;
  13.  
  14. release order:
  15.     RemoteExecPgm, RemoteCall, ErrorMessage;
  16.  
  17. passthru: C.h, before;
  18. #define  INCL_WIN
  19. #define  INCL_BASE
  20. #define  INCL_ERRORS
  21. #define  INCL_DOSPROCESS
  22. #include <os2.h>
  23. #include <string.h>
  24. #include <stdio.h>
  25. #include <dsmdef.h>
  26. #include <duicmudt.h>
  27. #include <dsmcmtmd.h>
  28. #include <dsmapps.h>
  29. #include "lnremdlg.h"
  30. #include "lnh.h"
  31. endpassthru;
  32.  
  33. data:
  34.      HMODULE ModHandle;
  35.  
  36. methods:
  37.  
  38.  
  39.      int RemoteExecPgm(STRING_ARRAY_OBJ *pHier,
  40.                      SOMAny *pModel,
  41.                      PVOID  pAppParm,
  42.                      SOMAny *pSelected);
  43.      --  Launch remote command for one or more nodes
  44.  
  45.      int RemoteCall(PSZ       LongName,
  46.                     PSZ       CmdBuf,
  47.                     PSZ       CmdTail,
  48.                     STARTDATA *pStartData,
  49.                     BOOL32    VerboseSwitch);
  50.      --  Issue remote call for one node
  51.  
  52.      VOID ErrorMessage(ULONG ErrorCode, 
  53.                        PSZ LongName, 
  54.                        BOOL32 VerboseSwitch);
  55.      --  Issue error panels
  56.  
  57.      override somInit;
  58.      --  Instance setup
  59.  
  60.      override somUninit;
  61.      --  Instance cleanup
  62.