MCPcopy Create free account
hub / github.com/ImpulseAdventure/JPEGsnoop / CDecodePs

Method CDecodePs

DecodePs.cpp:35–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33struct tsBimEnum asBimEnums[];
34
35CDecodePs::CDecodePs(CwindowBuf* pWBuf,CDocLog* pLog)
36{
37 // Save copies of class pointers
38 m_pWBuf = pWBuf;
39 m_pLog = pLog;
40
41 // HACK
42 // Only select a single layer to decode into the DIB
43 // FIXME: Need to allow user control over this setting
44 m_bDisplayLayer = false;
45 m_nDisplayLayerInd = 0;
46 m_bDisplayImage = true;
47
48 // Ideally this would be passed by constructor, but simply access
49 // directly for now.
50 CJPEGsnoopApp* pApp;
51 pApp = (CJPEGsnoopApp*)AfxGetApp();
52 m_pAppConfig = pApp->m_pAppConfig;
53
54 Reset();
55}
56
57void CDecodePs::Reset()
58{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected