root/libde265-1.0.3/sherlock265/VideoPlayer.hh

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


/*
 * libde265 example application "sherlock265".
 * Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
 *
 * This file is part of sherlock265, an example application using libde265.
 *
 * sherlock265 is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * sherlock265 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with sherlock265.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef VIDEOPLAYER_HH
#define VIDEOPLAYER_HH

#include <QtGui>

#include "VideoWidget.hh"
#include "VideoDecoder.hh"


class VideoPlayer : public QWidget
{
  Q_OBJECT

public:
  VideoPlayer(const char* filename);

private:
  VideoWidget* videoWidget;
  QPushButton *startButton;
  QPushButton *stopButton;

  VideoDecoder* mDecoder;
};

#endif

/* [<][>][^][v][top][bottom][index][help] */