projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added pv::dialogs::InputOutputOptions
[pulseview.git]
/
pv
/
session.hpp
diff --git
a/pv/session.hpp
b/pv/session.hpp
index ba07fdcf648ddacd86ec660086eb457482c394a7..0f904d0d1cf300cf406b75d4751b46a5b3ed67a5 100644
(file)
--- a/
pv/session.hpp
+++ b/
pv/session.hpp
@@
-18,8
+18,8
@@
* 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_SIGSESSION_H
-#define PULSEVIEW_PV_SIGSESSION_H
+#ifndef PULSEVIEW_PV_SIGSESSION_H
PP
+#define PULSEVIEW_PV_SIGSESSION_H
PP
#include <map>
#include <memory>
#include <map>
#include <memory>
@@
-38,13
+38,13
@@
struct srd_decoder;
struct srd_channel;
namespace sigrok {
struct srd_channel;
namespace sigrok {
-
class Analog;
-
class Channel;
-
class Device;
-
class Logic;
-
class Meta;
-
class Packet;
-
class Session;
+class Analog;
+class Channel;
+class Device;
+class Logic;
+class Meta;
+class Packet;
+class Session;
}
namespace pv {
}
namespace pv {
@@
-94,7
+94,11
@@
public:
*/
void set_device(std::shared_ptr<sigrok::Device> device);
*/
void set_device(std::shared_ptr<sigrok::Device> device);
- void set_file(const std::string &name);
+ /**
+ * Sets a sigrok session file as the capture device.
+ * @param name the path to the file.
+ */
+ void set_session_file(const std::string &name);
void set_default_device();
void set_default_device();
@@
-188,4
+192,4
@@
Q_SIGNALS:
} // namespace pv
} // namespace pv
-#endif // PULSEVIEW_PV_SIGSESSION_H
+#endif // PULSEVIEW_PV_SIGSESSION_H
PP