]> 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 7e1ce25b6d4f6e3b73252b18f4fe5107b26055a9..41d02699bbd5598b61f2e6d13da03e35e1ce9be5 100644 (file)
@@ -28,9 +28,6 @@
 #ifndef CONTROLCONNECTIONS_H
 #define CONTROLCONNECTIONS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "ControlButtons.h"
 
@@ -46,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 {
@@ -66,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;
@@ -96,7 +91,6 @@ protected:
        ///
        LyXFunc const & lyxfunc() const;
 
-
        ///
        LyXView & lv_;
        /// Contains the signals we have to connect to.
@@ -114,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; }
@@ -131,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; }
@@ -144,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.