cbsref/telephonyrefplugins/atltsy/handler/inc/cltsyfactoryv1.h
branchRCL_3
changeset 65 630d2f34d719
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
       
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // @file ltsyfactoryv1.h
       
    15 // This contains CLtsyFactoryV1 which acting an interface for Lincesee dll
       
    16 //
       
    17 #ifndef CLTSYFACTORYV1_H
       
    18 #define CLTSYFACTORYV1_H
       
    19 
       
    20 // INCLUDES
       
    21 #include <e32std.h>
       
    22 #include <e32base.h>
       
    23 #include <e32def.h>
       
    24 #include <ctsy/ltsy/ltsylogger.h>
       
    25 #include <ctsy/ltsy/mltsydispatchfactory.h>
       
    26 #include "ltsymacros.h"
       
    27 
       
    28 //user include
       
    29 #include "atunsolicitedobserver.h"
       
    30 
       
    31 // FORWARD DECLARATIONS
       
    32 class CCtsyDispatcherCallback;
       
    33 class CLtsyCallControlHandler;
       
    34 class CLtsyPhoneHandler;
       
    35 class CLtsySecurityHandler;
       
    36 class CLtsyPhonebookEnHandler;
       
    37 class CLtsyCellBroadcastHandler;
       
    38 class CLtsyPhonebookOnHandler;
       
    39 class CLtsyPhonebookHandler;
       
    40 class CLtsySimHandler;
       
    41 class CLtsySmsHandler;
       
    42 class CLtsyCallControlMultipartyHandler;
       
    43 class CLtsySupplementaryServicesHandler;
       
    44 class CLtsyPacketServicesHandler;
       
    45 class CLtsySatHandler;
       
    46 class CGlobalPhonemanager;
       
    47 class CUnsolicitedEventMonitor;
       
    48 
       
    49 class CLtsyFactoryV1 : public CBase, public MLtsyDispatchFactoryV1  
       
    50 	{
       
    51 public:
       
    52 	
       
    53 	// Public constructor because this object is constructed in two phases where
       
    54 	// the second phase ConstructL() is called explicitly by the creator.
       
    55 	CLtsyFactoryV1(); 
       
    56 	
       
    57 	virtual ~CLtsyFactoryV1();
       
    58 
       
    59 	// From MLtsyDispatchFactoryV1 (or its base class)
       
    60 	virtual void Release();
       
    61 	virtual TInt GetDispatchHandler(
       
    62 			TLtsyDispatchInterfaceApiId aDispatchInterfaceId,
       
    63 			TAny*& aDispatchInterface);
       
    64 	virtual MLtsyFactoryBase::TCtsyInterfaceVersion Version();
       
    65 	virtual void ConstructL(CCtsyDispatcherCallback& aCallback);
       
    66 	virtual TBool IsDispatchInterfaceSupported(TInt aFuncUnitId, TLtsyDispatchInterfaceApiId aDispatchApiId);
       
    67 	virtual void IsCallbackIndicatorSupported(TInt aFuncUnitId, TLtsyDispatchIndIdGroup aIdGroup, TUint32& aIndIdBitMask);
       
    68 	virtual CTsySatMessagingBase* GetSatMessagingService(MCtsySatService& aSatMessagingService);
       
    69 private:
       
    70 	// To prevent explicit construction in this way
       
    71 	void NewL() {};
       
    72 	void NewLC() {};
       
    73 	
       
    74 private: // Owned
       
    75 	// Dispatch Handlers
       
    76 	CLtsyCallControlHandler* iLtsyDispatchCallControlHandler;
       
    77 	CLtsyPhoneHandler* iLtsyDispatchPhoneHandler;
       
    78 	CLtsySecurityHandler* iLtsyDispatchSecurityHandler;
       
    79 	CLtsyPhonebookEnHandler* iLtsyDispatchPhonebookEnHandler;
       
    80 	CLtsyCellBroadcastHandler* iLtsyDispatchCellBroadcastHandler;
       
    81 	CLtsyPhonebookOnHandler* iLtsyDispatchPhonebookOnHandler;
       
    82 	CLtsyPhonebookHandler* iLtsyDispatchPhonebookHandler;
       
    83 	CLtsySimHandler* iLtsyDispatchSimHandler;
       
    84 	CLtsySmsHandler* iLtsyDispatchSmsHandler;
       
    85 	CLtsyCallControlMultipartyHandler* iLtsyDispatchCallControlMultipartyHandler;
       
    86 	CLtsySupplementaryServicesHandler* iLtsyDispatchSupplementaryServicesHandler;
       
    87 	CLtsyPacketServicesHandler* iLtsyDispatchPacketServicesHandler;
       
    88 	CLtsySatHandler* iLtsyDispatchSatHandler;
       
    89 	CUnsolicitedEventMonitor* iUnsolicitedEventMonitor;
       
    90 public:	
       
    91 	CGlobalPhonemanager* iGlobalPhone;
       
    92 	}; // class CLtsyFactoryV1
       
    93 
       
    94 #endif // CLTSYFACTORYV1_H