From 0ef7c1d7471ce20fe54729c27858db864aedee91 Mon Sep 17 00:00:00 2001 From: me_desk Date: Fri, 30 Aug 2013 13:34:02 +0000 Subject: updated pica-client to make it handle new id format. quint32 type for id is replaced with QByteArray in most places. Implemented verification callbacks in client and node that allow self-signed certificates git-svn-id: svn://localhost/project_picapica/trunk@266 fb96df88-216d-11de-830c-f3023f12d8ac --- pica-client/accounts.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pica-client/accounts.h') diff --git a/pica-client/accounts.h b/pica-client/accounts.h index f51eace..9389906 100644 --- a/pica-client/accounts.h +++ b/pica-client/accounts.h @@ -11,7 +11,7 @@ class Accounts public: struct AccountRecord { - quint32 id; + QByteArray id; QString name; QString cert_file; QString pkey_file; @@ -20,9 +20,9 @@ public: Accounts(QString storage); void Add(AccountRecord& acc); - void Delete(quint32 id); + void Delete(QByteArray id); QList GetAccounts(); - QString GetName(quint32 id); + QString GetName(QByteArray id); bool isOK(); QString GetLastError(); -- cgit v1.2.1