ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/AwayMessage.hpp
Revision: 34
Committed: 2004-07-20T16:49:06-07:00 (20 years, 11 months ago) by douglas
File size: 679 byte(s)
Log Message:
Yeah, that's right.

File Contents

# Content
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 Buddy& buddy, net::Oscar::InfoTool& info) : message(info.GetAwayMessage(buddy)) {}
19 AwayMessage(const ext::String& message, const Stamp& stamp) : message(message), stamp(stamp) {}
20 const Stamp& getStamp() const { return stamp; }
21 operator const ext::String&() const;
22 };
23
24 inline std::ostream& operator<<(std::ostream& sout, const AwayMessage& message)
25 {
26 return sout << ext::String(message);
27 }
28
29 #endif // _AwayMessage_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id