Include missing type prototype

The class header files are missing the get_type function prototype. They
are required by the type checking routines. If missing they will cause a
failure when used. Add the missing prototypes.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>