uiacceltk/hitchcock/Client/inc/alfcontrolgroupsubsession.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     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:   Sub-session for control group
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef R_ALFCONTROLGROUPSUBSESSION_H
       
    21 #define R_ALFCONTROLGROUPSUBSESSION_H
       
    22 
       
    23 #include <e32std.h>
       
    24 #include "alfclient.h"
       
    25 
       
    26 /**
       
    27  *  Sub-session for control group
       
    28  *
       
    29  *  @lib alfclient.lib
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 NONSHARABLE_CLASS( RAlfControlGroupSubSession ): public RSubSessionBase 
       
    33     {
       
    34 
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Open subsession for given session.
       
    39      *
       
    40      * @param aSession Used session.
       
    41      * @param aId Control group ID.
       
    42      * @return Error code.
       
    43      */
       
    44     TInt Open( RAlfClient& aSession, TInt aId );
       
    45     
       
    46     /**
       
    47      *  Closes the subsession.
       
    48      */
       
    49     void Close();
       
    50     
       
    51     /**
       
    52      * Appends a control
       
    53      *
       
    54      * @param aControlHandle Handle to the server side object. 
       
    55      * @return Error code.
       
    56      */
       
    57     TInt Append( TInt aControlHandle );
       
    58     
       
    59     /**
       
    60      * Removes a control
       
    61      *
       
    62      * @param aControlHandle Handle to the server side object. 
       
    63      * @return Error code.
       
    64      */
       
    65     TInt Remove( TInt aControlHandle );
       
    66     
       
    67     /**
       
    68      * Enables/disabels transformation
       
    69      *
       
    70      * @param aTransformationHandle Handle to the server side object.                       
       
    71      * @param aIsTransformed ETrue if enabled. 
       
    72      * @return Error code.
       
    73      */
       
    74     TInt EnableTransformation( 
       
    75         TInt aTransformationHandle,
       
    76         TBool aIsTransformed );
       
    77     };
       
    78 
       
    79 
       
    80 #endif // R_ALFCONTROLGROUPSUBSESSION_H