]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlConnections.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlConnections.h
index 41561418963d707fccb69ff457048b36e317cd69..41d02699bbd5598b61f2e6d13da03e35e1ce9be5 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C++ -*-
 /**
  * \file ControlConnections.h
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Angus Leeming
  *
@@ -27,9 +28,6 @@
 #ifndef CONTROLCONNECTIONS_H
 #define CONTROLCONNECTIONS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "ControlButtons.h"
 
@@ -45,8 +43,7 @@ class LyXFunc;
     kernel. It is meant to be used solely as the parent class to
     ControlConnectBI and ControlConnectBD.
 */
-class ControlConnectBase : public ControlButtons
-{
+class ControlConnectBase : public ControlButtons {
 public:
        ///
        enum DocTypes {
@@ -65,7 +62,6 @@ public:
        bool bufferIsReadonly() const;
        ///
        DocTypes docType() const;
-
 protected:
        /// True if the dialog depends on the buffer, else false.
        virtual bool isBufferDependent() const = 0;
@@ -94,7 +90,6 @@ protected:
        LyXFunc & lyxfunc();
        ///
        LyXFunc const & lyxfunc() const;
-       
 
        ///
        LyXView & lv_;
@@ -113,12 +108,10 @@ protected:
     an update() function which is also supported by the Restore button.
  */
 
-class ControlConnectBI : public ControlConnectBase
-{
+class ControlConnectBI : public ControlConnectBase {
 public:
        ///
        ControlConnectBI(LyXView &, Dialogs &);
-
 protected:
        ///
        virtual bool isBufferDependent() const { return false; }
@@ -130,12 +123,10 @@ protected:
 /** Base class to control connection/disconnection of signals with the LyX
     kernel for Buffer Dependent dialogs.
  */
-class ControlConnectBD : public ControlConnectBase
-{
+class ControlConnectBD : public ControlConnectBase {
 public:
        ///
        ControlConnectBD(LyXView &, Dialogs &);
-
 protected:
        ///
        virtual bool isBufferDependent() const { return true; }
@@ -143,7 +134,6 @@ protected:
        virtual void connect();
        /// Disconnect signals
        virtual void disconnect();
-
 private:
        /** Slot connected to update signal.
            Bool indicates if a buffer switch took place.