Clarification for APIs for third phase

Ralf Habacker ralf.habacker at freenet.de
Thu Aug 27 07:59:33 BST 2020


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();


Regards
Ralf


More information about the Kde-finance-apps mailing list