aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks/14 doxygen/include/spede.h
blob: 380708a1411f3914db4bae17bbf19a8c6d42bcae (plain)
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
#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.
    };
}