Changeset 6177 for trunk/licq/include/licq_history.h
- Timestamp:
- 05/01/08 01:43:10 (7 months ago)
- Files:
-
- 1 modified
-
trunk/licq/include/licq_history.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_history.h
r4526 r6177 16 16 void SetFile(const char *, unsigned long); 17 17 void SetFile(const char *, const char *, unsigned long); 18 void Append(const char *);18 void Append(const char* buf) { Write(buf, true); } 19 19 bool Load(HistoryList &); 20 20 static void Clear(HistoryList &); 21 void Save(const char *);21 void Save(const char* buf) { Write(buf, false); } 22 22 const char *Description() { return m_szDescription; } 23 23 const char *FileName() { return m_szFileName; } 24 25 /** 26 * Write to the history file, creating it if necessary 27 * 28 * @param buf String with data to write 29 * @param append True to append data or false to overwrite file 30 */ 31 void Write(const char* buf, bool append); 32 24 33 protected: 25 34 char *m_szFileName;
