 import UIKit
 import ReactiveCocoa
 import MusicFeeder
+import MCSwipeTableViewCell
 
 protocol TimelineTableViewCellDelegate: class {
     func trackSelected(sender: TimelineTableViewCell, index: Int, track: Track, playlist: Playlist)

    @IBOutlet weak var trackNumLabel:       UILabel!
    @IBOutlet weak var thumbListContainer:  UIScrollView!

    weak var delegate: TimelineTableViewCellDelegate?

    var indicator:   OnpuIndicatorView!
    var playerState: PlayerState!


    func thumbImageTapped(sender: UITapGestureRecognizer) {
        if let playlist = self.playlist {
            if let d = timelineDelegate {
                if let view = sender.view as? UIImageView {
                    if let i = imageViews.indexOf(view) {
                        d.trackSelected(self, index: i, track: playlist.getTracks()[i], playlist: playlist)
                    }
                }
            }
