basiclocationinfodisplay/blid/engine/inc/cblidmoduleinfoobserver.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2007 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:  Blid engine object.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CBLIDMODULEINFOOBSERVER_H
       
    21 #define CBLIDMODULEINFOOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class RPositionServer;
       
    28 class MBlidLocation;   
       
    29 
       
    30 /**
       
    31 * An active object that handles the note dialog execution
       
    32 */
       
    33 
       
    34 NONSHARABLE_CLASS( CBlidModuleinfoObserver ) : public CActive
       
    35     {
       
    36     public:  // Constructors and destructor
       
    37         /**
       
    38          * Two-phased constructor.
       
    39          */
       
    40         static CBlidModuleinfoObserver* NewL( RPositionServer& 	aServer,
       
    41 								 			  MBlidLocation&	aObserver );
       
    42 
       
    43         /**
       
    44          * Destructor.
       
    45          */
       
    46         virtual ~CBlidModuleinfoObserver();
       
    47         
       
    48     private:
       
    49         /**
       
    50          * C++ default constructor.
       
    51          */
       
    52         CBlidModuleinfoObserver( RPositionServer& 	aServer,
       
    53 								 MBlidLocation&	aObserver );
       
    54 
       
    55         /**
       
    56          * By default Symbian 2nd phase constructor is private.
       
    57          */
       
    58         void ConstructL();  
       
    59 
       
    60     private: // From CActive
       
    61         void RunL();
       
    62         void DoCancel();
       
    63     
       
    64     public:
       
    65         void StartNotification();   
       
    66 
       
    67     private:
       
    68 		RPositionServer& iServer;
       
    69 		MBlidLocation&	iObserver;   
       
    70     };
       
    71 
       
    72 
       
    73 #endif  // CBLIDMODULEINFOOBSERVER_H