Hi,
Currently the type of argument 'sync reports' is 'aa{ss}'. And in C++, we use 
'std::vector<std::map<std::string, std::string> >' to represent this dbus type. 
I wonder whether there are some reasons to use 'string' as type of key and 
value in map.

To get report, three enum values are provided to retrieve: ItemLocation, 
ItemState and ItemResult. And the retrieved result is also an integer.
So I think it is natural to use map with integer key and value.
The key is a 32 bit integer, here is how it is represented:
 Bits 31 - 24  Bits 23 - 16  Bits 15 - 8   Bits 7 - 0 
 Reserved  ItemLocation ItemState  ItemResult
Any comments are welcome.

Cheers,
Yongsheng



_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to