syncmlfw/syncmlnotifier/src/SyncMLMessageQueryDialog.cpp
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
--- a/syncmlfw/syncmlnotifier/src/SyncMLMessageQueryDialog.cpp	Thu Aug 19 10:44:50 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-/*
-* Copyright (c) 2005 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:  Message Query Dialogue
-*
-*/
-
-
-
-// INCLUDE FILES
-#include "SyncMLMessageQueryDialog.h"
-#include "SyncMLNotifDebug.h"
-
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// CSyncMLMessageQueryDialog::CSyncMLMessageQueryDialog
-// C++ default constructor can NOT contain any code, that
-// might leave.
-// -----------------------------------------------------------------------------
-//
-CSyncMLMessageQueryDialog::CSyncMLMessageQueryDialog(TBool& aKeyPress  ):iKeyPress(aKeyPress)
-    
-    {
-    }
-
-// -----------------------------------------------------------------------------
-// CSyncMLMessageQueryDialog::NewL
-// Two-phased constructor.
-// -----------------------------------------------------------------------------
-//
-CSyncMLMessageQueryDialog* CSyncMLMessageQueryDialog::NewL(TBool& aKeyPress )
-    {
-    CSyncMLMessageQueryDialog* self =
-        new( ELeave ) CSyncMLMessageQueryDialog (aKeyPress  );
-    
-    return self;
-    }
-
-    
-// -----------------------------------------------------------------------------
-// CSyncMLMessageQueryDialog::~CSyncMLMessageQueryDialog
-// Destructor.
-// -----------------------------------------------------------------------------
-//
-CSyncMLMessageQueryDialog::~CSyncMLMessageQueryDialog()
-    {
-    
-    }
-
-// -----------------------------------------------------------------------------
-// CSyncMLMessageQueryDialog::OkToExitL
-// Determines if the dialog can be closed..
-// -----------------------------------------------------------------------------
-//
-TBool CSyncMLMessageQueryDialog::OkToExitL( TInt aButtonId )
-    {
-    FLOG(_L("[SmlNotif]\t CSyncMLMessageQueryDialog::OkToExitL()"));
-    return CAknQueryDialog::OkToExitL( aButtonId );
-    }
-
-// -----------------------------------------------------------------------------
-// CSyncMLMessageQueryDialog::NeedToDismissQueryL
-// Called by OfferkeyEventL(), gives a change to dismiss the query even with
-// keys different than Enter of Ok.
-// -----------------------------------------------------------------------------
-//    
-TBool CSyncMLMessageQueryDialog::NeedToDismissQueryL(const TKeyEvent& aKeyEvent)
-    {
-    FLOG(_L("[SmlNotif]\t CSyncMLMessageQueryDialog::NeedToDismissQueryL()"));
-    if (aKeyEvent.iCode == EKeyNo)
-        {
-        FLOG(_L("[SmlNotif]\t CSyncMLMessageQueryDialog::NeedToDismissQueryL()--EKeyNo"));
-        iKeyPress=ETrue;
-		DismissQueryL();
-        return ETrue;
-        }
-    return EFalse;
-    }
-
-// -----------------------------------------------------------------------------
-// CSyncMLMessageQueryDialog::ExitL
-// -----------------------------------------------------------------------------
-//
-void CSyncMLMessageQueryDialog::ExitL()
-	{
-	FLOG(_L("[SmlNotif]\t CSyncMLMessageQueryDialog::ExitL()"));
-	OkToExitL( EKeyNo );
-	}
-
-//  End of File