author | ulf69 <ulf69> | 2004-07-17 00:41:28 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-07-17 00:41:28 (UTC) |
commit | 8023ceff4cb170c0f8a46881345e7ea92674ef0e (patch) (unidiff) | |
tree | 5482877133b6512a2d0d4d2b8aea4fa29a3e2786 /kabc | |
parent | afdcf8b412f8831d0027aa54d7e8c652a84e02b7 (diff) | |
download | kdepimpi-8023ceff4cb170c0f8a46881345e7ea92674ef0e.zip kdepimpi-8023ceff4cb170c0f8a46881345e7ea92674ef0e.tar.gz kdepimpi-8023ceff4cb170c0f8a46881345e7ea92674ef0e.tar.bz2 |
implementation of the sharp resource plugin
-rw-r--r-- | kabc/converter/sharpdtm/sharpdtmconverter.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/kabc/converter/sharpdtm/sharpdtmconverter.h b/kabc/converter/sharpdtm/sharpdtmconverter.h index 85edea6..6a55431 100644 --- a/kabc/converter/sharpdtm/sharpdtmconverter.h +++ b/kabc/converter/sharpdtm/sharpdtmconverter.h | |||
@@ -31,4 +31,5 @@ $Id$ | |||
31 | 31 | ||
32 | #include <sl/slzdb.h> | ||
33 | |||
32 | #include "addressee.h" | 34 | #include "addressee.h" |
33 | #include <qpe/pim/contact.h> | ||
34 | 35 | ||
@@ -38,2 +39,4 @@ namespace SlCategory { | |||
38 | 39 | ||
40 | class SlZDataBase; | ||
41 | |||
39 | namespace KABC { | 42 | namespace KABC { |
@@ -53,13 +56,14 @@ public: | |||
53 | virtual ~SharpDTMConverter(); | 56 | virtual ~SharpDTMConverter(); |
54 | 57 | ||
55 | bool init(); | 58 | bool init(); |
56 | void deinit(); | 59 | void deinit(); |
57 | 60 | ||
58 | /** | 61 | /** |
59 | * Converts a vcard string to an addressee. | 62 | * Converts a given sharp card to an addressee. |
60 | * | 63 | * |
61 | * @param contact The sharp contact. | 64 | * @param contact The sharp card id, eventhough it might be 0, if the contact is a new one. |
65 | * @param database The sharp database pointer we use for the conversion | ||
62 | * @param addr The addressee. | 66 | * @param addr The addressee. |
63 | */ | 67 | */ |
64 | bool sharpToAddressee( const PimContact &contact, Addressee &addr ); | 68 | bool sharpToAddressee( const CardId &contact, const SlZDataBase* database, Addressee &addr ); |
65 | 69 | ||
@@ -69,5 +73,6 @@ public: | |||
69 | * @param addr The addressee. | 73 | * @param addr The addressee. |
70 | * @param contact The sharp contact. | 74 | * @param database The sharp database pointer we use for the conversion |
75 | * @param contact The sharp card id, eventhough it might be 0, if the contact is a new one. | ||
71 | */ | 76 | */ |
72 | bool addresseeToSharp( const Addressee &addr, PimContact &contact ); | 77 | bool addresseeToSharp( const Addressee &addr, const SlZDataBase* database , const CardId &contact ); |
73 | 78 | ||
@@ -75,4 +80,4 @@ public: | |||
75 | SlCategory::SlCategories* catDB; | 80 | SlCategory::SlCategories* catDB; |
76 | 81 | ||
77 | 82 | ||
78 | }; | 83 | }; |