X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Ffile.hpp;h=d8e9ae9a01eb2b6879ddae931a9da2c04d39d788;hp=acaac84783726756fbaf102eb5d164e3daa38f95;hb=9a0e130580f37277d94fd2637ee17bb9c181e110;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/devices/file.hpp b/pv/devices/file.hpp index acaac847..d8e9ae9a 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. */ - 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_; + const string file_name_; }; } // namespace devices