mpxplugins/viewplugins/views/upnpplaybackdialog/inc/mpxupnpplaybackdialoglayout.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpxplugins/viewplugins/views/upnpplaybackdialog/inc/mpxupnpplaybackdialoglayout.h Thu Dec 17 08:45:05 2009 +0200
@@ -0,0 +1,96 @@
+/*
+* Copyright (c) 2006 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: An interface providing skin and layout data for upnp playback dialog.
+*
+*/
+
+
+#ifndef C_CMPXUPNPPLAYBACKDIALOGLAYOUT_H
+#define C_CMPXUPNPPLAYBACKDIALOGLAYOUT_H
+
+// INCLUDES
+#include "mpxcommonplaybackviewlayout.h"
+
+// CLASS DECLARATION
+
+/**
+* An interface providing skin and layout data for playback view.
+*
+* @lib mpxupnpplaybackdialog.dll
+* @since S60 v3.0
+*/
+NONSHARABLE_CLASS( CMPXUPnPPlaybackDialogLayout ) : public CMPXCommonPlaybackViewLayout
+ {
+public:
+
+ /**
+ * Two-phased constructor.
+ *
+ * @since 3.0
+ * @return Pointer to newly created object.
+ */
+ static CMPXUPnPPlaybackDialogLayout* NewL();
+
+ /**
+ * Two-phased constructor.
+ *
+ * @since 3.0
+ * @return Pointer to newly created object.
+ */
+ static CMPXUPnPPlaybackDialogLayout* NewLC();
+
+ /**
+ * Destructor.
+ */
+ ~CMPXUPnPPlaybackDialogLayout();
+
+ /**
+ * Get layout data for an graphical indicator.
+ *
+ * @since 3.0
+ * @param aParentRect Parent control's rect
+ * @param aIndicator Enumeration value identifying the indicator
+ * @return Layout data
+ */
+ TRect IndicatorLayout(
+ const TRect& aParentRect,
+ TMPXPbvIndicator aIndicator );
+
+ /**
+ * Get the bitmap and mask for a given indicator.
+ *
+ * @since 3.0
+ * @param aIndicator Enumeration value identifying the indicator
+ * @return CGulIcon Indicator graphic and mask. Ownership
+ * transferred to caller.
+ */
+ CGulIcon* GetIndicatorIconMaskL(
+ TMPXPbvIndicator aIndicator );
+
+private:
+
+ /**
+ * C++ default constructor.
+ */
+ CMPXUPnPPlaybackDialogLayout();
+
+ /**
+ * By default Symbian 2nd phase constructor is private.
+ */
+ void ConstructL();
+ };
+
+#endif // C_CMPXUPNPPLAYBACKDIALOGLAYOUT_H
+
+// End of file