[vlmc-devel] commit: Inlining ClipWorkflow::getClip (Hugo Beauzee-Luyssen )
git at videolan.org
git at videolan.org
Sat Mar 20 17:15:38 CET 2010
vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Sat Mar 20 17:15:03 2010 +0100| [8db6dda9a3d8361ece0f0b342dd928057df64957] | committer: Hugo Beauzee-Luyssen
Inlining ClipWorkflow::getClip
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=8db6dda9a3d8361ece0f0b342dd928057df64957
---
src/Workflow/ClipWorkflow.cpp | 5 -----
src/Workflow/ClipWorkflow.h | 6 +++++-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/Workflow/ClipWorkflow.cpp b/src/Workflow/ClipWorkflow.cpp
index 54979d3..ef4e2ff 100644
--- a/src/Workflow/ClipWorkflow.cpp
+++ b/src/Workflow/ClipWorkflow.cpp
@@ -119,11 +119,6 @@ void ClipWorkflow::clipEndReached()
setState( EndReached );
}
-Clip* ClipWorkflow::getClip()
-{
- return m_clip;
-}
-
void ClipWorkflow::stop()
{
if ( m_mediaPlayer )
diff --git a/src/Workflow/ClipWorkflow.h b/src/Workflow/ClipWorkflow.h
index 9c9b831..c2dd17d 100644
--- a/src/Workflow/ClipWorkflow.h
+++ b/src/Workflow/ClipWorkflow.h
@@ -132,7 +132,11 @@ class ClipWorkflow : public QObject
uppon, so that you can query information on it.
\return A pointer to a constant clip instance.
*/
- Clip* getClip();
+ inline Clip* getClip()
+ {
+ return m_clip;
+ }
+
/**
\brief Stop this workflow.
*/
More information about the Vlmc-devel
mailing list