[VSDK] long FBL_Task::DoIndexing()

Eric Forget forgete at cafederic.com
Tue Jul 6 11:50:44 CDT 2004


>>>> I'm trying to install the "callbacks" to display a progress bar to the user
>>>> while indexing. If I thought that all you had to do is to implement the
>>>> following functions:
>>>> 
>>>>   long FBL_Task::DoIndexing()
>>>> 
>>>> It doesn't seems to work. It is never called. I should probably have
>>> 
>>> Hi Eric,
>>> 
>>> I will send you off list files from VAPP
>> 
>> I had those files from the "VSDK_MAC_cw7" package. Unfortunately, it doesn't
>> seems to work with the VSDK.framework. If I understand correctly, you have
>> already implemented the FBL_Task::DoIndexing() inside the framework. It
>> seems that with a framework, it is only that one that is being called. We
>> cannot override it from the outside. So it seems that the only solution is
>> having a framework without the FBL_Task::DoIndexing() implementated...
> 
> Aha.
> 
> In codeWarrior this works in this way.
> 
> YES, FBL_DoIndexing.cpp already can be in the .LIB
> But into VAPP project I include file again and compile it with other
> #defines.
> 
> CodeWarrior see 2 versions of the same method, and prefer the one from
> project.
> 
> Xcode cannot do this ?!
> 
> I know that visual c++ also work in this way.

For the new version you will build with a second parameter to
SetCompareFunction(), would you mind adding a real C callback function that
will be called from the the kernel version? It could have the same prototype
as FBL_Task::DoIndexing() and working the same way... Just needed to being
installed with a SetDoIndexingCallback() function...

Éric

___________________________________________________________________

 Eric Forget                       Cafederic
 ForgetE at cafederic.com             <http://www.cafederic.com/>

 Fingerprint <86D5 38F5 E1FD 5D9C 71C3  BAA3 797E 70A4 6210 C684>




More information about the Valentina mailing list