Remove dependency from CPlaybackView to CPlaybackController.
[profile/tv/apps/native/musicplayer.git] / src / views / playback-view.cpp
index 077fd2b..218651b 100644 (file)
  * limitations under the License.
  */
 
+#include <AppCommon.h>
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
-#include <AppCommon.h>
-
 #include "Timer.h"
 #include "song_info.h"
 #include "album_info.h"
 #include "music-controller.h"
 #include "volume-control.h"
-#include "i18n.h"
 #include "common-ui.h"
 #include "playback-view.h"
 #include "context-view.h"
@@ -402,7 +401,7 @@ void CPlaybackView::m_UpdateCurrentSongInfo(void)
        m_UpdateCurrentSongItem(index);
        m_UpdateCurrentSongLabels();
        m_UpdateCurrentSongThumbnail();
-       m->pPlaybackController->Update();
+       m->pController->UpdatePlayerUI();
        m_UpdatePlaymodeFocusSequence();
 }
 
@@ -1348,4 +1347,4 @@ void CPlaybackView::OnEditButtonsPressed(EPlayerEditBtns editBtns)
                ASSERT(!"Invalid Edit Button");
                break;
        }
-}
\ No newline at end of file
+}