psmservices/psmserver/inc/engine/psmmanager.h
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
     1 /*
     1 /*
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007 - 2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    70         void CancelPowerSaveModeChangeL();
    70         void CancelPowerSaveModeChangeL();
    71 
    71 
    72         /**
    72         /**
    73          * Register new PSM observer. Adds observer to the list of registered observers
    73          * Register new PSM observer. Adds observer to the list of registered observers
    74          */
    74          */
    75         void RegisterObserver( MPsmModeChangeObserver* aObserver );
    75         void RegisterObserverL( MPsmModeChangeObserver* aObserver );
    76 
    76 
    77         /**
    77         /**
    78          * Unreqister observer. Removes observer from the list of registered observers
    78          * Unreqister observer. Removes observer from the list of registered observers
    79          */
    79          */
    80         void UnregisterObserver( MPsmModeChangeObserver* aObserver );
    80         void UnregisterObserver( MPsmModeChangeObserver* aObserver );
    86 
    86 
    87         /**
    87         /**
    88          * Makes NotifyPowerSaveModeChangeL to asynchronous
    88          * Makes NotifyPowerSaveModeChangeL to asynchronous
    89          */
    89          */
    90         void IssueRequest();
    90         void IssueRequest();
       
    91 
       
    92 #ifdef _DEBUG        
       
    93         /**
       
    94          * Delete plugin loader. Used only for testing purpose
       
    95          */         
       
    96         void ClosePluginLoader();
       
    97 
       
    98         /**
       
    99          * Compress ModeObservers Array. Used only for testing purpose
       
   100          */        
       
   101         void CompressModeObserversArray();
       
   102 
       
   103 #endif //_DEBUG     
    91 
   104 
    92     protected: // From CActive
   105     protected: // From CActive
    93 
   106 
    94         /**
   107         /**
    95          * From CActive.
   108          * From CActive.