messagingappbase/obexmtms/obexmtm/obexutil/source/ObexUtils.cpp
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 // Copyright (c) 2000-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 //class include
       
    17 #include <obexutils.h>
       
    18 
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 
       
    24 // Used as panic category and number when a removed export is called
       
    25 _LIT(KLDRIMPORT, "LDR-IMPORT");
       
    26 const TInt KLdrImportedOrdinalDoesNotExist = 2;
       
    27 
       
    28 EXPORT_C void CObexUtils::DummySaveObjToInboxL(CMsvSession& /*aSession*/,CBaseContainer& /*aContainer*/,
       
    29                                                TUid /*aMsgType*/,TMsvId& /*aParentMsvId*/,TDesC& /*aDeviceName*/)
       
    30 	{
       
    31 	User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
       
    32 	}                
       
    33 
       
    34 
       
    35 
       
    36 EXPORT_C void CObexUtils::DummyRemoveFromInboxL(CMsvSession& /*aSession*/, TMsvId /*aMsvId*/)
       
    37 	{
       
    38 	User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
       
    39 	}                
       
    40 
       
    41 
       
    42 
       
    43 
       
    44 EXPORT_C void CObexUtils::DummyFinaliseObexMessageL(CMsvSession& /*aSession*/, TMsvId /*aParentTMsvId*/)
       
    45 	{
       
    46 	User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
       
    47 	}                
       
    48 
       
    49 	
       
    50 
       
    51 
       
    52