textinput/peninputcommonlayout/inc/peninputclientlayoutinfo.inl
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  image layout inline function 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // -----------------------------------------------------------------------------
       
    20 // CPeninputControlInfo::ControlID
       
    21 // (other items were commented in a header)
       
    22 // -----------------------------------------------------------------------------
       
    23 //
       
    24 inline const TInt CPeninputControlInfo::ControlID() const 
       
    25     {
       
    26     return iControlID;
       
    27     }
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // CPeninputControlInfo::ControlType
       
    31 // (other items were commented in a header)
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 inline const TInt CPeninputControlInfo::ControlType() const 
       
    35     {
       
    36     return iControlType;
       
    37     }
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // CPeninputControlInfo::BeginRow
       
    41 // (other items were commented in a header)
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 inline const TInt CPeninputControlInfo::BeginRow() const 
       
    45     {
       
    46     return iBeginRow;
       
    47     }
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 // CPeninputControlInfo::EndRow
       
    51 // (other items were commented in a header)
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 inline const TInt CPeninputControlInfo::EndRow() const 
       
    55     {
       
    56     return iEndRow;
       
    57     }
       
    58 
       
    59 // -----------------------------------------------------------------------------
       
    60 // CPeninputControlInfo::BeginColumn
       
    61 // (other items were commented in a header)
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 inline const TInt CPeninputControlInfo::BeginColumn() const 
       
    65     {
       
    66     return iBeginColumn; 
       
    67     }
       
    68 
       
    69 // -----------------------------------------------------------------------------
       
    70 // CPeninputControlInfo::EndColumn
       
    71 // (other items were commented in a header)
       
    72 // -----------------------------------------------------------------------------
       
    73 //
       
    74 inline const TInt CPeninputControlInfo::EndColumn() const 
       
    75     {
       
    76     return iEndColumn;
       
    77     }
       
    78 
       
    79 // -----------------------------------------------------------------------------
       
    80 // CPeninputClientLayoutInfo::LayoutID
       
    81 // (other items were commented in a header)
       
    82 // -----------------------------------------------------------------------------
       
    83 //
       
    84 inline TInt CPeninputClientLayoutInfo::LayoutID() const 
       
    85     {
       
    86     return iLayoutID;        
       
    87     }
       
    88 
       
    89 // -----------------------------------------------------------------------------
       
    90 // CPeninputClientLayoutInfo::Columns
       
    91 // (other items were commented in a header)
       
    92 // -----------------------------------------------------------------------------
       
    93 //
       
    94 inline TInt CPeninputClientLayoutInfo::Columns() const 
       
    95     {
       
    96     return iColumns;        
       
    97     }
       
    98 
       
    99 // -----------------------------------------------------------------------------
       
   100 // CPeninputClientLayoutInfo::Rows
       
   101 // (other items were commented in a header)
       
   102 // -----------------------------------------------------------------------------
       
   103 //
       
   104 inline TInt CPeninputClientLayoutInfo::Rows() const 
       
   105     {
       
   106     return iRows;        
       
   107     }
       
   108 
       
   109 // -----------------------------------------------------------------------------
       
   110 // CPeninputClientLayoutInfo::ControlInfoList
       
   111 // (other items were commented in a header)
       
   112 // -----------------------------------------------------------------------------
       
   113 //
       
   114 inline RPointerArray<CPeninputControlInfo>& 
       
   115     CPeninputClientLayoutInfo::ControlInfoList() 
       
   116     {
       
   117     return iControlInfoList;   
       
   118     }