diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-06 12:41:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-06 12:41:24 +0100 |
commit | c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608 (patch) | |
tree | 237a9d3f821d01932111e9fa59af5d3e44b988c8 /lib/Utils/DebugDump.h | |
parent | 03bbbf8eff11cf68a7e2325ca310e02bf3757193 (diff) | |
download | abrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.tar.gz abrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.tar.xz abrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.zip |
mass replace of const string& params by const char*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/DebugDump.h')
-rw-r--r-- | lib/Utils/DebugDump.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h index 189b42d0..b48a386d 100644 --- a/lib/Utils/DebugDump.h +++ b/lib/Utils/DebugDump.h @@ -51,7 +51,6 @@ class CDebugDump bool m_bLocked; void SaveKernelArchitectureRelease(); - void SaveTime(); void Lock(); void UnLock(); @@ -60,18 +59,17 @@ class CDebugDump CDebugDump(); ~CDebugDump() { Close(); } - void Open(const std::string& pDir); - void Create(const std::string& pDir, int64_t uid); + void Open(const char *pDir); + void Create(const char *pDir, int64_t uid); void Delete(); void Close(); bool Exist(const char* pFileName); void LoadText(const char* pName, std::string& pData); - void LoadBinary(const char* pName, char** pData, unsigned int* pSize); - void SaveText(const char* pName, const std::string& pData); - void SaveBinary(const char* pName, const char* pData, const unsigned int pSize); + void SaveText(const char* pName, const char *pData); + void SaveBinary(const char* pName, const char* pData, unsigned pSize); void InitGetNextFile(); bool GetNextFile(std::string& pFileName, std::string& pContent, bool& pIsTextFile); |