presencecache/presencecacheqt/inc/prcpresencecachebuddyinfoprivate_qt.h
changeset 40 b46a585f6909
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/presencecache/presencecacheqt/inc/prcpresencecachebuddyinfoprivate_qt.h	Fri Jun 11 13:29:23 2010 +0300
@@ -0,0 +1,69 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  
+*
+*/
+
+
+#ifndef C_PRESENCE_CACHE_BUDDYINFO_PRIVATE_QT_H
+#define C_PRESENCE_CACHE_BUDDYINFO_PRIVATE_QT_H
+
+// INCLUDES
+#include <QString>
+#include <QList>
+#include <prcpresencebuddyinfo_qt.h>
+class CPresenceCacheBuddyInfo;
+class MPresenceBuddyInfo2;
+
+
+// CLASS DECLARATION
+
+class PresenceCacheBuddyInfoQtPrivate
+    {
+        
+public:
+
+    PresenceCacheBuddyInfoQtPrivate(MPresenceBuddyInfo2* symbianBuddyInfo);
+    ~PresenceCacheBuddyInfoQtPrivate() ;
+public:
+       MPresenceBuddyInfo2* getSymbianBuddyInstance();
+public:    
+        
+        void setIdentity( const QString& buddyId ) ;        
+        QString BuddyId( ) const ;        
+        void setAvailability(PrcPresenceBuddyInfoQt::AvailabilityValues availability, const QString& availabilityText ) ;
+        PrcPresenceBuddyInfoQt::AvailabilityValues Availability( ) ;         
+        QString availabilityText( ) ;                   
+        void setAvatar( const QString& avatar ) ;
+        QString avatar( ) ;                     
+        void setStatusMessage( 
+        const QString& statusMessage ) ; 
+        QString statusMessage( ) ;     
+        void setAnyField(const QString& key,const QString& value ) ;
+        QString getAnyField( const QString& aKey ) ; 
+        void getFieldKeys(QList<QString>& qtKeyList ) ;
+        void removeField(const QString& aKey ) ;      
+        bool EqualsIdentity( const PrcPresenceBuddyInfoQt& aOtherInstance ) const ;
+        
+        
+
+private :
+        /*
+         * MPresenceBuddyInfo2 Symbian instance 
+         * own
+         */
+        MPresenceBuddyInfo2* iSymbianInstance;
+    };
+
+#endif // C_PRESENCE_CACHE_BUDDYINFO_PRIVATE_QT_H