How to deal with forward declaration / #import in Cocoa Touch (Objective-C cross C++) correctly?
- by unknownthreat
I am trying to write this header file:
//@class AQPlayer;
//#import "AQPlayer.h"
@interface AQ_PWN_iPhoneViewController : UIViewController {
AQPlayer* player;
}
@end
AQPlayer is a .mm file written in C++.
I tried to make a class forward declaration here, but it complains to me:
error: cannot find interface declaration for 'AQPlayer'
…