Subversion Repositories spk

Rev

Rev 8 | Rev 10 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8 Rev 9
Line 10... Line 10...
10
} SLog;
10
} SLog;
11
 
11
 
12
class SPKEXPORT CLog
12
class SPKEXPORT CLog
13
{
13
{
14
public:
14
public:
15
	typedef std::vector<SLog *> LogList;
15
	typedef Utils::CStringList LogList;
16
	typedef LogList::iterator   LogListItr;
-
 
17
 
16
 
18
protected:
17
protected:
19
	// private constructor
18
	// private constructor
20
	CLog(void);
19
	CLog(void);
21
	virtual ~CLog(void);
20
	virtual ~CLog(void);
Line 34... Line 33...
34
	void _logf(const char *sLogText, ...);
33
	void _logf(const char *sLogText, ...);
35
 
34
 
36
	virtual void displayLog(const Utils::String &sLogText) const;
35
	virtual void displayLog(const Utils::String &sLogText) const;
37
 
36
 
38
	void clear();
37
	void clear();
-
 
38
	const Utils::String &firstLog() const;
39
	SLog *firstLog();
39
	int count() const;
40
};
40
};
41
 
41
 
42
//TODO: move this
42
//TODO: move this
43
class SPKEXPORT CConsoleLog : public CLog 
43
class SPKEXPORT CConsoleLog : public CLog 
44
{
44
{