X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=trace_file.hpp;h=4b1b70ddad6f6bd886ac7aa51c28f5604b281faf;hb=c5b741c83e804f1e438caca83565a76e254d0b94;hp=7214d7826db29d183c9695208e6e1981cd525b2a;hpb=7b1d0135921b9f5e795798e9a020c59a58301e8c;p=apitrace diff --git a/trace_file.hpp b/trace_file.hpp index 7214d78..4b1b70d 100644 --- a/trace_file.hpp +++ b/trace_file.hpp @@ -59,8 +59,6 @@ public: bool isOpened() const; File::Mode mode() const; - std::string filename() const; - bool open(const std::string &filename, File::Mode mode); bool write(const void *buffer, size_t length); bool read(void *buffer, size_t length); @@ -84,7 +82,6 @@ protected: virtual int rawPercentRead() = 0; protected: - std::string m_filename; File::Mode m_mode; bool m_isOpened; }; @@ -99,11 +96,6 @@ inline File::Mode File::mode() const return m_mode; } -inline std::string File::filename() const -{ - return m_filename; -} - inline bool File::open(const std::string &filename, File::Mode mode) { if (m_isOpened) {