home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / util / misc / VMM_src.lha / VMM / Manager_Priv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-10  |  1.8 KB  |  85 lines

  1. #ifndef MANAGER_PRIV
  2. #define MANAGER_PRIV extern
  3. #define NO_INIT
  4. #endif
  5.  
  6. MANAGER_PRIV BOOL EarlyExit
  7. #ifndef NO_INIT
  8.    = FALSE
  9. #endif
  10. ;
  11.  
  12. MANAGER_PRIV BOOL VMEnabled;
  13. MANAGER_PRIV struct NotifyRequest CfgChangeNotify;
  14. MANAGER_PRIV BYTE CfgChangeSignal;
  15. MANAGER_PRIV struct ExtPort *ExtCxPort;
  16. MANAGER_PRIV LONG CxSignal;
  17.  
  18. struct RexxFuncEntry
  19.   {
  20.   char *FuncName;
  21.   UWORD FuncNum;
  22.   };
  23.  
  24. enum
  25.   {
  26.   REXX_INV_CMD,
  27.   REXX_ADDPROG,
  28.   REXX_REMPROG,
  29.   REXX_ENABLE,
  30.   REXX_DISABLE,
  31.   REXX_QUIT,
  32.   REXX_HIDE,
  33.   REXX_SHOW,
  34.   REXX_INFO,
  35.   REXX_STAT,
  36.   REXX_MEM,
  37.   REXX_MEMTYPE,
  38.   REXX_WRITEBUFFER,
  39.   REXX_VMPRI,
  40.   REXX_PATCHWB,
  41.   REXX_MEMTRACK,
  42.   REXX_MINVMALLOC,
  43.   REXX_HELP,
  44.   REXX_ZOOM
  45.   };
  46.  
  47. MANAGER_PRIV struct RexxFuncEntry RexxFuncs[]
  48. #ifndef NO_INIT
  49.  = {
  50.     { "ADD_PROG",    REXX_ADDPROG     },
  51.     { "REM_PROG",    REXX_REMPROG     },
  52.     { "ENABLE",      REXX_ENABLE      },
  53.     { "DISABLE",     REXX_DISABLE     },
  54.     { "QUIT",        REXX_QUIT        },
  55.     { "HIDE",        REXX_HIDE        },
  56.     { "SHOW",        REXX_SHOW        },
  57.     { "STAT",        REXX_STAT        },
  58.     { "INFO",        REXX_INFO        },
  59.     { "MEM",         REXX_MEM         },
  60.     { "MEMTYPE",     REXX_MEMTYPE     },
  61.     { "WRITEBUFFER", REXX_WRITEBUFFER },
  62.     { "VMPRIORITY",  REXX_VMPRI       },
  63.     { "PATCHWB",     REXX_PATCHWB     },
  64.     { "MEMTRACK",    REXX_MEMTRACK    },
  65.     { "MINVMALLOC",  REXX_MINVMALLOC  },
  66.     { "HELP",        REXX_HELP        },
  67.     { "ZOOM",        REXX_ZOOM        },
  68.     
  69.     { NULL,          NULL             }
  70.   }
  71. #endif
  72. ;
  73.  
  74. #undef NO_INIT
  75.  
  76. /* A few prototypes only used by the VM_Manager */
  77. int Init_VM_Manager (void);
  78. void Cleanup_VM_Manager (void);
  79. BOOL HandleRexxMsg (void);
  80. BOOL TryToQuit (void);
  81. void FillStat (struct VMMsg *StatMsg);
  82. int ShowGUI (void);
  83. void HideGUI (void);
  84. int LaunchStat (void);
  85.