X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=datasnapshot.h;h=3bf12f9d70120e1a5c8a12f8ccd886615fadce63;hb=8f94be14588c7a7ca0f483b649d7a7b5b5f45ae9;hp=315e3561562932e39e2ceedec6d53bfb68525065;hpb=28a4c9c5eb20296199fc3496bb40b7733dffac75;p=pulseview.git diff --git a/datasnapshot.h b/datasnapshot.h index 315e356..3bf12f9 100644 --- a/datasnapshot.h +++ b/datasnapshot.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the PulseView project. * * Copyright (C) 2012 Joel Holdsworth * @@ -25,10 +25,17 @@ extern "C" { class DataSnapshot { public: - DataSnapshot(); + DataSnapshot(int unit_size); + + virtual ~DataSnapshot(); uint64_t get_sample_count(); protected: + void append_data(void *data, uint64_t samples); + +protected: + void *_data; uint64_t _sample_count; + int _unit_size; };