Revision: 11324
          
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11324&view=rev
Author:   vszakats
Date:     2009-06-13 18:44:56 +0000 (Sat, 13 Jun 2009)

Log Message:
-----------
2009-06-13 20:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
  - contrib/hbxbp/hbqt.ch
  * contrib/hbqt/Makefile
  + contrib/hbqt/hbqt.ch
    * Moved hbqt.ch under hbqt library.

  * contrib/hbxbp/Makefile
  - contrib/hbxbp/apigeneric.cpp
  + contrib/hbxbp/xbp_temp.prg
    ! Converted stub functions from C++ to .prg code.
      Functionality unchanged.
    ! This also fixed <windows.h> reference in old .cpp file,
      so now hbxbp can be built on non-Windows systems.

  * contrib/hbwin/wapi_winbase.c
    + Added new API wrapper:
      WAPI_OUTPUTDEBUGSTRING()
      NOTE: If "outdebug" functionality is needed temporarly
            to debug any Harbour code, above call can be used
            and it's enough to add hbwin to the liblist. It's
            very important however, to only enable these calls
            in _local Windows environment_, firstly to not create
            any Windows dependence for portable libs, secondly
            to not create an unwanted hbwin lib dependence
            even on Windows-only libs.
            I suggest using something like this:
            ---
            #if defined( __HB_OUTDEBUG__ )
               #xtranslate HB_OUTDEBUG( [<x>] ) => WAPI_OUTPUTDEBUGSTRING( <x> )
            #else
               #xtranslate HB_OUTDEBUG( [<x>] ) =>
            #endif
            [...]
            HB_OUTDEBUG( "my Windows-only trace call" )
            ---
            And simply use 'set HB_USER_PRGFLAGS=-D__HB_OUTDEBUG__'
            in local Windows environment to enable it.
            Probably similar can be added for .c level.
            ******************************************************
            Anyhow, I'd *strongly* suggest to use portable tracing
            techniques like our existing HB_TRACE().
            ******************************************************

Modified Paths:
--------------
    trunk/harbour/ChangeLog
    trunk/harbour/contrib/hbqt/Makefile
    trunk/harbour/contrib/hbwin/wapi_winbase.c
    trunk/harbour/contrib/hbxbp/Makefile

Added Paths:
-----------
    trunk/harbour/contrib/hbqt/hbqt.ch
    trunk/harbour/contrib/hbxbp/xbp_temp.prg

Removed Paths:
-------------
    trunk/harbour/contrib/hbxbp/apigeneric.cpp
    trunk/harbour/contrib/hbxbp/hbqt.ch


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to