title: Error C2011: 'XX' : 'class' type redefinition
body: <p>I have this compiler error (C2011) with this piece of code. I don't know what is wrong with it.</p>
  
  <p>The namespace (Ogre) doesn't have a definition for <code>PlaneMovement</code>. I also tried a different name and still the same errors.</p>
  
  <pre><code>#include &lt;Ogre.h&gt;
  
  using namespace Ogre;
  
  class PlaneMovement
  {
  public:
      PlaneMovement(Degree startingAngle, Real velocity = 2, Real gravity = 2);
      Vector2 updateMovement(const FrameEvent&amp; evt);
  private:
      Degree currentAngle;
      Real currentVelocityX;
      Real currentVelocityY;
      Real gravity;
      bool top;
  };
  </code></pre>