Mixing Objective-C and C++ classes; How?

2009-08-06 Thread Michael A. Crawford
Should the following work (assuming it is included in an Objective-C file with a .mm extension)? @interface CDBPMDetectOperation : NSOperation CDAudioTrackDelegate { class BPMDetect* bpmDetector; // C++ class as an objective-c class member } -Michael smime.p7s Description: S/MIME

Re: Mixing Objective-C and C++ classes; How?

2009-08-06 Thread Shawn Erickson
On Thu, Aug 6, 2009 at 1:51 PM, Michael A. Crawfordmichaelacrawf...@mac.com wrote: Should the following work (assuming it is included in an Objective-C file with a .mm extension)? @interface CDBPMDetectOperation : NSOperation CDAudioTrackDelegate {    class BPMDetect* bpmDetector; // C++

Re: Mixing Objective-C and C++ classes; How?

2009-08-06 Thread Michael A. Crawford
Problem solved. As it turns out the problem was that the class is declared in a C++ namespace. I did not properly scope the class nor was I using a 'using namespace' statement. -Michael -- The united stand. The divided get played. -- Bernie MAC On Aug 6, 2009, at