I think it's better to use the BRIDGE Model to rewrite the low level classes, such as CCImage, CCEGLView

I don’t know if anyone had mentioned about this feature before.
With current architecture, it’s hard to add any new feature to CCImage, because the code for each platform are not implement separately, at least not enough. The CCImage class could not contain any platform dependent code, but if we use BRIDGE Model, the problem will be solved.

So you think the design of CCApllication is a better way?

Minggo Zhang wrote:

So you think the design of CCApllication is a better way?

Ye,but a little different with the design of CCApplication

Like these code:

// CCApplication.h
class CCApplication
{
public:
  CCApplication();
private:
  CCApplicationImp* _imp;
};

// CCApplicationWin32.h
class CCApplicationWin32:
  public CCApplicationImp
{
};

// CCApplication.cpp
CCApplication::CCApplication()
{
  _imp = new CCApplicationWin32();
}