VocalEasel/Sources/VLDebugFlags.cpp
Matthias Neeracher a8a0d07295 Added VLDebugFlags
2007-08-18 16:12:51 +00:00

23 lines
354 B
C++

//
// File: VLDebugFlags.cpp - Runtime debugging flags
//
// Author(s):
//
// (MN) Matthias Neeracher
//
// Copyright © 2007 Matthias Neeracher
//
#include "VLDebugFlags.h"
#include <stdlib.h>
uint32_t VLDebugFlags::sFlags = 0;
void VLDebugFlags::Update()
{
const char * dbg = getenv("VOCALEASEL_DEBUG");
if (dbg)
sFlags = atoi(dbg);
}