Files
universal-system-monitor/libsys/sys.cpp

26 lines
355 B
C++

#include "sys.h"
System::System() {
this->m_Sys = new Sys();
if (CPU_Instance = NULL) {
CPU_Instance = new CPU();
}
if (Memory_Instance == NULL) {
Memory_Instance = new Memory();
}
}
Sys System::getSystemSpec() {
Sys temp;
memcpy(&temp, m_Sys, sizeof(Sys));
return temp;
}
System::~System() {
}