homesync/contentmanager/cmserver/cmstoremanager/inc/cmsmmsinfo.h
changeset 0 7f85d04be362
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homesync/contentmanager/cmserver/cmstoremanager/inc/cmsmmsinfo.h	Thu Dec 17 08:52:00 2009 +0200
@@ -0,0 +1,90 @@
+/*
+* 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:  media server info class
+*
+*/
+
+
+
+#ifndef __CMSMMSINFO_H
+#define __CMSMMSINFO_H
+
+#include <e32base.h>
+
+// CLASS DECLARATION
+ /**
+  *  Media server info class
+  *
+  *  @lib cmstoremanager.lib
+  *
+  *  @since S60 5.1
+  */    
+NONSHARABLE_CLASS( CCmSmMsInfo ): public CBase
+    {
+public:
+
+    /**
+     * Two-phased constructor.
+     * Creates new CCmSmMsInfo class
+     *
+     * @since S60 5.1
+     * @param aUuid, server's uuid
+     * @param aId, media server's id
+     * @return  pointer to CCmSmMsInfo class
+     */
+    static CCmSmMsInfo* NewL( TDesC8& aUuid, TInt aId );
+    
+    /**
+     * Two-phased constructor.
+     * Creates new CCmSmMsInfo class
+     *
+     * @since S60 5.1
+     * @param aUuid, server's uuid
+     * @param aId, media server's id
+     * @return  pointer to CCmSmMsInfo class
+     */
+    static CCmSmMsInfo* NewLC( TDesC8& aUuid, TInt aId );
+    
+    /**
+     * Destructor.
+     */
+    virtual ~CCmSmMsInfo();        
+
+private: 
+    
+    /**
+     * Performs the second phase construction.
+     */
+    void ConstructL( TDesC8& aUuid, TInt aId );
+    
+    /**
+     * Performs the first phase of two phase construction.
+     */
+    CCmSmMsInfo( );
+    
+public: 
+    
+    /**
+     * Server's uuid
+     */
+    HBufC8* iUuid;                              // owned
+    
+    /**
+     * Media server identifier
+     */
+    TInt iId;    
+    };      
+  
+#endif //  __CMSMMSINFO_H
+