-/* This file is part of
- * ======================================================
+/**
+ * \file lyxtextclasslist.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * LyX, The Document Processor
+ * \author Lars Gullik Bjønnes
+ * \author John Levon
*
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * ======================================================
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "lyxtextclass.h"
#include "debug.h"
#include "lyxlex.h"
-#include "gettext.h"
-#include "frontends/Alert.h"
#include "support/lyxfunctional.h"
-#include "support/LAssert.h"
#include "support/filetools.h"
-#include <utility>
+using lyx::textclass_type;
+
+using lyx::support::LibFileSearch;
+using lyx::support::MakeDisplayPath;
#ifndef CXX_GLOBAL_CSTD
using std::exit;
#endif
-using lyx::textclass_type;
-using std::pair;
-using std::make_pair;
using std::endl;
using std::find_if;
+using std::make_pair;
using std::sort;
+using std::string;
+using std::pair;
// Gets textclass number from name
// Global variable: textclass table.
LyXTextClassList textclasslist;
+
// Reads the style files
void LyXSetStyle()
{
- lyxerr[Debug::TCLASS] << "LyXSetStyle: parsing configuration...\n";
+ lyxerr[Debug::TCLASS] << "LyXSetStyle: parsing configuration..." << endl;
if (!textclasslist.Read()) {
lyxerr[Debug::TCLASS] << "LyXSetStyle: an error occured "