X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Ffile.hpp;h=d8e9ae9a01eb2b6879ddae931a9da2c04d39d788;hp=8a8c8706b253b8e47de25975d157cc4303365f79;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=474e817a724fdad4db635ba59202283fbcc22ef9 diff --git a/pv/devices/file.hpp b/pv/devices/file.hpp index 8a8c870..d8e9ae9 100644 --- a/pv/devices/file.hpp +++ b/pv/devices/file.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_FILE_HPP @@ -25,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