-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIMonitorDisplay.class.cpp
51 lines (40 loc) · 1.49 KB
/
IMonitorDisplay.class.cpp
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
// ************************************************************************** //
// //
// ::: :::::::: //
// IMonitorDisplay.class.cpp :+: :+: :+: //
// +:+ +:+ +:+ //
// By: oposhiva <marvin@42.fr> +#+ +:+ +#+ //
// +#+#+#+#+#+ +#+ //
// Created: 2017/11/12 13:04:51 by oposhiva #+# #+# //
// Updated: 2017/11/12 13:04:52 by oposhiva ### ########.fr //
// //
// ************************************************************************** //
#include "IMonitorDisplay.class.hpp"
#include <ncurses.h>
IMonitorDisplay::IMonitorDisplay() {}
IMonitorDisplay::IMonitorDisplay( IMonitorDisplay const &rhs ) {
*this = rhs;
}
IMonitorDisplay & IMonitorDisplay::operator=( IMonitorDisplay const &rhs ) {
( void )rhs;
return ( *this );
}
IMonitorDisplay::~IMonitorDisplay() {}
Host & IMonitorDisplay::get_h() {
return _h;
}
Date & IMonitorDisplay::get_d() {
return _d;
}
System & IMonitorDisplay::get_s() {
return _s;
}
RAM & IMonitorDisplay::get_r() {
return _r;
}
Network & IMonitorDisplay::get_n() {
return _n;
}
CPU & IMonitorDisplay::get_c() {
return _c;
}