Using a library in another library (Webduino)

PaulS:
Why does WebPages.h include WebPages.h?

So I'm not sure if I should be reincluding libraries in .h and .ccp.

Ah yeah my bad, fixed that up!

Except for the above, you are doing fine.

Awesome : )

And why &defaultCmd in webserver.setDefaultCommand(&defaultCmd); is the wrong parameter type.

Because defaultCmd is the address of a function. While there are strong similarities between methods (class functions) and functions, they are not identical. The webserver instance has no idea which instance of the class the function you want to call belongs to.

You need to make the defaultCmd method in the class static, so that there is only one instance of the method, so that it then behaves exactly like a function.

Okay, cool that better explains it for me, i'll have to try it out again and see if I can make more sense of it : )!