projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
views: Increase precision on analog views
[pulseview.git]
/
pv
/
devices
/
file.hpp
diff --git
a/pv/devices/file.hpp
b/pv/devices/file.hpp
index 8a8c8706b253b8e47de25975d157cc4303365f79..23234caa38244134a8f522e594560a2a69344f3a 100644
(file)
--- 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
* 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
*/
#ifndef PULSEVIEW_PV_DEVICES_FILE_HPP
@@
-25,27
+24,29
@@
#include "device.hpp"
#include "device.hpp"
+using std::string;
+
namespace pv {
namespace devices {
class File : public Device
{
protected:
namespace pv {
namespace devices {
class File : public Device
{
protected:
- File(const st
d::st
ring &file_name);
+ File(const string &file_name);
public:
/**
public:
/**
- * Builds the full name. It
only
contains all the fields.
+ * Builds the full name. It contains all the fields.
*/
*/
- st
d::st
ring full_name() const;
+ string full_name() const;
/**
* Builds the display name. It only contains fields as required.
*/
/**
* Builds the display name. It only contains fields as required.
*/
- st
d::st
ring display_name(const DeviceManager&) const;
+ string display_name(const DeviceManager&) const;
protected:
protected:
-
const std::
string file_name_;
+ string file_name_;
};
} // namespace devices
};
} // namespace devices