MCPcopy Create free account
hub / github.com/bumptop/BumpTop / SetConditionalFlag

Method SetConditionalFlag

trunk/win/Source/BT_WindowsOS.cpp:4433–4449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4431}
4432
4433void WindowsSystem::SetConditionalFlag(int flag, bool value)
4434{
4435 if (value)
4436 {
4437 // Turn this flag on
4438 if (!(GetConditionalFlag(flag)))
4439 {
4440 conditionalFlags |= flag;
4441 }
4442 }else{
4443 // Turn flag off
4444 if (GetConditionalFlag(flag))
4445 {
4446 conditionalFlags &= ~flag;
4447 }
4448 }
4449}
4450
4451long GetFileSize(QString file)
4452{

Callers 5

TopLevelFilterFunction · 0.80
Key_MakePileFunction · 0.80
promptDialogMethod · 0.80
doCrossMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected