From 8ac8b7393cc59b2a4b993c6387ca3d72cf535c23 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Wed, 18 Mar 2015 07:51:44 +0000 Subject: pascal version of miranda api update git-svn-id: http://svn.miranda-ng.org/main/trunk@12428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_imgsrvc.inc | 75 ++++++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 34 deletions(-) (limited to 'include/delphi/m_imgsrvc.inc') diff --git a/include/delphi/m_imgsrvc.inc b/include/delphi/m_imgsrvc.inc index 374e39b869..66440fe525 100644 --- a/include/delphi/m_imgsrvc.inc +++ b/include/delphi/m_imgsrvc.inc @@ -402,42 +402,49 @@ const memory mapped files). } -type +//type //!! // FREE_IMAGE_FORMAT = type integer; -{( - FIF_UNKNOWN = -1, - FIF_BMP = 0, - FIF_ICO = 1, - FIF_JPEG = 2, - FIF_JNG = 3, - FIF_KOALA = 4, - FIF_LBM = 5, - FIF_IFF = FIF_LBM, - FIF_MNG = 6, - FIF_PBM = 7, - FIF_PBMRAW = 8, - FIF_PCD = 9, - FIF_PCX = 10, - FIF_PGM = 11, - FIF_PGMRAW = 12, - FIF_PNG = 13, - FIF_PPM = 14, - FIF_PPMRAW = 15, - FIF_RAS = 16, - FIF_TARGA = 17, - FIF_TIFF = 18, - FIF_WBMP = 19, - FIF_PSD = 20, - FIF_CUT = 21, - FIF_XBM = 22, - FIF_XPM = 23, - FIF_DDS = 24, - FIF_GIF = 25, - FIF_HDR = 26, - FIF_FAXG3 = 27, - FIF_SGI = 28 -);} +const + FIF_UNKNOWN = -1; + FIF_BMP = 0; + FIF_ICO = 1; + FIF_JPEG = 2; + FIF_JNG = 3; + FIF_KOALA = 4; + FIF_LBM = 5; + FIF_IFF = FIF_LBM; + FIF_MNG = 6; + FIF_PBM = 7; + FIF_PBMRAW = 8; + FIF_PCD = 9; + FIF_PCX = 10; + FIF_PGM = 11; + FIF_PGMRAW = 12; + FIF_PNG = 13; + FIF_PPM = 14; + FIF_PPMRAW = 15; + FIF_RAS = 16; + FIF_TARGA = 17; + FIF_TIFF = 18; + FIF_WBMP = 19; + FIF_PSD = 20; + FIF_CUT = 21; + FIF_XBM = 22; + FIF_XPM = 23; + FIF_DDS = 24; + FIF_GIF = 25; + FIF_HDR = 26; + FIF_FAXG3 = 27; + FIF_SGI = 28; + FIF_EXR = 29; + FIF_J2K = 30; + FIF_JP2 = 31; + FIF_PFM = 32; + FIF_PICT = 33; + FIF_RAW = 34; + +type TIMGSRVC_MEMIO = record iLen:cardinal; // length of the buffer pBuf:pointer; // the buffer itself (you are responsible for allocating and free'ing it) -- cgit v1.2.3