/[resiprocate]/main/resip/dum/DestroyUsage.hxx
ViewVC logotype

Annotation of /main/resip/dum/DestroyUsage.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3621 - (hide annotations) (download)
Wed Nov 24 05:13:46 2004 UTC (15 years, 2 months ago) by jason
Original Path: branches/b-teltel-20041118-invitesession/DestroyUsage.hxx
File size: 763 byte(s)
use events to shutdown Dialog and DialogSet instead of RefCountedDestroyer

1 jason 3616 #if !defined(RESIP_DESTORYUSAGE_HXX)
2     #define RESIP_DESTORYUSAGE_HXX
3    
4     #include <iosfwd>
5     #include "resiprocate/ApplicationMessage.hxx"
6 jason 3619 #include "resiprocate/dum/Handles.hxx"
7 jason 3616
8     namespace resip
9     {
10    
11 jason 3621 class Dialog;
12     class DialogSet;
13    
14 jason 3616 class DestroyUsage : public ApplicationMessage
15     {
16     public:
17     DestroyUsage(BaseUsageHandle target);
18 jason 3621 DestroyUsage(Dialog* dialog);
19     DestroyUsage(DialogSet* dialogSet);
20    
21 jason 3616 ~DestroyUsage();
22    
23     Message* clone() const;
24     void destroy();
25    
26     virtual Data brief() const;
27     virtual std::ostream& encode(std::ostream& strm) const;
28    
29     private:
30 jason 3621 DestroyUsage(const DestroyUsage& other);
31    
32 jason 3616 BaseUsageHandle mHandle;
33 jason 3621 DialogSet* mDialogSet;
34     Dialog* mDialog;
35 jason 3616 };
36    
37     }
38    
39     #endif

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27