presencecache/presencecachesymbian/presencecacheserver2/inc/presencecacheevent.h
changeset 40 b46a585f6909
equal deleted inserted replaced
37:fd64c38c277d 40:b46a585f6909
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #ifndef PRESENCECACHEEVENT_H_
       
    18 #define PRESENCECACHEEVENT_H_
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 class CPresenceCacheEvent : public CBase
       
    24     {
       
    25     public:
       
    26                 
       
    27         static CPresenceCacheEvent* NewL( HBufC8* aMsg );
       
    28                 
       
    29         TPtrC8 Message();
       
    30                 
       
    31         virtual ~CPresenceCacheEvent();
       
    32         
       
    33         TBool NotifySent();
       
    34         
       
    35         void SetNotifySent();
       
    36         
       
    37     private:
       
    38         
       
    39         CPresenceCacheEvent( );
       
    40                 
       
    41         void ConstructL( HBufC8* aMsg );
       
    42 
       
    43         
       
    44     private:  // Data
       
    45         
       
    46         HBufC8*                             iMessage;
       
    47         TBool                               iNotifySent;
       
    48     };
       
    49 
       
    50 #endif // PRESENCECACHEEVENT_H_