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