MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / GetIconFromChannel

Function GetIconFromChannel

src/windows/QuickSwitcher.cpp:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20static HIMAGELIST g_qsIml;
21
22static int GetIconFromChannel(Channel* pChan)
23{
24 switch (pChan->m_channelType)
25 {
26 case Channel::DM: return ICN_DM;
27 case Channel::GROUPDM: return ICN_GROUPDM;
28 case Channel::VOICE: return ICN_VOICE;
29 default: return ICN_CHANNEL;
30 }
31}
32
33struct QuickSwitchItem
34{

Callers 1

OnUpdateQueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected