app/src/mpmediakeyhandler.cpp
changeset 20 82baf59ce8dd
parent 19 4e84c994a771
child 22 ecf06a08d4d9
equal deleted inserted replaced
19:4e84c994a771 20:82baf59ce8dd
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Music Player media key handler.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "mpmediakeyhandler.h"
       
    19 #include "mpmediakeyhandler_p.h"
       
    20 #include "mptrace.h"
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // MpMediaKeyHandler()
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 MpMediaKeyHandler::MpMediaKeyHandler( QObject *parent )
       
    27     : QObject(parent)
       
    28 {
       
    29     TX_ENTRY
       
    30     d_ptr = new MpMediaKeyHandlerPrivate(this);
       
    31     d_ptr->init();
       
    32     TX_EXIT
       
    33 }
       
    34 
       
    35 // ---------------------------------------------------------------------------
       
    36 // ~MpMediaKeyHandler()
       
    37 // ---------------------------------------------------------------------------
       
    38 //
       
    39 MpMediaKeyHandler::~MpMediaKeyHandler()
       
    40 {
       
    41     TX_ENTRY
       
    42     delete d_ptr;
       
    43     TX_EXIT
       
    44 }
       
    45