CPP01/ex06/inc/Harl.hpp
2025-04-02 12:30:39 +02:00

32 lines
1.2 KiB
C++

/* ************************************************************************** */
/* */
/* :::::::: */
/* Harl.hpp :+: :+: */
/* +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2025/03/23 15:06:27 by whaffman #+# #+# */
/* Updated: 2025/04/02 12:20:49 by whaffman ######## odam.nl */
/* */
/* ************************************************************************** */
#include <iostream>
class Harl
{
private:
static std::string levels[4];
static void (Harl::*levelFunc[4])();
void info();
void debug();
void warning();
void error();
public:
Harl();
~Harl();
void complain(std::string level);
std::string getLevel(int i);
};