#Include "inc/window9.bi"
#include once "win/wininet.bi"

Enum Constants
	EDITOR_IN = 1
	EDITOR_OUT
	COMBO_LANG
	BUTTON_CONFIRM
	SYSTRAY
	MENUCLOSE
	MENUOPENWINDOW
	MENUCOPY
	MENUPASTE
	MENUSELECTALL
	HOTKEY
End Enum

Type ClassTranslate
	iEvent As Integer
	hwndMain As HWND
	hMenu As HMENU 
	hMenu2 As HMENU
	ActiveGadget As Constants
	Declare Function MainEvent() As BOOL
	declare function Translate( as BOOL) as BOOL
	Declare Function SetClipBoardText(ByVal Text As String) As integer
	Declare Constructor()  	
End Type

Type UTFHTML
	sSimvol As ZString*2
	sUTF As ZString*7
	sUTFHTML As ZString*10
End Type

Type EncodeUTFHTML
	As UTFHTML sArrayUTFHTML(&h80)
	Declare Constructor()
	Declare Function GetUtfHtmlSimvols(sSimvol As String) As string
	Declare Function GetSimvols(sUTF As String) As String
End Type
