1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
/**
* @namespace biew_plugins_I
* @file plugins/textmode.h
* @brief This file contains prototypes for textmode plugins.
* @version -
* @remark this source file is part of Binary vIEW project (BIEW).
* The Binary vIEW (BIEW) is copyright (C) 1995 Nick Kurshev.
* All rights reserved. This software is redistributable under the
* licence given in the file "Licence.en" ("Licence.ru" in russian
* translation) distributed in the BIEW archive.
* @note Requires POSIX compatible development system
*
* @author Nick Kurshev
* @since 1995
* @note Development, fixes and improvements
**/
#ifndef __TEXTMODE_H
#define __TEXTMODE_H
#ifndef __FILE_INI_RUNTIME_SUPPORT_SYSTEM__
#include "biewlib/file_ini.h"
#endif
typedef struct tag_REGISTRY_NLS
{
const char * set_name;
unsigned __FASTCALL__ (*convert_buffer)(char *buffer,unsigned len,tBool use_fs_nls);
unsigned __FASTCALL__ (*get_symbol_size)( void );
tBool __FASTCALL__ (*select_table)( void );
void __FASTCALL__ (*read_ini)(hIniProfile *);
void __FASTCALL__ (*save_ini)(hIniProfile *);
void __FASTCALL__ (*init)( void );
void __FASTCALL__ (*term)( void );
}REGISTRY_NLS;
/** Below describes function prototypes for small table conversations */
extern void __FASTCALL__ txt_cvt_full(char * str,int size,const unsigned char *tmpl);
extern void __FASTCALL__ txt_cvt_hi80(char * str,unsigned size,const unsigned char *tmpl);
extern void __FASTCALL__ txt_cvt_lo80(char * str,unsigned size,const unsigned char *tmpl);
#endif
|