/****************************************************************************
  
    Name:  event.rc
  
    Description:
       Resource file for cli commands and error text
  
    Status:  CODED
  
    $Log:   S:/tbird/mt2_68k/trace/event.rcv  $
*  
*     Rev 1.1   04 Mar 1997 13:05:24   gene
*  
*     Rev 1.1   21 Jun 1996 11:00:18   kevin
*  CJ's modification
*  
*     Rev 1.0   07 Sep 1995 11:22:12   gene
*  Initial revision.
   
      Rev 1.16   23 Mar 1994 15:16:04   tom
   Make _evsave available as eventsave, and _evrestore as eventrestore.
   Note that these commands were added (redundantly) rather than renamed.
   
      Rev 1.15   13 Jul 1993 19:07:30   doug
   Move errors to errtext/mkerrors.h and use generic syntax error
   
      Rev 1.14   09 Dec 1992 14:42:28   john
   added error message for invalid addr/data ranges
   
      Rev 1.13   30 Oct 1992 14:18:36   fredg
   updated error messages
   
      Rev 1.12   21 Oct 1992 17:20:42   mindy
   fix resource numbering problem
   
      Rev 1.11   21 Oct 1992 07:59:56   mindy
   a) added delete all events command
   b) renamed some of the comands so now all event commands start with "ev"
   c) corrected error messages
   
      Rev 1.10   08 Oct 1992 13:44:24   fredg
   changed evclear to _evclear
   changed evclose to _evclose
   changed del to _del
   changed evend to _evend
   changed evevent to _evevent
   changed exist to _exist
   changed evfield to _evfield
   changed group_info to _group_info
   changed next_event to _next_event
   changed not to _not
   changed num_events to _num_events
   changed evopen to _evopen
   changed evrestore to _evrestore
   changed evsave to _evsave
   changed start to _start
   
      Rev 1.9   07 Oct 1992 13:48:52   fredg
   changed error messages
   
      Rev 1.8   08 Sep 1992 15:58:00   mindy
   changes unknown (john)
   
      Rev 1.7   14 Aug 1992 08:56:06   mindy
   fixed help text for restore
   
      Rev 1.6   11 Aug 1992 09:06:28   jim
   resolve collisions
   
      Rev 1.5   10 Aug 1992 08:28:30   mindy
   added command for new cli registration
   
      Rev 1.4   10 Aug 1992 05:51:16   mindy
   updating error text strings
   
      Rev 1.3   03 Aug 1992 06:29:44   mindy
   added two error messages
   
      Rev 1.2   15 Jun 1992 10:12:14   mindy
   added error text for changing event while tracing or when event is in trigger
   
      Rev 1.1   14 May 1992 11:43:18   mindy
   added error handling server name in slot 99
   
      Rev 1.0   13 May 1992 08:13:54   mindy
   Initial revision.
  
    $Header:   S:/tbird/mt2_68k/trace/event.rcv   1.1   04 Mar 1997 13:05:24   gene  $
  
    Copyright (C) 1991 Microtek International.  All rights reserved.
  
*****************************************************************************/

#ifndef _EVTWDLG_
#include "evtwdlg.h"
#endif

#ifndef _SPAWDLG_
#include "spawdlg.h"
#endif

STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
{
;
;new CLI registration
 30,  "event"
 31,  "evt.dll"
 32,  "18"
  33, "_evclear"
  34, "EventCliClearEvent"
  35, "h:_evclear"
  36, "_evclose"
  37, "EventCliClose"
  38, "h:_evclose"
  39, "_evdel"
  40, "EventCliDeleteEvent"
  41, "h:_evdel"
  42, "_evdelall"
  43, "EventCliDeleteAllEvents"
  44, "h:_evdelall"
  45, "_evend"
  46, "EventCliEnd"
  47, "h:_evend [<value>]"
  48, "_evevent"
  49, "EventCliEvent"
  50, "h:_evevent [<event name>]"
  51, "_evexist"
  52, "EventCliEventExist"
  53, "h:_evexist <event name>"
  54, "_evfield"
  55, "EventCliField"
  56, "h:_evfield [<field name>]"
  57, "_evgroup_info"
  58, "EventCliEventGroupInfo"
  59, "h:_evgroup_info <R_GROUP|S_GROUP|T_GROUP|U_GROUP>"
  60, "_evnext_event"
  61, "EventCliGetNextEvent"
  62, "h:_evnext_event"
  63, "_evnot"
  64, "EventCliNotCondition"
  65, "h:_evnot [<TRUE|FALSE>]"
  66, "_evnum_events"
  67, "EventCliNumDefinedEvents"
  68, "h:_evnum_events"
  69, "_evopen"
  70, "EventCliOpen"
  71, "h:_evopen <template name>"

; note: _evrestore and eventrestore are the same command
  72, "_evrestore"
  73, "EventCliRestoreEvents"
  74, "h:_evrestore <filename>"
  75, "eventrestore"
  76, "EventCliRestoreEvents"
  77, "h:eventRestore <filename>"

; note: _evsave and eventsave are the same command
  78, "_evsave"
  79, "EventCliSaveEvents"
  80, "h:_evsave <filename>"
  81, "eventsave"
  82, "EventCliSaveEvents"
  83, "h:eventSave <filename>"

  84, "_evstart"
  85, "EventCliStart"
  86, "h:_evstart [<value>]"
}

