MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / AssignView

Method AssignView

Source/SoundGen.cpp:159–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void CSoundGen::AssignView(CFamiTrackerView *pView)
160{
161 // Called from main thread
162 ASSERT(GetCurrentThreadId() == FTEnv.GetMainApp()->m_nThreadID);
163
164 if (m_pTrackerView != NULL)
165 return;
166
167 // Assigns the tracker view to this object
168 m_pTrackerView = pView;
169}
170
171void CSoundGen::RemoveDocument()
172{

Callers 2

CFamiTrackerViewMethod · 0.45
OnInitialUpdateMethod · 0.45

Calls 1

GetMainAppMethod · 0.80

Tested by

no test coverage detected