* 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 <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_DEVICES_FILE_HPP
#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