bluetoothengine/btaudioman/inc/BTAccInfoMainService.h
changeset 0 f63038272f30
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Loaded by Accessory Server to allow this component to initialize
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BTACCINFOMAINSERVICE_H
       
    20 #define BTACCINFOMAINSERVICE_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <AccessoryServer.h>
       
    24 #include <AsyMainServiceBase.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Creates ASY main service
       
    30 *
       
    31 *  @lib BTAccInfo.dll
       
    32 *  @since Series 60 3.1
       
    33 */
       
    34 class CBTAccInfoMainService : private CASYMainServiceBase
       
    35     {
       
    36     public:  // Constructors and destructor
       
    37         
       
    38         /**
       
    39         * Two-phased constructor.        
       
    40         */
       
    41         static CBTAccInfoMainService* NewL();                        
       
    42 
       
    43     public: // Functions from base classes
       
    44                 
       
    45         /**
       
    46         * Startup function after creating object
       
    47         * @since Series 60 3.1
       
    48         * @return Error code of startup.
       
    49         *         KErrNone if successfully
       
    50         */
       
    51         TInt StartL();
       
    52         
       
    53     private:   // Functions
       
    54 
       
    55         /**
       
    56         * By default Symbian 2nd phase constructor is private.
       
    57         */        
       
    58         CBTAccInfoMainService();        
       
    59 
       
    60         /**
       
    61         * Destructor.
       
    62         */
       
    63         ~CBTAccInfoMainService();
       
    64     
       
    65     };
       
    66 
       
    67 #endif // BTACCINFOMAINSERVICE_H
       
    68             
       
    69 // End of File