This is called a forward ad. This means that there is a class called CFoo, which will be defined later in the file (or another included). This is usually used for pointers in classes, for example:
class CFoo; class CBar { public: CFoo* object; };
This is a hint for the C ++ compiler saying that it does not worry that the type name is used without a definition, although it has not yet found a complete definition for CFoo.
source share