#endif
#include "lyxlayout.h"
+#include "LString.h"
+#include "lyxlayout_ptr_fwd.h"
#include "support/types.h"
-#include "LString.h"
-
#include <vector>
class LyXLex;
-
-
///
class LyXTextClass {
public:
///
- typedef std::vector<LyXLayout> LayoutList;
+ typedef std::vector<LyXLayout_ptr> LayoutList;
///
typedef LayoutList::const_iterator const_iterator;
///
bool hasLayout(string const & name) const;
///
- LyXLayout const & operator[](string const & vname) const;
+ LyXLayout_ptr const & operator[](string const & vname) const;
/// Sees to that the textclass structure has been loaded
bool load() const;
///
string const defaultLayoutName() const;
///
- LyXLayout const & defaultLayout() const;
+ LyXLayout_ptr const & defaultLayout() const;
///
string const & name() const;
///