projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Confirm with user when trying to close sessions with unsaved data
[pulseview.git]
/
pv
/
devices
/
sessionfile.hpp
diff --git
a/pv/devices/sessionfile.hpp
b/pv/devices/sessionfile.hpp
index 0a546f0cc598be88747ebfe57cf0aec5138d3597..42078ec13d6192616d27af88106be3dcc264c69e 100644
(file)
--- a/
pv/devices/sessionfile.hpp
+++ b/
pv/devices/sessionfile.hpp
@@
-14,8
+14,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_DEVICES_SESSIONFILE_HPP
*/
#ifndef PULSEVIEW_PV_DEVICES_SESSIONFILE_HPP
@@
-38,7
+37,9
@@
public:
SessionFile(const std::shared_ptr<sigrok::Context> context,
const std::string &file_name);
SessionFile(const std::shared_ptr<sigrok::Context> context,
const std::string &file_name);
- void create();
+ void open();
+
+ void close();
private:
const std::shared_ptr<sigrok::Context> context_;
private:
const std::shared_ptr<sigrok::Context> context_;