File: n_cst_stdout.sru
Size: 2621
Date: Sat, 08 Dec 2007 15:38:27 +0100
$PBExportHeader$n_cst_stdout.sru
$PBExportComments$Standard Out
forward
global type n_cst_stdout from nonvisualobject
end type
end forward

global type n_cst_stdout from nonvisualobject
end type
global n_cst_stdout n_cst_stdout

type prototypes
private function ulong nv_stdout_constructor() library 'pweio.dll'
private subroutine nv_stdout_destructor( ulong th ) library 'pweio.dll'
private function long nv_stdout_WriteA ( ulong th , ref string as_text ) library 'pweio.dll' alias for "nv_stdout_WriteA"
private function long nv_stdout_WriteW ( ulong th , ref string as_text ) library 'pweio.dll' alias for "nv_stdout_WriteA"
private function long nv_stdout_WriteBinary ( ulong th , ref blob ablb_data , long al_length ) library 'pweio.dll' alias for "nv_stdout_WriteBinary"
private function long nv_stdout_WriteBase64Encoded ( ulong th , ref blob ablb_data , long al_length ) library 'pweio.dll' alias for "nv_stdout_WriteBase64Encoded"
private function long nv_stdout_WriteFromFileA ( ulong th ,  string as_filename ) library 'pweio.dll' alias for "nv_stdout_WriteFromFileA"

end prototypes
type variables
Public:
constant long STDIO_ERROR = -1
constant long STDIO_OK = 0
Private:
ulong ThisHandle

end variables

forward prototypes
public function long writefromfile (string as_filename)
public function long writew (string as_string)
public function long writebase64encoded (ref blob ablb_data, long al_length)
public function long of_write (string as_string)
public function long of_writebinary (ref blob ablb_data, long al_length)
end prototypes

public function long writefromfile (string as_filename);RETURN nv_stdout_WriteFromFileA ( ThisHandle,  as_filename ) 

end function

public function long writew (string as_string);RETURN nv_stdout_WriteW ( ThisHandle,  as_String ) 


end function

public function long writebase64encoded (ref blob ablb_data, long al_length);RETURN nv_stdout_WriteBase64Encoded ( ThisHandle,  ablb_data ,al_length ) 

end function

public function long of_write (string as_string);RETURN nv_stdout_WriteW ( ThisHandle,  as_String ) 


end function

public function long of_writebinary (ref blob ablb_data, long al_length);RETURN nv_stdout_WriteBinary ( ThisHandle,  ablb_data ,al_length ) 

end function

on n_cst_stdout.create
call super::create
TriggerEvent( this, "constructor" )
end on

on n_cst_stdout.destroy
TriggerEvent( this, "destructor" )
call super::destroy
end on

event constructor;ThisHandle = nv_stdout_constructor ()
end event

event destructor;nv_stdout_destructor (ThisHandle)
end event