further import process progress
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user