messagingfw/biomsgfw/BioWatchers/Inc/SmsSocketWatcher.inl
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 1999-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 // SmsWatcher.inl
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <biodb.h>
       
    19 
       
    20 #ifndef SMSWATCHER_INL_
       
    21 #define SMSWATCHER_INL_
       
    22 
       
    23 inline void CBaseSmsActiveSocketWatcher::SetObserver(MBioWatcherObserver* aObserver)
       
    24 	{
       
    25 	iObserver = aObserver;
       
    26 	}
       
    27 
       
    28 inline TBool CBaseSmsActiveSocketWatcher::CanStoreMessage() const
       
    29 	{
       
    30 	return ETrue;
       
    31 	}
       
    32 
       
    33 inline TBool CBaseSmsActiveSocketWatcher::Visible() const
       
    34 	{
       
    35 	return ETrue;
       
    36 	}
       
    37 
       
    38 inline void CBaseSmsActiveSocketWatcher::WatcherComplete(TInt aError)
       
    39 	{
       
    40 	if (iObserver)
       
    41 		iObserver->HandleWatcherComplete(*this, aError);
       
    42 	}
       
    43 
       
    44 inline TUid CBaseSmsActiveSocketWatcher::BioMsgUID() const
       
    45 	{
       
    46 	return iBioMsgUID;
       
    47 	}
       
    48 
       
    49 
       
    50 #endif