messagingappbase/obexmtms/TObexMTM/INC/ObexHarness.inl
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 // Copyright (c) 2002-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 // $Workfile: ObexHarness.inl $
       
    15 // $Author: Simonk $
       
    16 // $Revision: 4 $
       
    17 // $Date: 29/01/02 17:21 $
       
    18 // 
       
    19 //
       
    20 
       
    21 
       
    22 #ifndef __OBEXHARNESS_INL__
       
    23 #define __OBEXHARNESS_INL__
       
    24 
       
    25 
       
    26 inline CObexTestUtils& CObexClientTest::ObexTestUtils()
       
    27     {
       
    28     return iObexTestUtils;
       
    29     }
       
    30 
       
    31 inline CSendAs* CObexClientTest::SendAs()
       
    32     {
       
    33     return iSendAs;
       
    34     }
       
    35 
       
    36 inline TBool CObexClientTest::CapabilityOK(TUid /*aCapability*/, TInt /*aResponse*/)
       
    37     {
       
    38     return ETrue;
       
    39     }
       
    40 
       
    41 inline void CObexClientTest::SetProgressGranularity(TInt aGranularity)
       
    42     {
       
    43     iProgressGranularity = aGranularity;
       
    44     }
       
    45 
       
    46 inline TInt CObexClientTest::ProgressGranularity()
       
    47     {
       
    48     return iProgressGranularity;
       
    49     }
       
    50 
       
    51 inline void CObexClientTest::SetCancelGranularity(TInt aGranularity)
       
    52     {
       
    53     iCancelGranularity = aGranularity;
       
    54     }
       
    55 
       
    56 inline TInt CObexClientTest::CancelGranularity()
       
    57     {
       
    58     return iCancelGranularity;
       
    59     }
       
    60 
       
    61 inline TBool CObexClientTest::IgnoreSendErrors()
       
    62     {
       
    63     return iIgnoreSendErrors;
       
    64     }
       
    65  
       
    66 inline void CObexClientTest::SetIgnoreSendErrors(TBool aFlag)
       
    67     {
       
    68     iIgnoreSendErrors = aFlag;
       
    69     }
       
    70 
       
    71 inline CObexHeaderList* CObexClientTest::CurrentHeaders()
       
    72 	{
       
    73 	return iCurrentHeaders;
       
    74 	}
       
    75 
       
    76 inline CObexTestHeaderList* CObexClientTest::VerifyHeaders()
       
    77 	{
       
    78 	return iVerifyHeaders;
       
    79 	}
       
    80 
       
    81 inline RPointerArray<CObexTestFilenameAndHeaders>& CObexClientTest::Attachments()
       
    82 	{
       
    83 	return iAttachmentsList;
       
    84 	}
       
    85 
       
    86 #endif // __OBEXHARNESS_INL__
       
    87