1
0
Fork 0
This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
uni-m.cds-adv-prog/ex4.1/Telephone.hh
2019-12-12 14:12:33 +01:00

25 lines
513 B
C++

#ifndef TELEPHONE_HH
#define TELEPHONE_HH
#include "Cable.hh"
#include "Housing.hh"
#include "Dialer.hh"
#include "Handset.hh"
class Telephone {
public:
Telephone() { std::cout << "Telephone Constructor " << this << std::endl ; }
Telephone(const Telephone&) { std::cout << "Telephone Copy Constructor " << this << std::endl ; }
~Telephone() { std::cout << "Telephone Destructor " << this << std::endl ; }
private:
Cable cable ;
Housing housing ;
Dialer dialer ;
Handset handset ;
} ;
#endif