inc/mpcommondefs.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 12:49:57 +0300
changeset 29 8192e5b5c935
parent 22 ecf06a08d4d9
child 43 0f32e550d9d8
child 48 af3740e3753f
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2009 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:  Common definitios.
*
*/



#ifndef MPCOMMONDEFS_H
#define MPCOMMONDEFS_H

namespace MpCommon
{
    // UID definition
    const long int KMusicPlayerUid      = {0x10207C62};
    const long int KCollectionViewUid   = {0x10207C63};
    const long int KPlaybackViewUid     = {0x10207C64};
    const long int KSettingsViewUid     = {0x10207C66};
    const long int KDetailsViewUid      = {0x2002D0AA};
    const long int KMediaWallViewUid    = {0x10207C94};

    /*!
     Command code sent from the views to the application main window
     through command signal.
     */
    enum MpCommandCode {
        Exit,
        SendToBackground,
        ActivateCollectionView,
        ActivatePlaybackView,
        ActivateSettingsView,
        ActivateDetailsView
    };

    /*!
     View's mode.
     DefaultView - Default mode; normal Music Player operation.
     FetchView - Music fetcher mode; launched through QtHighway interface.
     */
    enum MpViewMode {
        DefaultView,
        FetchView,
        EmbeddedView
    };
    
    /*!
    Thumbnail type, used in collection model.
    */
    enum MpThumbType{
        ListThumb,
        TBoneThumb,
        MediaWallThumb,
    };
}

#endif	// MPCOMMONDEFS_H