NS_IMETHODIMP SmsRequestParent::NotifySegmentInfoForTextGot(int32_t aSegments, int32_t aCharsPerSegment, int32_t aCharsAvailableInLastSegment) { return SendReply(ReplyGetSegmentInfoForText(aSegments, aCharsPerSegment, aCharsAvailableInLastSegment)); }
NS_IMETHODIMP SmsRequestParent::NotifySegmentInfoForTextGot(nsIDOMMozSmsSegmentInfo *aInfo) { SmsSegmentInfo* info = static_cast<SmsSegmentInfo*>(aInfo); return SendReply(ReplyGetSegmentInfoForText(info->GetData())); }