]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlDocument.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / controllers / ControlDocument.h
index 796a7d644f5289cdbf6f69e18711d3f14de74011..6b2e3ac592e0550ed24fe8029a1b366f2192d7e3 100644 (file)
@@ -6,19 +6,16 @@
  *
  * \author Edwin Leuven
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef CONTROLDOCUMENT_H
 #define CONTROLDOCUMENT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include <boost/scoped_ptr.hpp>
 #include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
 #include "bufferparams.h"
 
 #include <vector>
@@ -32,9 +29,8 @@ class ControlDocument : public ControlDialogBD {
 public:
        ///
        ControlDocument(LyXView &, Dialogs &);
+       ///
        ~ControlDocument();
-       /// show latex preamble
-       void showPreamble();
        ///
        void setLanguage();
        ///
@@ -43,9 +39,10 @@ public:
        BufferParams & params();
        ///
        void saveAsDefault();
-        ///
-        bool classApply();
-   
+       ///
+       void classApply();
+       ///
+       bool loadTextclass(lyx::textclass_type tc) const;
 private:
        /// apply settings
        void apply();
@@ -56,5 +53,3 @@ private:
 };
 
 #endif // CONTROLDOCUMENT_H
-
-