ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/AwayMessage.hpp
(Generate patch)

Comparing trunk/AwayMessage.hpp (file contents):
Revision 13 by douglas, 2004-07-11T23:49:09-07:00 vs.
Revision 30 by douglas, 2004-07-19T21:24:52-07:00

# Line 7 | Line 7
7   #ifndef _AwayMessage_hpp_
8   #define _AwayMessage_hpp_
9  
10 < #include "Zoe.hpp"
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) : message(message) {}
19 <        operator const ext::String&() const; // %n, %d, etc.
18 >        AwayMessage(const Buddy& buddy, net::Oscar::InfoTool& info) :
19 >                message(info.GetAwayMessage(buddy)) {}
20 >        AwayMessage(const ext::String& message, const Stamp& stamp) :
21 >                message(message), stamp(stamp) {}
22 >        const Stamp& getStamp() const { return stamp; }
23 >        operator const ext::String&() const;
24   };
25  
26   #endif // _AwayMessage_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines