bluetoothengine/bthid/mouse/PaintCursor/src/paintcursorapp.cpp
changeset 0 f63038272f30
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     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:
       
    15 *
       
    16 */
       
    17 // ----------------------------------------------------------------------
       
    18 //
       
    19 // Project: Bluetooth HID Profile
       
    20 //
       
    21 // "PaintCursorApp.cpp" - BT Hid PaintCursor Application Source File
       
    22 //
       
    23 //
       
    24 // ----------------------------------------------------------------------
       
    25 
       
    26 #include    "paintcursorapp.h"
       
    27 #include    "paintcursordocument.h"
       
    28 
       
    29 TUid CPaintCursorApp::AppDllUid() const
       
    30     {
       
    31     return KUidPaintCursor;
       
    32     }
       
    33 
       
    34 CApaDocument* CPaintCursorApp::CreateDocumentL()
       
    35     {
       
    36     return CPaintCursorDocument::NewL(*this);
       
    37     }
       
    38 
       
    39 #include <eikstart.h>
       
    40 
       
    41 EXPORT_C CApaApplication* NewApplication()
       
    42     {
       
    43     return new CPaintCursorApp;
       
    44     }
       
    45 
       
    46 GLDEF_C TInt E32Main()
       
    47     {
       
    48     return EikStart::RunApplication(NewApplication);
       
    49     }
       
    50