projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified header guards to match file names
[pulseview.git]
/
pv
/
storesession.hpp
diff --git
a/pv/storesession.hpp
b/pv/storesession.hpp
index 9094ca12eb154ffb5f51ea5efb593c6fabd452c9..946fac4172aab29a270aa37dd276c2b4f88a6507 100644
(file)
--- a/
pv/storesession.hpp
+++ b/
pv/storesession.hpp
@@
-18,12
+18,14
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_STORESESSION_H
-#define PULSEVIEW_PV_STORESESSION_H
+#ifndef PULSEVIEW_PV_STORESESSION_H
PP
+#define PULSEVIEW_PV_STORESESSION_H
PP
#include <stdint.h>
#include <atomic>
#include <stdint.h>
#include <atomic>
+#include <fstream>
+#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <mutex>
#include <string>
#include <thread>
@@
-32,6
+34,7
@@
namespace sigrok {
class Output;
namespace sigrok {
class Output;
+class OutputFormat;
}
namespace pv {
}
namespace pv {
@@
-51,6
+54,7
@@
private:
public:
StoreSession(const std::string &file_name,
public:
StoreSession(const std::string &file_name,
+ const std::shared_ptr<sigrok::OutputFormat> &output_format,
const Session &session);
~StoreSession();
const Session &session);
~StoreSession();
@@
-73,9
+77,11
@@
Q_SIGNALS:
private:
const std::string file_name_;
private:
const std::string file_name_;
+ const std::shared_ptr<sigrok::OutputFormat> output_format_;
const Session &session_;
std::shared_ptr<sigrok::Output> output_;
const Session &session_;
std::shared_ptr<sigrok::Output> output_;
+ std::ofstream output_stream_;
std::thread thread_;
std::thread thread_;
@@
-89,4
+95,4
@@
private:
} // pv
} // pv
-#endif // PULSEVIEW_PV_STORESESSION_H
+#endif // PULSEVIEW_PV_STORESESSION_H
PP