S60 3rd Edition API Reference: sipnotifydialogassoc.h Source File

sipnotifydialogassoc.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : sipnotifydialogassoc.h
00004 *  Part of     : SIP Client
00005 *  Interface   : SDK API, SIP Client API
00006 *  Description : 
00007 *  Version     : 1.0
00008 *
00009 *  Copyright (c) 2005 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation. All rights are reserved. Copying, 
00013 *  including reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia Corporation. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 
00022 #ifndef CSIPNOTIFYDIALOGASSOC_H
00023 #define CSIPNOTIFYDIALOGASSOC_H
00024 
00025 // INCLUDES
00026 #include <e32base.h>
00027 #include "sipdialogassocbase.h"
00028 
00029 // CONSTANTS
00030 
00031 // FORWARD DECLARATIONS
00032 class CSIPEventHeader;
00033 class CSIPSubscriptionStateHeader;
00034 
00035 // CLASS DECLARATION
00036 
00050 class CSIPNotifyDialogAssoc: public CSIPDialogAssocBase
00051         {
00052         public: // Constructors and destructor
00053 
00073                 IMPORT_C static CSIPNotifyDialogAssoc*
00074                         NewL(CSIPServerTransaction& aTransaction,
00075                              CSIPEventHeader* aEvent,
00076                                  CSIPSubscriptionStateHeader* aState);
00077 
00097                 IMPORT_C static CSIPNotifyDialogAssoc*
00098                         NewLC(CSIPServerTransaction& aTransaction,
00099                               CSIPEventHeader* aEvent,
00100                                   CSIPSubscriptionStateHeader* aState);
00101 
00105                 IMPORT_C ~CSIPNotifyDialogAssoc();
00106                                                           
00107         public: // New functions
00108 
00123                 IMPORT_C CSIPClientTransaction*
00124             SendNotifyL(CSIPMessageElements* aElements=0);
00125 
00130                 IMPORT_C const CSIPEventHeader& Event() const;
00131 
00136                 IMPORT_C CSIPSubscriptionStateHeader& SubscriptionState();
00137                 
00142                 IMPORT_C const CSIPSubscriptionStateHeader& SubscriptionState() const;
00143 
00144         public: // New functions, for internal use
00145 
00146                 CSIPClientTransaction*
00147                         DoSendNotifyWithinDialogL(CSIPMessageElements* aElements);
00148 
00149         private: // Constructors
00150 
00151                 CSIPNotifyDialogAssoc();
00152 
00153         private: // Data
00154 
00155                 CSIPEventHeader* iEvent;
00156                 CSIPSubscriptionStateHeader* iSubscriptionState;
00157         };
00158 
00159 #endif

Copyright © Nokia Corporation 2001-2007
Back to top