DialogMenu MENU
{

   POPUP "&File"
      {
        MENUITEM "&Save Events As...",   IDM_EVTFSAVE
        MENUITEM "&Restore Events...",   IDM_EVTFRESTORE
        MENUITEM "E&xit",                IDM_EVTFEXIT
      }

   POPUP "&Edit"
      {
         MENUITEM "&Add Event...",      IDM_EVTEADD
         MENUITEM "&Delete Event...",   IDM_EVTEDELETE
         MENUITEM "&Clear Event...",    IDM_EVTECLEAR
         MENUITEM "D&elete All Events", IDM_EVTEDELETEALL
      }

   POPUP "&Windows"
      {
         MENUITEM "&Breakpoint",        IDM_EVTWBKPT
         MENUITEM "&CPU",               IDM_EVTWCPU
         MENUITEM "&Memory",            IDM_EVTWMEMORY
         MENUITEM "&Peripheral",        IDM_EVTWPERIPHERAL
         MENUITEM "S&hell",             IDM_EVTWSHELL
         MENUITEM "&Source",            IDM_EVTWSOURCE
         MENUITEM "S&tack",             IDM_EVTWSTACK
         MENUITEM "Stat&us",            IDM_EVTWSTATUS
         MENUITEM "Spa[&z]",            IDM_EVTWSPA
         MENUITEM "T&oolBar",           IDM_EVTWTOOLBAR
         MENUITEM "Tr&ace",             IDM_EVTWTRACE
         MENUITEM "Tri&gger",           IDM_EVTWTRIGGER
         MENUITEM "&Variable",          IDM_EVTWVARIABLE
      }
   POPUP  "&Help"
      {
         MENUITEM "Help &Index",        IDM_EVTHINDEX
         MENUITEM "&Help With Help",    IDM_EVTHHELP
         MENUITEM "Help With &Event",   IDM_EVTHEVENT
      }
}

STRINGTABLE
BEGIN
      0,   "event1"
      1,   "event2"
      2,   "event3"
END

ADDEVENT DIALOG 50,50,150,60
STYLE WS_POPUP|WS_CAPTION|WS_SYSMENU|WS_BORDER
CAPTION "Add Event"
BEGIN
CTEXT           "&Name:" -1,   10,8,25,10
EDITTEXT              IDD_ADDEVENT,10,20,120,12,WS_GROUP
DEFPUSHBUTTON   "&OK"  IDD_OKAY,15,40,30,12,WS_GROUP
PUSHBUTTON      "&Cancel"  IDD_CANCEL,55,40,30,12,WS_GROUP
PUSHBUTTON      "&Help"    IDD_HELP,95,40,30,12,WS_GROUP
END

BreakPoint DIALOG 20, 20, 142, 92
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Set BreakPoint"
BEGIN
	EDITTEXT IDB_BRKPOINT, 10, 18, 115, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	PUSHBUTTON "&OK", IDB_OK, 9, 76, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Cancel", IDB_CANCEL, 55, 76, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Help", IDB_HELP, 100, 76, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", IDB_MODULES, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 40, 37, 91, 24
	CONTROL "", IDB_FUNCTIONS, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 40, 56, 91, 24
	CONTROL "", IDB_BORSHADE, "BorShade", 1 | WS_CHILD | WS_VISIBLE, 0, 0, 143, 94
END

Ranges DIALOG 18, 18, 156, 103
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ranges"
BEGIN
	EDITTEXT IDR_LISTBOX, 3, 4, 120, 80, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
	PUSHBUTTON "&Close", IDR_CLOSE, 15, 88, 40, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Help", IDR_HELP, 70, 88, 40, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Add...", IDR_ADD, 125, 6, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Edit...", IDR_EDIT, 125, 20, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Delete", IDR_DELETE, 125, 34, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Save", IDR_SAVE, 125, 58, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&Restore", IDR_RESTORE, 125, 72, 30, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	CONTROL "", IDR_BORSHADE, "BorShade", 1 | WS_CHILD | WS_VISIBLE, 0, 0, 157, 104
END

Add_Range DIALOG 18, 18, 156, 79
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add Range"
BEGIN
	EDITTEXT IDA_RANGENAME, 50, 8, 65, 10
	EDITTEXT IDA_STARTADDRESS, 50, 26, 65, 10
	EDITTEXT IDA_ENDADDRESS, 50, 40, 65, 10
	PUSHBUTTON "&Brower...", IDA_BROWER, 116, 32, 34, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
	PUSHBUTTON "&OK", IDA_OK, 8, 60, 30, 12
	PUSHBUTTON "&Cancel", IDA_CANCEL, 60, 60, 30, 12
	PUSHBUTTON "&Help", IDA_HELP, 110, 60, 30, 12
	CONTROL "", IDA_BORSHADE00, "BorShade", 1 | WS_CHILD | WS_VISIBLE, 0, -1, 157, 80
	CONTROL "", IDA_BORSHADE01, "BorShade", 1 | WS_CHILD | WS_VISIBLE, 4, 22, 149, 32
END

Browse DIALOG 22, 18, 124, 71
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Browse"
BEGIN
	CONTROL "", IDO_MODULE, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 46, 5, 75, 26
	CONTROL "", IDO_FUNCTION, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 46, 24, 75, 26
	PUSHBUTTON "&OK", IDO_OK, 2, 49, 35, 14
	PUSHBUTTON "&Cancel", IDO_CANCEL, 44, 48, 35, 14
	PUSHBUTTON "&Help", IDO_HELP, 86, 48, 35, 14
	CONTROL "", IDO_BORSHADE, "BorShade", 1 | WS_CHILD | WS_VISIBLE, -1, -2, 126, 76
END

SPAMainMenu MENU
BEGIN
	POPUP "&File"
	BEGIN
		MENUITEM "E&xit", 101
	END

	POPUP "&SPA"
	BEGIN
		MENUITEM "&Module Analysis", 102
		MENUITEM "&Time Analysis", 103
		MENUITEM "&Code Coverage", 104
	END

END
