Inheriting the Console Class

Hi all --

I'm trying to inherit the Yun's Console class in a library that I'm writing.


#include <Bridge.h>
#include <Console.h>
#include "Arduino.h"

class Messenger : public Console {
        using Console::print;

When I compile this, I get the following errors:

YunMessenger.h:8: error: expected class-name before '{' token
YunMessenger.h:11: error: 'Console' is not a class or namespace

Is it possible to inherit the Console object?

Thanks a bunch!

The name is 'ConsoleClass', not 'Console'.

kind regards,