void Cache_GetText(ClcData *dat, ClcContact *contact, BOOL forceRenew) { Cache_GetFirstLineText(dat, contact); if (!dat->force_in_dialog) { ClcCacheEntry *pdnce = pcli->pfnGetCacheEntry(contact->hContact); if ((dat->second_line_show && (forceRenew || pdnce->szSecondLineText == NULL)) || (dat->third_line_show && (forceRenew || pdnce->szThirdLineText == NULL))) gtaAddRequest(dat, contact->hContact); } }
void Cache_GetText(struct ClcData *dat, struct ClcContact *contact, BOOL forceRenew) { Cache_GetFirstLineText(dat, contact); if (!dat->force_in_dialog)// && !dat->isStarting) { PDNCE pdnce=(PDNCE)pcli->pfnGetCacheEntry(contact->hContact); if ( (dat->second_line_show&&(forceRenew||pdnce->szSecondLineText==NULL)) ||(dat->third_line_show&&(forceRenew||pdnce->szThirdLineText==NULL)) ) { gtaAddRequest(dat,contact, contact->hContact); } } }
void gtaRenewText(MCONTACT hContact) { gtaAddRequest(NULL, hContact); }
void gtaRenewText(HANDLE hContact) { gtaAddRequest(NULL,NULL, hContact); }