aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lldb-mi/MICmnLogMediumFile.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-12-30 11:55:28 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-12-30 11:55:28 +0000
commite81d9d49145e432d917eea3a70d2ae74dcad1d89 (patch)
tree9ed5e1a91f242e2cb5911577356e487a55c01b78 /tools/lldb-mi/MICmnLogMediumFile.h
parent85d8ef8f1f0e0e063a8571944302be2d2026f823 (diff)
downloadsrc-e81d9d49145e432d917eea3a70d2ae74dcad1d89.tar.gz
src-e81d9d49145e432d917eea3a70d2ae74dcad1d89.zip
Vendor import of stripped lldb trunk r256633:
Notes
Notes: svn path=/vendor/lldb/dist/; revision=292932
Diffstat (limited to 'tools/lldb-mi/MICmnLogMediumFile.h')
-rw-r--r--tools/lldb-mi/MICmnLogMediumFile.h33
1 files changed, 15 insertions, 18 deletions
diff --git a/tools/lldb-mi/MICmnLogMediumFile.h b/tools/lldb-mi/MICmnLogMediumFile.h
index b79baf184880..249da71a42c0 100644
--- a/tools/lldb-mi/MICmnLogMediumFile.h
+++ b/tools/lldb-mi/MICmnLogMediumFile.h
@@ -23,49 +23,46 @@
// which the Logger when given data to write to registered medium comes
// *this medium.
// Singleton class.
-// Gotchas: None.
-// Authors: Illya Rudkin 30/01/2014.
-// Changes: None.
//--
class CMICmnLogMediumFile : public CMICmnBase, public CMICmnLog::IMedium
{
// Statics:
public:
- static CMICmnLogMediumFile &Instance(void);
+ static CMICmnLogMediumFile &Instance();
// Methods:
public:
bool SetHeaderTxt(const CMIUtilString &vText);
bool SetVerbosity(const MIuint veType);
- MIuint GetVerbosity(void) const;
- const CMIUtilString &GetFileName(void) const;
- const CMIUtilString &GetFileNamePath(void) const;
- bool IsOk(void) const;
- bool IsFileExist(void) const;
- const CMIUtilString &GetLineReturn(void) const;
+ MIuint GetVerbosity() const;
+ const CMIUtilString &GetFileName() const;
+ const CMIUtilString &GetFileNamePath() const;
+ bool IsOk() const;
+ bool IsFileExist() const;
+ const CMIUtilString &GetLineReturn() const;
bool SetDirectory(const CMIUtilString &vPath);
// Overridden:
public:
// From CMICmnBase
- /* dtor */ ~CMICmnLogMediumFile(void) override;
+ /* dtor */ ~CMICmnLogMediumFile() override;
// From CMICmnLog::IMedium
- bool Initialize(void) override;
- const CMIUtilString &GetName(void) const override;
+ bool Initialize() override;
+ const CMIUtilString &GetName() const override;
bool Write(const CMIUtilString &vData, const CMICmnLog::ELogVerbosity veType) override;
- const CMIUtilString &GetError(void) const override;
- bool Shutdown(void) override;
+ const CMIUtilString &GetError() const override;
+ bool Shutdown() override;
// Methods:
private:
- /* ctor */ CMICmnLogMediumFile(void);
+ /* ctor */ CMICmnLogMediumFile();
/* ctor */ CMICmnLogMediumFile(const CMICmnLogMediumFile &);
void operator=(const CMICmnLogMediumFile &);
bool FileWriteEnglish(const CMIUtilString &vData);
- bool FileFormFileNamePath(void);
+ bool FileFormFileNamePath();
CMIUtilString MassagedData(const CMIUtilString &vData, const CMICmnLog::ELogVerbosity veType);
- bool FileWriteHeader(void);
+ bool FileWriteHeader();
char ConvertLogVerbosityTypeToId(const CMICmnLog::ELogVerbosity veType) const;
CMIUtilString ConvertCr(const CMIUtilString &vData) const;