Salome HOME
Fix Windows compilation problem mbs/35158_auto_rotate 4/head
authorasozinov <alexey.sozinov@opencascade.com>
Mon, 10 Jul 2023 16:41:16 +0000 (17:41 +0100)
committermbs <martin.bernhard@opencascade.com>
Tue, 24 Oct 2023 13:07:20 +0000 (14:07 +0100)
src/SUIT/SUIT_AutoRotate.cxx
src/SUIT/SUIT_AutoRotate.h

index 2957c247b93cd373a9652a0131438560653760e0..65ad585ac91a13e48757f9eaac206587f0539304 100644 (file)
@@ -107,15 +107,3 @@ void SUIT_AutoRotate::addToLog(const QPoint& thePos, qint64 theTime)
   if (myLog.myHistorySize < myLog.mySize)
     myLog.myHistorySize++;
 }
-
-
-bool SUIT_AutoRotate::startAnimation()
-{
-  // override this method in derived classes
-}
-
-
-bool SUIT_AutoRotate::stopAnimation()
-{
-  // override this method in derived classes
-}
index d92eb28948bf62350ca7ed9c76086bd103a04245..64c7fa0b7ea58e9e9fdd92f0ffce4f15a98f6c65 100644 (file)
@@ -42,8 +42,8 @@ public:
 
   virtual void  initialize();
 
-  virtual bool  startAnimation();
-  virtual bool  stopAnimation();
+  virtual bool  startAnimation() = 0;
+  virtual bool  stopAnimation() = 0;
 
 public slots:
   virtual void  onStartRotate(int theMouseX, int theMouseY, qint64 theTime);