@@ -64,20 +64,20 @@ ItemInfo::ItemInfo(libpff_item_t* item, int index, ItemStatusType statusType, It
64
64
65
65
this ->__item = item;
66
66
this ->__index = index ;
67
- this ->__identifier = 0 ;
67
+ this ->__id = 0 ;
68
68
this ->__statusType = statusType;
69
69
this ->__attachedInfo = attachedInfo;
70
70
71
71
if (this ->__statusType != Recovered && this ->__statusType != Orphan && this ->__statusType != AttachmentItem)
72
- if (libpff_item_get_identifier (this ->__item , &(this ->__identifier ), &pff_error) != 1 )
72
+ if (libpff_item_get_identifier (this ->__item , &(this ->__id ), &pff_error) != 1 )
73
73
check_error (pff_error);
74
74
}
75
75
76
76
ItemInfo::ItemInfo (ItemInfo* itemInfo)
77
77
{
78
78
this ->__item = NULL ;
79
79
this ->__index = itemInfo->index ();
80
- this ->__identifier = itemInfo->identifier ();
80
+ this ->__id = itemInfo->identifier ();
81
81
this ->__statusType = itemInfo->statusType ();
82
82
if (itemInfo->attachedInfo () != NULL )
83
83
this ->__attachedInfo = new ItemInfo (itemInfo->attachedInfo ());
@@ -135,7 +135,7 @@ Item* ItemInfo::item(libpff_file_t* const pff_file)
135
135
}
136
136
else
137
137
{
138
- if (libpff_file_get_item_by_identifier (pff_file, this ->__identifier , &pff_item, &pff_error) == 1 )
138
+ if (libpff_file_get_item_by_identifier (pff_file, this ->__id , &pff_item, &pff_error) == 1 )
139
139
return (new Item (pff_item));
140
140
else
141
141
check_error (pff_error);
@@ -156,7 +156,7 @@ ItemInfo::ItemStatusType ItemInfo::statusType(void)
156
156
157
157
uint32_t ItemInfo::identifier (void )
158
158
{
159
- return (this ->__identifier );
159
+ return (this ->__id );
160
160
}
161
161
162
162
uint8_t ItemInfo::type (void )
0 commit comments