; srcdll.def : Declares the module parameters for the application.

LIBRARY      SRCDLL
DESCRIPTION  'Source window classes'
EXETYPE      WINDOWS

CODE         LOADONCALL MOVEABLE DISCARDABLE
DATA         PRELOAD MOVEABLE SINGLE

SEGMENTS
    _TEXT       PRELOAD MOVEABLE DISCARDABLE
    WEP_TEXT    PRELOAD MOVEABLE DISCARDABLE

HEAPSIZE     1024   ; initial heap size
; Stack size is passed as argument to linker's /STACK option


EXPORTS

	; required WEP entry point (uses library WEP)
    WEP @1 RESIDENTNAME PRIVATE

	; Explicitly exported initialization routine
    InitDLL_SourceWindow 		@2 NONAME
	SrcRegisterWindow			@3 NONAME

	; other explicit exports can go here
	
	SrcInitSourceEnv           	@100 NONAME
	SrcFreeSourceEnv            @101 NONAME

	SrcReadProfile              @102 NONAME
	SrcWriteProfile             @103 NONAME

	SrcFilterMessage			@104 NONAME
	
	SrcGetSourceWindow			@105 NONAME
	SrcGetBrowseWindow          @106 NONAME

	SrcIsSourceWindowOpened		@107 NONAME
	SrcIsBrowseWindowOpened		@108 NONAME

	SrcOpenSourceWindow         @109 NONAME
	SrcCloseSourceWindow		@110 NONAME
	SrcUpdateSourceWindow		@111 NONAME

	SrcOpenBrowseWindow        	@112 NONAME
	SrcCloseBrowseWindow        @113 NONAME
	SrcUpdateBrowseWindow       @114 NONAME
	
	SrcIsLoadedSymbol			@115 NONAME
	SrcIsLoadAbort				@116 NONAME
	SrcLoadTargetFile           @117 NONAME
	SrcLoadCmd					@118 NONAME
	SrcBrowseModule             @119 NONAME
	SrcIsInSourceLine			@120 NONAME

	SrcAddrToText  				@121 NONAME
	SrcTextToAddr               @122 NONAME
	SrcAddrToSymbol             @123 NONAME
	
	SrcGetPC					@124 NONAME
	SrcSetPC                    @125 NONAME

	SrcGetMode					@126 NONAME
	SrcSetMode					@127 NONAME

	SrcDisplayErrorMessage      @128 NONAME

	SrcOnFileLoad				@129 NONAME
	SrcOnGroup                  @130 NONAME
	SrcOnRunJump				@131 NONAME
	SrcGetSearchList			@132 NONAME
	SrcCursorLink				@133 NONAME
	SrcCursorLinkOff            @134 NONAME
	SrcInspectSource            @135 NONAME
	
	SrcIsSymbolic				@136 NONAME
	
	; Explicitly exported classes

; CSourceAddr
	??0CSourceAddr@@REC@AFKAFE@Z             				@200 NONAME
	??0CSourceAddr@@REC@AFV0@@Z                 			@201 NONAME
	??0CSourceAddr@@REC@XZ                      			@202 NONAME
	??1CSourceAddr@@VEC@XZ                      			@203 NONAME
	??4CSourceAddr@@RECXAFV0@@Z                 			@204 NONAME
	??8CSourceAddr@@RFCHAFK@Z                               @205 NONAME
	??8CSourceAddr@@RFCHAFV0@@Z                             @206 NONAME
	??GCSourceAddr@@RFC?EV0@AFK@Z                           @207 NONAME
	??NCSourceAddr@@RFCHAFV0@@Z                             @208 NONAME
	??PCSourceAddr@@RFCHAFV0@@Z                             @209 NONAME
	?GetAddr@CSourceAddr@@RFCKXZ                            @210 NONAME
	?GetType@CSourceAddr@@RFCEXZ                            @211 NONAME
	?SetAddr@CSourceAddr@@RECXAFK@Z                         @212 NONAME
	?SetType@CSourceAddr@@RECXAFE@Z                         @213 NONAME
	?Serialize@CSourceAddr@@VECXAEVCArchive@@@Z				@214 NONAME
	?classCSourceAddr@CSourceAddr@@2UCRuntimeClass@@A       @215 NONAME
	?GetRuntimeClass@CSourceAddr@@VFCPEUCRuntimeClass@@XZ   @216 NONAME


; CSourceView
;	??0CSourceView@@JEC@XZ                                     	@300 NONAME
;	??1CSourceView@@NEC@XZ                                      @301 NONAME
;	?UpdateSourceWindow@CSourceView@@RECXH@Z                    @302 NONAME
;	?UpdateBrowseWindow@CSourceView@@RECXH@Z                    @303 NONAME
;	?HideDataTip@CSourceView@@RECXXZ                            @304 NONAME
;	?Dump@CSourceView@@NFCXAEVCDumpContext@@@Z					@305 NONAME
;	?OnBeginPrinting@CSourceView@@NECXPEVCDC@@PEUCPrintInfo@@@Z	@306 NONAME
;	?OnEndPrinting@CSourceView@@NECXPEVCDC@@PEUCPrintInfo@@@Z	@307 NONAME
;	?OnPreparePrinting@CSourceView@@NECHPEUCPrintInfo@@@Z       @308 NONAME
;	?OnPrepareDC@CSourceView@@NECXPEVCDC@@PEUCPrintInfo@@@Z     @309 NONAME
;	?OnDraw@CSourceView@@NECXPEVCDC@@@Z                         @300 NONAME
;	?AssertValid@CSourceView@@NFCXXZ							@305 NONAME
;	?classCSourceView@CSourceView@@2UCRuntimeClass@@A           @301 NONAME
;	?messageMap@CSourceView@@1UAFX_MSGMAP@@A                    @302 NONAME


IMPORTS
; Source window special
	ep196.SrcGetAsmCodeAddr
	ep196.SrcGetAsmCodeLine
	ep196.SrcPrintSetup
	ep196.SrcGetBarToken
	ep196.SrcSetBarToken
	ep196.SrcSetBarCombo
	ep196.SrcShowLine
	ep196.SrcGetSearchComboHwnd
	ep196.SrcAddVariable
	ep196.SrcAddToRecentFileList
	ep196.SrcGetStartAddr
	ep196.DllLdrGetBankNumber
	ep196.GetCurHWindow            
	ep196.SetCurLoadPath
	ep196.RestoreLastPath

; Repaint windows
	ep196.OnEmulation
	ep196.RepaintWindows
	ep196.RepaintCPU
	ep196.RepaintMemory
	ep196.RepaintStack
	ep196.RepaintVariable
   	ep196.RepaintPeri
