X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Ffile.hpp;h=d8e9ae9a01eb2b6879ddae931a9da2c04d39d788;hp=acaac84783726756fbaf102eb5d164e3daa38f95;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=00f6bae935837b38b0d03a5928ba8175d460413f;ds=sidebyside diff --git a/pv/devices/file.hpp b/pv/devices/file.hpp index acaac84..d8e9ae9 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