inc/mpcommondefs.h
author hgs
Fri, 09 Jul 2010 16:27:03 -0500
changeset 43 0f32e550d9d8
parent 35 fdb31ab341af
child 47 4cc1412daed0
permissions -rw-r--r--
201027

/*
* 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,
        ActivatePreviousView
    };

    /*!
     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