commonuisupport/uikon/srvsrc/eiknotapi.cpp
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-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 //
       
    15 
       
    16 #include "eiknotapi.h"
       
    17 #include "EIKNFYSV.H"
       
    18 #include <uiklaf/private/lafnotcap.h>
       
    19 
       
    20 /** Constructor for MEikSrvNotifierManager */
       
    21 EXPORT_C MEikSrvNotifierManager::MEikSrvNotifierManager()
       
    22 	{
       
    23 	}
       
    24 
       
    25 /** Reserved for future use */	
       
    26 EXPORT_C void MEikSrvNotifierManager::MEikSrvNotifierManager_Reserved1()
       
    27 	{
       
    28 	}
       
    29 
       
    30 /** Reserved for future use */	
       
    31 EXPORT_C void MEikSrvNotifierManager::MEikSrvNotifierManager_Reserved2()
       
    32 	{
       
    33 	}
       
    34 
       
    35 
       
    36 //
       
    37 // MEikSrvNotifierBase2
       
    38 //
       
    39 
       
    40 void MEikSrvNotifierBase2::SetManager(MEikSrvNotifierManager* aManager)
       
    41 	{
       
    42 	iManager = aManager;
       
    43 	}
       
    44 
       
    45 EXPORT_C MEikSrvNotifierBase2::MEikSrvNotifierBase2()
       
    46 	{}
       
    47 
       
    48 EXPORT_C MEikSrvNotifierBase2::~MEikSrvNotifierBase2()
       
    49 	{}
       
    50 
       
    51 /** Reserved for future use */	
       
    52 EXPORT_C void MEikSrvNotifierBase2::MEikSrvNotifierBase2_Reserved_2()
       
    53 	{}
       
    54 
       
    55 EXPORT_C void MEikSrvNotifierBase2::UpdateL(const TDesC8& /*aBuffer*/, TInt /*aReplySlot*/, const RMessagePtr2& /*aMessage*/)
       
    56 	{}
       
    57 
       
    58 /** Handles a screen change event.
       
    59 
       
    60 This function is called by the notifier manager, but only if the notifier 
       
    61 can handle a change to the screen device, i.e. if a call to NotifierCapabilites() 
       
    62 reports that the EScreenDeviceChangeSupported flag is set.
       
    63 
       
    64 The default implementation is empty.
       
    65 
       
    66 @param aEvent The Uid representing the event. */
       
    67 EXPORT_C void MEikSrvNotifierBase2::HandleSystemEventL(TUid /*aEvent*/)
       
    68 	{
       
    69 	}
       
    70 
       
    71 /** Gets notifier capabilities.
       
    72 
       
    73 Calls the LAF implemented function.
       
    74    
       
    75 @see LafNotifierCapabilities::NotifierCapabilities() */
       
    76 EXPORT_C TInt MEikSrvNotifierBase2::NotifierCapabilites()
       
    77    	{
       
    78  	//Calling the LAF implemented NotifierCapabilities function to get the capability.
       
    79  	TInt capabilities = LafNotifierCapabilities::NotifierCapabilities();
       
    80    	return capabilities;
       
    81    	}