1 |
// Zoe AIM Away Message RSS Feed Generator |
2 |
// |
3 |
// Seth King and Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _AwayMessage_hpp_ |
8 |
#define _AwayMessage_hpp_ |
9 |
|
10 |
#include "Stamp.hpp" |
11 |
|
12 |
class AwayMessage |
13 |
{ |
14 |
private: |
15 |
ext::String message; |
16 |
Stamp stamp; |
17 |
public: |
18 |
AwayMessage(const ext::String& message, const Stamp& stamp) : |
19 |
message(message), stamp(stamp) {} |
20 |
AwayMessage(const Buddy& buddy, net::Oscar::InfoTool& info) : |
21 |
message(info.GetAwayMessage(buddy)) {} |
22 |
const Stamp& getStamp() const { return stamp; } |
23 |
operator const ext::String&() const; // %n, %d, etc. |
24 |
}; |
25 |
|
26 |
#endif // _AwayMessage_hpp_ |