4#include "shared/interface/signal.h"
18 inline bool operator==(
const FileData &in)
const;
22 uint32 operator()(
const FileData &in)
const {
return std::hash<string>()(in.
name_) + qHash(in.
time_); }
26 shared::Signal<const string &> lineAdded;
27 shared::Signal<int64, const string &> inputLineModified;
28 shared::Signal<int64> inputLineRemoved;
29 shared::Signal<const IInputRecord::FileData &> fileAdded;
30 shared::Signal<int64> dataReset;
31 shared::Signal<bool> undoAvailable;
33 shared::Signal<bool,double> playbackActiveChanged;
37 using FileDataSet = std::unordered_set<FileData, FileDataHash>;
57 virtual bool canSmartUndo(uint64 marksToUndo)
const=0;
64 virtual void addFile(
const string &fullPath,
const string &role)=0;
68 bool IInputRecord::FileData::operator==(
const FileData &in)
const {
69 if (
name_!=in.name_)
return false;
70 if (
time_!=in.time_)
return false;
71 if (
size_!=in.size_)
return false;
72 if (
role_!=in.role_)
return false;
73 if (
order_!=in.order_)
return false;
All default base headers if Qt is being used.
Definition basestring.h:89
debug checked shorthand for std::numeric_limits<T>::
Definition limit.h:25
namespace Itasca
Definition basememory.cpp:14