/****
*** * File: DateTime.hpp
* *** Creation: 2015-01-17 15:14
*** * Ne02ptzero <louis@ne02ptzero.me>
* *** lsolofri@e2r12p21.42.fr
****/

#ifndef __BASE__
# define __BASE__

# include "main.hpp"
# include "IMonitorModule.hpp"

class	DateTime : public IMonitorModule {

	public:
		DateTime(void);
		DateTime(DateTime const & src);
		~DateTime(void);

		DateTime &	operator=(DateTime const & rhs);

		void					refresh(void);
		std::vector<std::string>	getAttr(void);
		void					setWindow(WINDOW *win);
		WINDOW*					getWindow(void);

	private:
		WINDOW	*_win;
		std::string	_qt;

		void	_refreshNCurses(void);
		void	_refreshQT(void);
};

#endif
