
#define WCMDGloName "@WCMD_NEW"

global
{
  int MEW_ShowCmd   "&MEW_SHOWCMD";
  int NeedLoadWcmds "!NEEDLOADWCMDS";
  str wcmdmapname   "&WCMDMAPNAME";
  int nofile_hidden;
}

prototype mew
{
  void ProcessMEWInit ();
  void RebuildWcmds   ();
  void CommandMapEdit ();

    // Gets a tempory wcmd to use
  int GetAvailableWcmd(
                        int wcmdToUse, // Existing wcmd to use, else 0
                        int startNum   // Number to start counting back from
                                       // if 0, then 9999 is used
                        );

    // Removes a temporary wcmd from the list
  void ReleaseWcmd    ( int wcmd );

    // Registers the DLLs in the Resource Registry.  Not normally called
    // except during initialization
  void RegisterDLLList();
  void ProcessMsgQueue( int mcount );

    // Returns a string representation of the file time/date that is passed
    // in ftime.
  str FileDateTimeStr( int ftime );
}