From f6dc1367add8594a78437dd0ae79fcecdae8b85f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 13 Feb 2009 08:26:11 +0000 Subject: [PATCH] 2009-02-13 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rddads/rddads.h ! Added missing extern directive. * contrib/hbwin/common.mak * contrib/hbwin/Makefile + Added hbwapi.h to installed headers. --- harbour/ChangeLog | 10 +++++++++- harbour/contrib/hbwin/Makefile | 1 + harbour/contrib/hbwin/common.mak | 1 + harbour/contrib/rddads/rddads.h | 19 +++++++++---------- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 43ce48fb90..853ecf59ab 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,14 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-13 09:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * contrib/rddads/rddads.h + ! Added missing extern directive. + + * contrib/hbwin/common.mak + * contrib/hbwin/Makefile + + Added hbwapi.h to installed headers. + 2009-02-12 11:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) - harbour/include/hbwapi.h + harbour/contrib/hbwin/hbwapi.h @@ -16,7 +24,7 @@ + harbour/include/hbwapi.h As this header will be required fot many libraries in contrib - I have placed it in core folder. It will pave me the way to + I have placed it in core folder. It will pave me the way to isolated WINAPI wrappers as discussed earlier. Before I begin to shift functions in harbour/contrib/hbwin please feel free to include in this header whatever you feel will be required diff --git a/harbour/contrib/hbwin/Makefile b/harbour/contrib/hbwin/Makefile index 6941b6fb3e..77eb1bc783 100644 --- a/harbour/contrib/hbwin/Makefile +++ b/harbour/contrib/hbwin/Makefile @@ -26,6 +26,7 @@ PRG_SOURCES=\ win_tprt.prg \ C_HEADERS = \ + hbwapi.h \ hbwin.h \ PRG_HEADERS = \ diff --git a/harbour/contrib/hbwin/common.mak b/harbour/contrib/hbwin/common.mak index 9bd0e2f2b1..c0e0f7d276 100644 --- a/harbour/contrib/hbwin/common.mak +++ b/harbour/contrib/hbwin/common.mak @@ -7,6 +7,7 @@ LIBNAME = $(LIBPREF)hbwin LIB_PATH = $(LIB_DIR)$(LIBNAME)$(LIBEXT) C_HEADERS = \ + hbwapi.h \ hbwin.h \ PRG_HEADERS = \ diff --git a/harbour/contrib/rddads/rddads.h b/harbour/contrib/rddads/rddads.h index ad336dfe82..26d2e81f1b 100644 --- a/harbour/contrib/rddads/rddads.h +++ b/harbour/contrib/rddads/rddads.h @@ -230,22 +230,21 @@ typedef ADSAREA * ADSAREAP; #define HB_ADS_PUTCONNECTION( p, h ) hb_itemPutNL( ( p ), ( LONG ) ( h ) ) #define HB_ADS_DEFCONNECTION( v ) ( ( v ) ? ( ADSHANDLE ) ( v ) : hb_ads_hConnect ) - -extern int hb_ads_iFileType; /* current global setting */ -extern int hb_ads_iLockType; -extern int hb_ads_iCheckRights; -extern int hb_ads_iCharType; -extern BOOL hb_ads_bTestRecLocks; -extern ADSHANDLE hb_ads_hConnect; +extern int hb_ads_iFileType; /* current global setting */ +extern int hb_ads_iLockType; +extern int hb_ads_iCheckRights; +extern int hb_ads_iCharType; +extern BOOL hb_ads_bTestRecLocks; +extern ADSHANDLE hb_ads_hConnect; extern HB_ERRCODE hb_adsCloseCursor( ADSAREAP pArea ); -extern ADSAREAP hb_adsGetWorkAreaPointer( void ); +extern ADSAREAP hb_adsGetWorkAreaPointer( void ); #ifdef ADS_USE_OEM_TRANSLATION - extern BOOL hb_ads_bOEM; + extern BOOL hb_ads_bOEM; extern char * hb_adsOemToAnsi( char * pcString, ULONG ulLen ); extern char * hb_adsAnsiToOem( char * pcString, ULONG ulLen ); - void hb_adsOemAnsiFree( char * pcString ); + extern void hb_adsOemAnsiFree( char * pcString ); /* NOTE: Undocumented ACE function. */ UNSIGNED32 ENTRYPOINT AdsSetFieldRaw( ADSHANDLE hObj,