systemsettings/accindicatorplugin/accindicatorsettings/inc/headsetttyview.h
changeset 28 b0b858956ed5
equal deleted inserted replaced
21:c4cbaa4fb734 28:b0b858956ed5
       
     1 /*
       
     2  * Copyright (c) 2010 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:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HEADSETTTYVIEW_H
       
    19 #define HEADSETTTYVIEW_H
       
    20 
       
    21 #include <hbmainwindow.h>
       
    22 #include <QObject>
       
    23 #include <centralrepository.h>
       
    24 #include <AccessorySettings.h>
       
    25 #include <AccessoryServer.h>
       
    26 
       
    27 class CRepository;
       
    28 class CGSServerEngine;
       
    29 
       
    30 class HeadsetTtyView : public QObject
       
    31     {
       
    32     Q_OBJECT
       
    33 
       
    34 public:
       
    35     HeadsetTtyView(HbMainWindow *window,int);
       
    36     ~HeadsetTtyView();
       
    37 
       
    38 private slots:
       
    39     void currentIndexModified(int);
       
    40 private:
       
    41 	int currentValue;
       
    42 	TInt defaultaccessory;
       
    43 	
       
    44 	// Handle to the Central Repository.
       
    45     CRepository*    iAccessoryRepository;
       
    46 
       
    47     /** Accessory server connection. */
       
    48     RAccessoryServer iAccServer;
       
    49 
       
    50     /** Accessory settings connection. */
       
    51     RAccessorySettings iAccessorySettings;
       
    52 
       
    53 public:
       
    54     };
       
    55 
       
    56 #endif // HEADSETTTYVIEW_H