wlanutilities/wlansniffer/mainapplication/src/wsfapplication.cpp
branchRCL_3
changeset 25 f28ada11abbf
parent 0 56b72877c1cb
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  Implementation of CWsfApplication.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "wsfdocument.h"
       
    20 #include "wsfapplication.h"
       
    21 
       
    22 // UID for the application, this should correspond 
       
    23 // to the uid defined in the mmp file
       
    24 static const TUid KUidSnifferApp = {0x10281CAA};
       
    25 
       
    26 // ---------------------------------------------------------
       
    27 // CWsfApplication::CreateDocumentL()
       
    28 // ---------------------------------------------------------
       
    29 //
       
    30 CApaDocument* CWsfApplication::CreateDocumentL()
       
    31     {  
       
    32     // Create an Sniffer document, and return a pointer to it
       
    33     CApaDocument* document = CWsfDocument::NewL( *this );
       
    34     return document;
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------
       
    38 // CWsfApplication::AppDllUid()
       
    39 // ---------------------------------------------------------
       
    40 //
       
    41 TUid CWsfApplication::AppDllUid() const
       
    42     {
       
    43     // Return the UID for the Sniffer application
       
    44     return KUidSnifferApp;
       
    45     }
       
    46