Exemple #1
0
ZRef<CGDataConsumerRef> ZStream_CGData::sConsumer(ZRef<ZStreamerW> iStreamer)
{
    if (iStreamer)
    {
        iStreamer->Retain();
        return sAdopt& ::CGDataConsumerCreate(iStreamer.Get(), &spCallbacks_W);
    }
    return null;
}
Exemple #2
0
ZRef<CGDataProviderRef> ZStream_CGData::sProvider(ZRef<ZStreamerR> iStreamer)
{
    if (iStreamer)
    {
        iStreamer->Retain();
        return sAdopt& ::CGDataProviderCreate(iStreamer.Get(), &spCallbacks_R);
    }
    return null;
}
Exemple #3
0
ZRef<CGDataProviderRef> ZStream_CGData::sProvider(ZRef<ZStreamerRPos> iStreamer)
{
    if (iStreamer)
    {
        iStreamer->Retain();
        return sAdopt& ::CGDataProviderCreateSequential(iStreamer.Get(), &spCallbacksSequential_RPos);
    }
    return null;
}