summaryrefslogtreecommitdiffstats
path: root/plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/incsql/ecntreplacedatabase1_cstep.h
diff options
context:
space:
mode:
authorIlya Sinitsyn <ilya.sinitsyn@nokia.com>2010-06-16 11:12:25 +0300
committerIlya Sinitsyn <ilya.sinitsyn@nokia.com>2010-06-16 11:12:25 +0300
commit66fe0bd47b44357f089ce691db831a39062cd2a8 (patch)
treecada1f59a35d25aa24f3b6386b5e94b5f3f93018 /plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/incsql/ecntreplacedatabase1_cstep.h
parente18a471b5944e82496312fda3b9e2c006a728aaa (diff)
Moving symbian contacts model from mercurial to git
Diffstat (limited to 'plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/incsql/ecntreplacedatabase1_cstep.h')
-rw-r--r--plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/incsql/ecntreplacedatabase1_cstep.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/incsql/ecntreplacedatabase1_cstep.h b/plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/incsql/ecntreplacedatabase1_cstep.h
new file mode 100644
index 0000000000..b31b2d1ba1
--- /dev/null
+++ b/plugins/contacts/symbian/contactsmodel/tsrc/integration/tcntpolice/incsql/ecntreplacedatabase1_cstep.h
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2008-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:
+*
+*/
+
+
+#ifndef ECntReplaceDatabase1_H_
+#define ECntReplaceDatabase1_H_
+
+//Include the suite header
+#include "csuite.h"
+
+#include "ccntserver.h"
+#include "ccntipccodes.h"
+
+
+class CECntReplaceDatabase1Step: public CCapabilityTestStep
+ {
+
+public:
+
+ //Get the version of the server to be called
+ TVersion Version()
+ {
+ return TVersion(KLockSrvMajorVersionNumber, KLockSrvMinorVersionNumber, KLockSrvBuildVersionNumber);
+ }
+
+
+ //Constructor called from the respective Suite.cpp from their "AddTestStep" function
+ CECntReplaceDatabase1Step() ;
+
+ //Always clean your mess
+ ~CECntReplaceDatabase1Step()
+ {
+ tChildThread.Close();
+ }
+
+ //This is the Function called from "doTestStepL" by the test Suite,and it creates an
+ //child thread which internally calls the corresponding Exec_SendReceive_SERVERNAME fn.
+ TVerdict MainThread();
+
+ //Here's where the connection and testing the message takes place
+ TInt Exec_SendReceive();
+
+ };
+
+#endif