Table of Contents

PrintingPhotoUtility

Laboring under the hypothesis that the actual printing is handled by a Listener(), we investigate the PrintingPhotoUtility class.

It appears we are in luck:

    private boolean HavePrintingPhotoListener()
    {
        return m_PrintingPhotoListener != null;
    }

The StartPrint() method appears action-packed:


private void StartPrint(boolean flag) { if (HavePrintingPhotoListener()) { m_PrintingPhotoListener.StartSendingPhoto(m_iCurrentPrintCount, m_iPrintCount); } if (flag) { RecordPrint(); } m_iLastPrintCount = m_iCurrentPrintCount; m_PrepareSendPhoto = new PrepareSendPhoto(null); m_PrepareSendPhoto.execute(new Void[0]); }