including libraries from external files

I have a file Controller.cpp and Controller.h and would like to call the #include <LiquidCrystal.h> library from here rather then the main pde.

With this code i get the error “LiquidCrystal.h: No such file or directory”

I know that i could copy the libs to my working directory, but i want to make this code non-version specific like that. How do i include the extra Arduino libs from a file other then the pde?

Thanks for any help
james

How do i include the extra Arduino libs from a file other then the pde?

One of the design decisions made by the Arduino team makes the answer to that question rather simple. You can't.

Include files in the pde/ino file define what is to be compiled. So, you must include the LiquidCrystal include file in the sketch, too.