17 lines
333 B
C++
17 lines
333 B
C++
#include "Database.h"
|
|
using namespace db;
|
|
|
|
/***** Track *****/
|
|
|
|
char Track::macro() const {
|
|
switch (direction) {
|
|
case 'h':
|
|
return 'Y';
|
|
case 'v':
|
|
return 'X';
|
|
default:
|
|
printlog(LOG_ERROR, "track direction not recognized: %c", direction);
|
|
return '\0';
|
|
}
|
|
}
|