blob: 9190772d3d1a8ec08188d5bdcc7958a08f14604f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
/*****************************************************************
|
| Neptune - System :: Null/Stub Implementation
|
| (c) 2001-2016 Gilles Boccon-Gibod
| Author: Gilles Boccon-Gibod (bok@bok.net)
|
****************************************************************/
/*----------------------------------------------------------------------
| includes
+---------------------------------------------------------------------*/
#include "NptConfig.h"
#include "NptSystem.h"
/*----------------------------------------------------------------------
| NPT_System::GetProcessId
+---------------------------------------------------------------------*/
NPT_Result
NPT_System::GetProcessId(NPT_UInt32& id)
{
id = 0;
return NPT_SUCCESS;
}
/*----------------------------------------------------------------------
| NPT_System::GetCurrentTimeStamp
+---------------------------------------------------------------------*/
NPT_Result
NPT_System::GetCurrentTimeStamp(NPT_TimeStamp& now)
{
now.SetNanos(0);
return NPT_SUCCESS;
}
/*----------------------------------------------------------------------
| NPT_System::Sleep
+---------------------------------------------------------------------*/
NPT_Result
NPT_System::Sleep(const NPT_TimeInterval& /* duration */)
{
return NPT_SUCCESS;
}
/*----------------------------------------------------------------------
| NPT_System::SleepUntil
+---------------------------------------------------------------------*/
NPT_Result
NPT_System::SleepUntil(const NPT_TimeStamp& /* when */)
{
return NPT_SUCCESS;
}
/*----------------------------------------------------------------------
| NPT_System::SetRandomSeed
+---------------------------------------------------------------------*/
NPT_Result
NPT_System::SetRandomSeed(unsigned int /* seed */)
{
return NPT_SUCCESS;
}
/*----------------------------------------------------------------------
| NPT_System::GetRandomInteger
+---------------------------------------------------------------------*/
NPT_UInt32
NPT_System::GetRandomInteger()
{
return 0;
}
|