X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdevices%2Fdevice.hpp;h=b4518fbee97091f1365c5589603f7ae6f251cf3f;hb=00f6bae935837b38b0d03a5928ba8175d460413f;hp=612d750940612e70e24e9eb27291590585f709d3;hpb=b48daed65bff5da5fddc6db11377b8730220865f;p=pulseview.git diff --git a/pv/devices/device.hpp b/pv/devices/device.hpp index 612d750..b4518fb 100644 --- a/pv/devices/device.hpp +++ b/pv/devices/device.hpp @@ -14,8 +14,7 @@ * 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 . */ #ifndef PULSEVIEW_PV_DEVICES_DEVICE_HPP @@ -39,7 +38,7 @@ namespace devices { class Device { protected: - Device(); + Device() = default; public: virtual ~Device(); @@ -64,7 +63,11 @@ public: virtual std::string display_name( const DeviceManager &device_manager) const = 0; - virtual void create() = 0; + virtual void open() = 0; + + virtual void close() = 0; + + virtual void start(); virtual void run();