expected class-name before ‘{’ token C++
<p>I have a trouble with my c++ code. I know there is much advices with error "expected class-name before ‘{’ token" but I still can't find where I have it. Here is my sources:</p>

<pre><code>Postava.h

#include &lt;exception&gt;
#include &lt;string&gt;
using namespace std;

#ifndef __Postava_h__
#define __Postava_h__

#include "Barva.h"
#include "Pozice.h"
//#include "Budova.h"
//#include "HerniEngine.h"
#include "GrafickyObjekt.h"

class Budova;
class HerniEngine;
//class GrafickyObjekt;
class Postava;
struct Barva;
struct Pozice;

class Postava:public GrafickyObjekt{            //&lt;----- Here is the error
private:
    std::string m_jmeno;
    int m_nosnost;
public:
    Postava(std::string jmeno, int nosnost);
    Budova* m_Budova;
    HerniEngine* m_HerniEngine;
    std::string vratJmeno();
    int vratNosnost();
    void vykresli();
};

#endif
</code></pre>

<p>GrafickyObjekt.h</p>

<pre><code>#ifndef __GrafickyObjekt_h__
#define __GrafickyObjekt_h__

#include "HerniEngine.h"
#include "Pozice.h"
#include "Posun.h"

class HerniEngine;
class GrafickyObjekt;
class Scena;
struct Pozice;
struct Posun;
class HerniEngine;

class GrafickyObjekt {
protected:
    Pozice  m_pozice;
public:
    HerniEngine* m_HerniEngine;
    // kazdy potomek, tj. graf. obj. ma pozici
    GrafickyObjekt(Pozice pozice);
    // vsichni potomci ji musi implementovat
    virtual void vykresli() = 0;
    // tyto metody nejsou (ciste) virtualni, budou normalne zdedeny
    // tim mam zaruceno, ze vsichni potomci je maji
    void pohni(Posun posun);
    void pohni(Pozice pozice);
};

#endif
</code></pre>

<p>Sorry for my english and for names of classes and names of variables, it's in czech.</p>

<p>Thanks a lot for every advice.</p>
