title: Error: expected specifier-qualifier-list before 'QTVisualContextRef'
body: <p>I am currently getting this error message in my header code, and I'm not sure as to why: </p>
  
  <p>"Error: expected specifier-qualifier-list before 'QTVisualContextRef'"</p>
  
  <pre><code>#import &lt;Cocoa/Cocoa.h&gt;
  #import &lt;QTKit/QTKit.h&gt;
  #import &lt;OpenGL/OpenGL.h&gt;
  #import &lt;QuartzCore/QuartzCore.h&gt;
  #import &lt;CoreVideo/CoreVideo.h&gt;
  
  
  @interface MyRecorderController : NSObject {
      IBOutlet QTCaptureView *mCaptureView;
  
      IBOutlet NSPopUpButton *videoDevicePopUp;
      NSMutableDictionary *namesToDevicesDictionary;
      NSString *defaultDeviceMenuTitle;
  
      CVImageBufferRef mCurrentImageBuffer;
      QTCaptureDecompressedVideoOutput       *mCaptureDecompressedVideoOutput;
  
      QTVisualContextRef  qtVisualContext;    // the context the movie is playing in
  
      // filters for CI rendering
      CIFilter            *colorCorrectionFilter; // hue saturation brightness control through one CI filter
      CIFilter            *effectFilter;          // zoom blur filter
      CIFilter            *compositeFilter;       // composites the timecode over the video
      CIContext           *ciContext;
  
      QTCaptureSession *mCaptureSession;
      QTCaptureMovieFileOutput *mCaptureMovieFileOutput;
      QTCaptureDeviceInput *mCaptureDeviceInput;
  
  }
  
  @end
  </code></pre>
  
  <p>In the examples I have seen through other code (e.g. <a href="http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/CoreVideo/CVProg_Tasks/CVProg_Tasks.html" rel="nofollow">Cocoa Video Tutorial</a>) I have not seen any difference in their code to mine. If anyone would be able to point out as to how this error could have occurred that would be great.
  Thanks heaps! :)</p>