34 lines
459 B
C++
34 lines
459 B
C++
#pragma once
|
|
|
|
#ifndef BASETIME_H
|
|
#define BASETIME_H
|
|
|
|
#include "common/Defines.h"
|
|
|
|
#if OMNETPP
|
|
#include <omnetpp.h>
|
|
#else
|
|
#include <QTime>
|
|
#endif
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
#if OMNETPP
|
|
/**
|
|
* @brief The base time within moversight
|
|
*/
|
|
typedef simtime_t BaseTime;
|
|
#else
|
|
/**
|
|
* @brief The base time within moversight
|
|
*/
|
|
typedef QTime BaseTime;
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endif // BASETIME_H
|