23.06.2014 - PICodeParser, PICodeInfo, PIConnection, new binary "pip_cmg"
This commit is contained in:
@@ -114,7 +114,7 @@ bool operator >(const PIDateTime & t0, const PIDateTime & t1) {
|
||||
}
|
||||
|
||||
|
||||
PITime currentTime() {
|
||||
PITime PITime::current() {
|
||||
time_t rt = time(0);
|
||||
tm * pt = localtime(&rt);
|
||||
PITime t;
|
||||
@@ -125,7 +125,7 @@ PITime currentTime() {
|
||||
}
|
||||
|
||||
|
||||
PIDate currentDate() {
|
||||
PIDate PIDate::current() {
|
||||
time_t rt = time(0);
|
||||
tm * pt = localtime(&rt);
|
||||
PIDate d;
|
||||
@@ -136,7 +136,7 @@ PIDate currentDate() {
|
||||
}
|
||||
|
||||
|
||||
PIDateTime currentDateTime() {
|
||||
PIDateTime PIDateTime::current() {
|
||||
time_t rt = time(0);
|
||||
tm * pt = localtime(&rt);
|
||||
PIDateTime dt;
|
||||
@@ -151,7 +151,7 @@ PIDateTime currentDateTime() {
|
||||
}
|
||||
|
||||
|
||||
PISystemTime currentSystemTime() {
|
||||
PISystemTime PISystemTime::current() {
|
||||
#ifdef WINDOWS
|
||||
FILETIME ft, sft;
|
||||
GetSystemTimeAsFileTime(&ft);
|
||||
|
||||
Reference in New Issue
Block a user