meetingrequest/mrpolicy/src/cesmrpolicychecker.cpp
branchRCL_3
changeset 12 4ce476e64c59
parent 11 0396474f30f5
child 13 8592a65ad3fb
--- a/meetingrequest/mrpolicy/src/cesmrpolicychecker.cpp	Mon Mar 15 12:39:10 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-/*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  ESMR service policy checker implementation
-*
-*/
-
-
-#include "emailtrace.h"
-#include "cesmrpolicychecker.h"
-//<cmail>
-#include "cesmrpolicy.h"
-#include "tesmrscenariodata.h"
-//</cmail>
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// CESMRPolicyChecker::CESMRPolicyChecker
-// ---------------------------------------------------------------------------
-//
-inline CESMRPolicyChecker::CESMRPolicyChecker()
-    {
-    FUNC_LOG;
-    // Do nothing
-    }
-
-// ---------------------------------------------------------------------------
-// CESMRPolicyChecker::~CESMRPolicyChecker
-// ---------------------------------------------------------------------------
-//
-CESMRPolicyChecker::~CESMRPolicyChecker()
-    {
-    FUNC_LOG;
-    // Do nothing
-    }
-
-// ---------------------------------------------------------------------------
-// CESMRPolicyChecker::NewL
-// ---------------------------------------------------------------------------
-//
-CESMRPolicyChecker* CESMRPolicyChecker::NewL()
-    {
-    FUNC_LOG;
-    CESMRPolicyChecker* self = new (ELeave) CESMRPolicyChecker;
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-
-// ---------------------------------------------------------------------------
-// CESMRPolicyChecker::MatchesL
-// ---------------------------------------------------------------------------
-//
-TBool CESMRPolicyChecker::MatchesL(
-    const CESMRPolicy& aPolicy,
-    const TESMRScenarioData& aScenData )
-    {
-    FUNC_LOG;
-    TBool matches( ETrue );
-
-    if (  aPolicy.ViewMode() != aScenData.iViewMode ||
-         !aPolicy.IsRoleIncluded( aScenData.iRole ) ||
-          aPolicy.AllowedApp() != aScenData.iCallingApp )
-        {
-        matches = EFalse;
-        }
-
-    return matches;
-    }
-
-// ---------------------------------------------------------------------------
-// CESMRPolicyChecker::ConstructL
-// ---------------------------------------------------------------------------
-//
-void CESMRPolicyChecker::ConstructL()
-    {
-    FUNC_LOG;
-    // Do nothing
-    }
-
-// EOF
-