mediator/src/clientstub/mediatornotificationsstub.cpp
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 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:  A stub implementation of an interface for receiving command/event notifications and info.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include    <e32base.h>
       
    21 #include    "MediatorNotifications.h"
       
    22 #include    "MediatorNotificationsBody.h"
       
    23 #include    "Debug.h"
       
    24 
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CMediatorNotifications::CMediatorNotifications
       
    30 // -----------------------------------------------------------------------------
       
    31 //
       
    32 CMediatorNotifications::CMediatorNotifications()
       
    33      
       
    34     {
       
    35     }
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // CMediatorNotifications::ConstructL
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 void CMediatorNotifications::ConstructL()
       
    42     {
       
    43     }
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // CMediatorNotifications::NewL
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 EXPORT_C CMediatorNotifications* CMediatorNotifications::NewL()
       
    50     {
       
    51     CMediatorNotifications* self = new( ELeave ) CMediatorNotifications;
       
    52     CleanupStack::PushL( self );
       
    53     self->ConstructL();
       
    54     CleanupStack::Pop( self );
       
    55     return self;
       
    56     }
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // CMediatorNotifications::~CMediatorNotifications
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 CMediatorNotifications::~CMediatorNotifications()
       
    63     {
       
    64     }
       
    65 
       
    66 // -----------------------------------------------------------------------------
       
    67 // CMediatorNotifications::RegisterNotificationObserver
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 EXPORT_C TInt CMediatorNotifications::RegisterNotificationObserver( MMediatorNotifications* /*aObserver*/ )
       
    71     {
       
    72     return KErrNotSupported;
       
    73     }
       
    74             
       
    75 // -----------------------------------------------------------------------------
       
    76 // CMediatorNotifications::UnregisterNotificationObserver
       
    77 // -----------------------------------------------------------------------------
       
    78 //
       
    79 EXPORT_C TInt CMediatorNotifications::UnregisterNotificationObserver()
       
    80     {
       
    81     return KErrNotSupported;
       
    82     }
       
    83 
       
    84 // -----------------------------------------------------------------------------
       
    85 // CMediatorNotifications::GetDomains
       
    86 // -----------------------------------------------------------------------------
       
    87 //
       
    88 EXPORT_C TInt CMediatorNotifications::GetDomains( RDomainList& /*aDomains*/ )
       
    89     {
       
    90     return KErrNotSupported;
       
    91     }
       
    92     
       
    93 
       
    94 // -----------------------------------------------------------------------------
       
    95 // CMediatorNotifications::GetCategories
       
    96 // -----------------------------------------------------------------------------
       
    97 //
       
    98 EXPORT_C TInt CMediatorNotifications::GetCategories( TUid /*aDomain*/, 
       
    99                                                      RCategoryList& /*aCategories*/ )
       
   100     {
       
   101     return KErrNotSupported;
       
   102     }
       
   103 
       
   104 // -----------------------------------------------------------------------------
       
   105 // CMediatorNotifications::GetEvents
       
   106 // -----------------------------------------------------------------------------
       
   107 //
       
   108 EXPORT_C TInt CMediatorNotifications::GetEvents( TUid /*aDomain*/, 
       
   109                                                  TUid /*aCategory*/,
       
   110                                                  REventList& /*aEvents*/ )
       
   111     {
       
   112     return KErrNotSupported;
       
   113     }
       
   114 
       
   115 // -----------------------------------------------------------------------------
       
   116 // CMediatorNotifications::GetCommands
       
   117 // -----------------------------------------------------------------------------
       
   118 //
       
   119 EXPORT_C TInt CMediatorNotifications::GetCommands( TUid /*aDomain*/, 
       
   120                                                    TUid /*aCategory*/,
       
   121                                                    RCommandList& /*aCommands*/ )
       
   122     {
       
   123     return KErrNotSupported;
       
   124     }