further import process progress

This commit is contained in:
itsmattkc
2019-06-25 10:08:46 -07:00
parent 2e349323f0
commit dcf779e83f
4 changed files with 57 additions and 13 deletions
+10
View File
@@ -35,6 +35,16 @@ void Footage::set_filename(const QString &s)
filename_ = s;
}
const QDateTime &Footage::timestamp()
{
return timestamp_;
}
void Footage::set_timestamp(const QDateTime &t)
{
timestamp_ = t;
}
Item::Type Footage::type() const
{
return kFootage;
+8 -2
View File
@@ -22,12 +22,13 @@
#ifndef FOOTAGE_H
#define FOOTAGE_H
#include <QList>
#include <QDateTime>
#include "project/item/item.h"
#include "project/item/footage/audiostream.h"
#include "project/item/footage/videostream.h"
#include <QList>
class Footage : public Item
{
public:
@@ -36,6 +37,9 @@ public:
const QString& filename();
void set_filename(const QString& s);
const QDateTime& timestamp();
void set_timestamp(const QDateTime& t);
void add_audio_stream(const AudioStream& as);
void add_video_stream(const VideoStream& vs);
@@ -47,6 +51,8 @@ public:
private:
QString filename_;
QDateTime timestamp_;
QList<VideoStream> video_streams_;
QList<AudioStream> audio_streams_;
};