#include <NokiaContact.h>
Inheritance diagram for NokiaContact:
Public Member Functions |
|
void | AddField (in long valueType, in AString stringValue, out long hResult, out long nmpResult) |
Add a field of information from the contact. |
|
long | AmountOfFields (inout long hResult, inout long nmpResult) |
Return number of fields this contact has. |
|
void | DeleteField (in long fieldIndex, out long hResult, out long nmpResult) |
Delete a field of information from the contact. |
|
void | GetField (in long fieldIndex, inout long valueType, out AString stringValue, out long hResult, out long nmpResult) |
Get a field of information from the contact. |
|
ACString | GetLastErrorString () |
Return description of last error. |
|
long | GetLocation (out long hResult, out long nmpResult) |
Get location of the contact. |
|
void | SetField (in long fieldIndex, in AString stringValue, out long hResult, out long nmpResult) |
Set a field of information from the contact. |
|
double | TimeStamp (inout long hResult, inout long nmpResult) |
Return timestamp of this contact (does not work). |
|
Static Public Member Functions |
|
static nsresult | INokiaContactFromIContact2Ptr (IContact2Ptr pIContact2, long location, void **aResult) |
Construct NokiaContact from IContact2Ptr. |
|
Public Attributes |
|
long | location |
Location index on NOKIA phone. |
|
PhonebookAdapterDS3::IContact2Ptr | pIContact2 |
Pointer to the underlying IContact2. |
void INokiaContact::AddField | ( | in long | valueType, | |
in AString | stringValue, | |||
out long | hResult, | |||
out long | nmpResult | |||
) |
[inherited]
|
Add a field of information from the contact.
valueType | Input: the type of value in the field (FieldType enumeration) | |
stringValue | Input: the value of the field | |
hResult | (see nsresult, hResult and nmpResult in NokSync) | |
nmpResult | (see nsresult, hResult and nmpResult in NokSync) |
long INokiaContact::AmountOfFields | ( | inout long | hResult, | |
inout long | nmpResult | |||
) |
[inherited]
|
Return number of fields this contact has.
hResult | (see nsresult, hResult and nmpResult in NokSync) | |
nmpResult | (see nsresult, hResult and nmpResult in NokSync) |
void INokiaContact::DeleteField | ( | in long | fieldIndex, | |
out long | hResult, | |||
out long | nmpResult | |||
) |
[inherited]
|
Delete a field of information from the contact.
fieldIndex | Input: the index of the field to delete | |
hResult | (see nsresult, hResult and nmpResult in NokSync) | |
nmpResult | (see nsresult, hResult and nmpResult in NokSync) |
void INokiaContact::GetField | ( | in long | fieldIndex, | |
inout long | valueType, | |||
out AString | stringValue, | |||
out long | hResult, | |||
out long | nmpResult | |||
) |
[inherited]
|
Get a field of information from the contact.
fieldIndex | Input: the index of the field to get | |
valueType | Output: the type of value in the field (FieldType enumeration) | |
stringValue | Output: the value of the field | |
hResult | (see nsresult, hResult and nmpResult in NokSync) | |
nmpResult | (see nsresult, hResult and nmpResult in NokSync) |
ACString INokiaContact::GetLastErrorString | ( | ) |
[inherited]
|
Return description of last error.
long INokiaContact::GetLocation | ( | out long | hResult, | |
out long | nmpResult | |||
) |
[inherited]
|
Get location of the contact.
hResult | (see nsresult, hResult and nmpResult in NokSync) | |
nmpResult | (see nsresult, hResult and nmpResult in NokSync) |
static nsresult NokiaContact::INokiaContactFromIContact2Ptr | ( | IContact2Ptr | pIContact2, | |
long | location, | |||
void ** | aResult | |||
) |
[static]
|
Construct NokiaContact from IContact2Ptr.
pIContact2 | Pointer to the IContact2 | |
location | Location index on NOKIA phone | |
aResult | Pointer to where pointer to NokiaContact should be stored |
void INokiaContact::SetField | ( | in long | fieldIndex, | |
in AString | stringValue, | |||
out long | hResult, | |||
out long | nmpResult | |||
) |
[inherited]
|
Set a field of information from the contact.
fieldIndex | Input: the index of the field to set | |
stringValue | Input: the value of the field | |
hResult | (see nsresult, hResult and nmpResult in NokSync) | |
nmpResult | (see nsresult, hResult and nmpResult in NokSync) |
double INokiaContact::TimeStamp | ( | inout long | hResult, | |
inout long | nmpResult | |||
) |
[inherited]
|
Return timestamp of this contact (does not work).
This does not seem to work, NOKIA phone always returns zero.
hResult | (see nsresult, hResult and nmpResult in NokSync) | |
nmpResult | (see nsresult, hResult and nmpResult in NokSync) |