<br><br><div class="gmail_quote">2009/10/20 Michaël Lhomme <span dir="ltr"><<a href="mailto:papylhomme@gmail.com">papylhomme@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi C<span dir="ltr">ristian</span><div class="im"><br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 8:00 AM, Cristian Oneþ <span dir="ltr"><<a href="mailto:onet.cristian@gmail.com" target="_blank">onet.cristian@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">În data de Luni 19 Octombrie 2009 23:18:43 Michaël Lhomme a scris:<br>
<div>> Hi,<br>
><br>
> here is my class file to load KMM data. (attachStorage is done in the<br>
> caller class, before calling load methods)<br>
><br>
> Regarding the dependencies, I take the whole readFile method to ensure I<br>
> didn't forget something, and so it might have some unnecessary lines. The<br>
> part causing linkage problem is when creating a new MyMoneyGncReader.<br>
</div>If you drop the MyMoneyGncReader part which implements the open of GNUCash<br>
files I think that the UI dependecies will go away. Since a user can always<br>
import such a file with kmymoney and save it as a kmymoney file I don't think<br>
that anything is lost by removing the MyMoneyGncReader part.<br></blockquote></div><br></div>Thanks for the input, it's working and as you stated, I don't care being able to load a GNUCash file in the resource.<br>
<br>
<br></blockquote><div><br>Tony, can you check if it's possible to have the GNC work differently?<br><br>I don't know if the GNC loader should remain in the GUI or in the engine, depending on which resources it uses.<br>
If it should be in the engine, then the GUI calls have to be separated and the dialogs should be replaced by exceptions.<br><br>Regards,<br>Alvaro<br></div></div><br>