[vlmc-devel] MainWorkflow: Remove unused methods

Hugo Beauzée-Luyssen git at videolan.org
Sun Oct 30 22:36:44 CET 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Oct 30 21:14:09 2016 +0100| [0cdd538238aad9902f1cfcc17581fad59baab89b] | committer: Hugo Beauzée-Luyssen

MainWorkflow: Remove unused methods

> https://code.videolan.org/videolan/vlmc/commit/0cdd538238aad9902f1cfcc17581fad59baab89b
---

 src/Workflow/MainWorkflow.cpp | 13 -------------
 src/Workflow/MainWorkflow.h   | 16 ----------------
 2 files changed, 29 deletions(-)

diff --git a/src/Workflow/MainWorkflow.cpp b/src/Workflow/MainWorkflow.cpp
index 58c0a37..8868b36 100644
--- a/src/Workflow/MainWorkflow.cpp
+++ b/src/Workflow/MainWorkflow.cpp
@@ -109,12 +109,6 @@ MainWorkflow::unmuteClip( const QUuid& uuid, unsigned int trackId )
     // TODO
 }
 
-std::shared_ptr<Clip>
-MainWorkflow::clip( const QUuid &uuid, unsigned int trackId )
-{
-    // TODO
-}
-
 void
 MainWorkflow::trigger( Commands::Generic* command )
 {
@@ -193,13 +187,6 @@ MainWorkflow::getTrackCount() const
     return m_trackCount;
 }
 
-bool
-MainWorkflow::contains( const QUuid &uuid ) const
-{
-    auto clip = m_sequenceWorkflow->clip( uuid );
-    return !clip == false;
-}
-
 quint32
 MainWorkflow::trackCount() const
 {
diff --git a/src/Workflow/MainWorkflow.h b/src/Workflow/MainWorkflow.h
index 0ae9075..161fad1 100644
--- a/src/Workflow/MainWorkflow.h
+++ b/src/Workflow/MainWorkflow.h
@@ -115,14 +115,6 @@ class   MainWorkflow : public QObject
         int                     getTrackCount() const;
 
         /**
-         *  \return     true if the current workflow contains the clip which the uuid was
-         *              passed. Falsed otherwise.
-         *
-         *  \param      uuid    The Clip uuid, not the Clip's.
-         */
-        bool                    contains( const QUuid& uuid ) const;
-
-        /**
          * \brief   Return the number of track for each track type.
          */
         quint32                 trackCount() const;
@@ -173,14 +165,6 @@ class   MainWorkflow : public QObject
 
     private:
 
-        /**
-         *  \param      uuid : The clip's uuid.
-         *  \param      trackId : the track id
-         *  \param      trackType : the track type (audio or video)
-         *  \returns    The clip that matches the given UUID, or nullptr.
-         */
-        std::shared_ptr<Clip>                   clip( const QUuid& uuid, unsigned int trackId );
-
         void                    trigger( Commands::Generic* command );
 
         void                    preSave();



More information about the Vlmc-devel mailing list