phoneuis/easydialing/edcontactor/inc/edcontactorunieditoroperation.h
branchRCL_3
changeset 9 8871b09be73b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneuis/easydialing/edcontactor/inc/edcontactorunieditoroperation.h	Fri Feb 19 22:50:26 2010 +0200
@@ -0,0 +1,88 @@
+/*
+* Copyright (c) 2010 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:  Class implementing the unieditor operation (SMS/MMS)
+*
+*/
+
+
+#ifndef EDCONTACTORUNIEDITOROPERATION_H
+#define EDCONTACTORUNIEDITOROPERATION_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+class CEDContactorOperation;
+
+/**
+ * Class implementing the unieditor operation (SMS/MMS)
+ *
+ *  @code
+ *   ?good_class_usage_example(s)
+ *  @endcode
+ *
+ *  @lib ccappcommlauncherplugin.dll
+ *  @since S60 v5.0
+ */
+NONSHARABLE_CLASS(CEDContactorUniEditorOperation) : public CEDContactorOperation
+    {
+public:
+    // Constructors and destructor
+
+    /**
+     * Destructor.
+     */
+    ~CEDContactorUniEditorOperation();
+
+    /**
+     * Two-phased constructor.
+     * 
+     * @param aParam The phone number to send the message to
+     * @param aName The name of the contact, to be shown in the "to" field
+     */
+    static CEDContactorUniEditorOperation* NewL(const TDesC& aParam, const TDesC& aName);
+
+    /**
+     * Two-phased constructor.
+     * 
+     * @param aParam The phone number to send the message to
+     * @param aName The name of the contact, to be shown in the "to" field
+     */
+    static CEDContactorUniEditorOperation* NewLC(const TDesC& aParam, const TDesC& aName);
+    
+    /**
+     * Executes the operation (starts editor for sending the message)
+     */
+    virtual void ExecuteLD();
+
+private:
+
+    /**
+     * Constructor for performing 1st stage construction
+     * 
+     * @param aParam The phone number to send the message to
+     * @param aName The name of the contact, to be shown in the "to" field
+     */
+    CEDContactorUniEditorOperation(const TDesC& aParam, const TDesC& aName);
+
+    /**
+     * EPOC default constructor for performing 2nd stage construction
+     */
+    void ConstructL();
+
+    };
+
+#endif // EDCONTACTORUNIEDITOROPERATION_H
+// End of File