accessoryservices/accessoryserver/inc/Server/AsyProxyAPI.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  API class for ASYProxy
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CASYPROXYAPI_H
       
    20 #define CASYPROXYAPI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "AccSrvProxy.h"
       
    24 #include <ecom/implementationinformation.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class MASYProxyObserver;
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 *  ASYProxy API definition
       
    41 *  @lib AccServer.exe
       
    42 *  @since S60 3.1
       
    43 */
       
    44 NONSHARABLE_CLASS( CASYProxyAPI ) : public CBase
       
    45     {
       
    46     public: // Constructors and destructor
       
    47 
       
    48     public: // New functions
       
    49 
       
    50         /**
       
    51         * Load ASYs
       
    52         * @since S60 3.1
       
    53         * @param void
       
    54         * @return void
       
    55         */
       
    56         virtual void LoadASYs() = 0;
       
    57 
       
    58         /**
       
    59         * Initializes loading object of ASYs
       
    60         * @since S60 3.1
       
    61         * @param aAccServerObserver Poinetr to a observer class for call back methods.
       
    62         * @return void
       
    63         */
       
    64         virtual void InitializeL( MASYProxyObserver* aAccServerObserver ) = 0;
       
    65 
       
    66         /**
       
    67         * Gets ASYInfo
       
    68         * @since S60 3.1
       
    69         * @param aIndex Zero based index of ASY.
       
    70         * @return Implementation information.
       
    71         */
       
    72         virtual const CImplementationInformation* ASYInfo( TInt aIndex ) const = 0;
       
    73 
       
    74         /**
       
    75         * Gets status of ASY
       
    76         * @since S60 3.1
       
    77         * @param aIndex Zero based index of ASY.
       
    78         * @return ASY's state information.
       
    79         */
       
    80         virtual TASYProxyASYState ASYState( TInt aIndex ) const = 0;
       
    81 
       
    82         /**
       
    83         * Gets ASYs count
       
    84         * @since S60 3.1
       
    85         * @param void
       
    86         * @return Count of ASYs.
       
    87         */
       
    88         virtual TInt ASYsCount() const = 0;
       
    89 
       
    90     public: // Functions from base classes
       
    91 
       
    92     protected: // New functions
       
    93 
       
    94     protected: // Functions from base classes
       
    95 
       
    96     private:
       
    97 
       
    98     public:     // Data
       
    99 
       
   100     protected:  // Data
       
   101 
       
   102     private:    // Data
       
   103 
       
   104     public:     // Friend classes
       
   105 
       
   106     protected:  // Friend classes
       
   107 
       
   108     private:    // Friend classes
       
   109 
       
   110     };
       
   111 
       
   112 #endif // CASYPROXYAPI_H
       
   113 
       
   114 // End of File