Make a class with GLCD libary

Hi:
I'm trying to make a class called CDisplay that show the text into ks0108 display so i have this class
CDisplay.h

#ifndef CDisplay_h
#define CDisplay_h
#include <WProgram.h>
#include <GLCD.h>
class CDisplay{
   public:
     CDisplay();
     ~CDisplay();
   private:
     GLCD _glcd;
};
#endif

and CDisplay.cpp

#include <WProgram.h>
#include <GLCD.h>
#include "CDisplay.h"
CDisplay::CDisplay(){
  
}

CDisplay::~CDisplay(){  
}

but i got an error like "GLCD does not name a type"
so what am i doing wrong please

GLCD _glcd;

Use 'glcd' instead, the library declares GLCD as this: extern glcd GLCD; so its a variable not a type.

You haven't said what library are you using.
I can't tell based on the header you are including
as I'm not familiar with a ks0108 library uses a header named
GLCD.h

--- bill