javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtinput.h
branchRCL_3
changeset 14 04becd199f91
child 24 6c158198356e
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*******************************************************************************
       
     2  * Copyright (c) 2005, 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved. This program and the accompanying materials
       
     4  * are made available under the terms of the Eclipse Public License v1.0
       
     5  * which accompanies this distribution, and is available at
       
     6  * http://www.eclipse.org/legal/epl-v10.html
       
     7  *
       
     8  * Contributors:
       
     9  *     Nokia Corporation - S60 implementation
       
    10  *******************************************************************************/
       
    11 
       
    12 
       
    13 #ifndef SWTINPUT_H
       
    14 #define SWTINPUT_H
       
    15 
       
    16 
       
    17 #include "eswtmobileextensions.h"
       
    18 
       
    19 
       
    20 /**
       
    21  * CSwtInput
       
    22  * @lib eswt
       
    23  */
       
    24 NONSHARABLE_CLASS(CSwtInput)
       
    25         : public CBase
       
    26         , public MSwtInput
       
    27 {
       
    28 // Own methods
       
    29 public:
       
    30     static CSwtInput* NewL(TSwtPeer aPeer, TInt aId);
       
    31 
       
    32 private:
       
    33     inline CSwtInput(TSwtPeer aPeer, TInt aId);
       
    34     ~CSwtInput();
       
    35 
       
    36 // From MSwtInput
       
    37 public:
       
    38     TSwtPeer Dispose();
       
    39     TInt GetLocation();
       
    40     TInt GetType();
       
    41 
       
    42 // Data
       
    43 private:
       
    44     TSwtPeer iPeer;
       
    45     TInt iType;
       
    46     TInt iLocation;
       
    47 };
       
    48 
       
    49 
       
    50 #endif // SWTINPUT_H