Clarification for APIs for third phase

Thomas Baumgart thb at net-bembel.de
Thu Aug 27 09:00:56 BST 2020


On Donnerstag, 27. August 2020 08:59:33 CEST Ralf Habacker wrote:

> Am 18.08.20 um 06:54 schrieb Prasun Kumar:
> > Hi mentors,
> > I have incorporated most of your suggestions into the project and I am 
> > working on the few left.
> > 
> > The remaining milestones in the proposed project are the creation of API 
> > to integrate the
> > databases into other applications and the additional subtask of a 
> > download API to fetch
> > updated databases from a server.
> > 
> > The downloading API's flow is somewhat clear to me but it would be 
> > helpful to have some pointers
> > for the first API.
> > 
> 
> A static function in the class AccountNumberCheck::updateDatabase(),
> which  updates the database when called by the client and returns the 
> state of operation e.g
> 
>   bool AccountNumberCheck::updateDatabase()
> 
> or
> 
> typedef enum {} UpdateState;
> 
> UpdateState AccountNumberCheck::updateDatabase();

Using a static member function in a shared object may introduce
trouble on Windows. I have just gone through that in KMyMoney.

I don't remember the details and don't have access to my Windows
box to look them up.

-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
There are only 10 types of people in the world: those who
understand binary arithmetic and those who don't.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20200827/ee799fcb/attachment.sig>


More information about the Kde-finance-apps mailing list