The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
607 B
36 lines
607 B
5 years ago
|
#pragma once
|
||
|
#include<comedian.h>
|
||
|
#include<stdexcept>
|
||
|
|
||
|
/**
|
||
|
* \file spede.h
|
||
|
*
|
||
|
* Spede definition.
|
||
|
*/
|
||
|
|
||
|
namespace Comedy {
|
||
|
|
||
|
/**
|
||
|
* Spede is the funniest person in the world.
|
||
|
*/
|
||
|
class Spede : public Comedian {
|
||
|
public:
|
||
|
/**
|
||
|
* Creates a new spede.
|
||
|
*/
|
||
|
Spede();
|
||
|
|
||
|
/**
|
||
|
* Make him do the funny thing he is known for.
|
||
|
*/
|
||
|
void slap_forehead();
|
||
|
|
||
|
virtual void tell_joke() {
|
||
|
throw std::runtime_error("Not implemented");
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
int num_movies; ///< How many movies has he done.
|
||
|
};
|
||
|
}
|