messagingfw/biomsgfw/BioWatchers/Inc/NBSSocketWatcher.inl
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     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 inline TBool CSpecialNbsSmsSocketWatcher::CanStoreMessage() const
       
    17 	{
       
    18 	__ASSERT_DEBUG(iReportHandling != CSmsSettings::EDoNotWatchForReport, PanicWatcher(EReportHandlingInvalid));
       
    19 	return (iReportHandling != CSmsSettings::EDiscardReport && iReportHandling != CSmsSettings::EDiscardReportAndMatch && iReportHandling != CSmsSettings::EDoNotWatchForReport);
       
    20 	}
       
    21 
       
    22 inline TBool CSpecialNbsSmsSocketWatcher::Visible() const
       
    23 	{
       
    24 	return (iReportHandling == CSmsSettings::EMoveReportToInboxVisible || iReportHandling == CSmsSettings::EMoveReportToInboxVisibleAndMatch);
       
    25 	}