systemswuis/touchscreencalib/tsccustcmds/inc/tscstartupextension.h
branchRCL_3
changeset 35 5f281e37a2f5
parent 0 254040eb3b7d
equal deleted inserted replaced
34:90fe62538f66 35:5f281e37a2f5
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Declaration of CTSCStartupExtension class.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef TSCSTARTUPEXTENSION_H
       
    19 #define TSCSTARTUPEXTENSION_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <ssm/ssmcustomcommand.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CTSCPubSubObserver;
       
    26 
       
    27 /**
       
    28 */
       
    29 NONSHARABLE_CLASS( CTSCStartupExtension )
       
    30   : public CBase,
       
    31     public MSsmCustomCommand
       
    32     {
       
    33 public:
       
    34 
       
    35     static CTSCStartupExtension * NewL();
       
    36     virtual ~CTSCStartupExtension ();
       
    37 
       
    38     void CalibrationDone();
       
    39 
       
    40 private: // From MSsmCustomCommand
       
    41 
       
    42     TInt Initialize( CSsmCustomCommandEnv* aCmdEnv );
       
    43     void Execute( const TDesC8& aParams, TRequestStatus& aStatus );
       
    44     void ExecuteCancel();
       
    45     void Release();
       
    46     void Close();
       
    47 
       
    48 private:
       
    49 
       
    50     /**
       
    51     * First phase constructor.
       
    52     */
       
    53     CTSCStartupExtension ();
       
    54 
       
    55 private: //data
       
    56 
       
    57     CTSCPubSubObserver* iTSCPubSubObserver; //owns
       
    58     
       
    59     TRequestStatus* iStatus;
       
    60     TBool iRequestSent;
       
    61 
       
    62     };
       
    63 
       
    64 #endif // TSCSTARTUPEXTENSION_H