X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Ffile.hpp;h=23234caa38244134a8f522e594560a2a69344f3a;hp=acaac84783726756fbaf102eb5d164e3daa38f95;hb=1325ce422f1b49ab1f693125105b8c373c2965e5;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/devices/file.hpp b/pv/devices/file.hpp index acaac847..23234caa 100644 --- a/pv/devices/file.hpp +++ b/pv/devices/file.hpp @@ -24,27 +24,29 @@ #include "device.hpp" +using std::string; + namespace pv { namespace devices { class File : public Device { protected: - File(const std::string &file_name); + File(const string &file_name); public: /** - * Builds the full name. It only contains all the fields. + * Builds the full name. It contains all the fields. */ - std::string full_name() const; + string full_name() const; /** * Builds the display name. It only contains fields as required. */ - std::string display_name(const DeviceManager&) const; + string display_name(const DeviceManager&) const; protected: - const std::string file_name_; + string file_name_; }; } // namespace devices