creator/engine/inc/creator_notepadwrapper.h
branchRCL_3
changeset 20 fad26422216a
parent 19 b3cee849fa46
child 21 f8280f3bfeb7
equal deleted inserted replaced
19:b3cee849fa46 20:fad26422216a
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CREATORNOTEPADWRAPPER_H__
       
    19 #define __CREATORNOTEPADWRAPPER_H__
       
    20 
       
    21 //#include "engine.h"
       
    22 //#include "creator_modulebase.h"
       
    23 
       
    24 
       
    25 #include <e32base.h>
       
    26 #include <NotesEditorInterface>
       
    27 #include <AgendaUtil>
       
    28 #include <AgendaEntry>
       
    29 
       
    30 
       
    31 class CCreatorNotepadWrapper : public CBase
       
    32 	{
       
    33 	public:
       
    34 		static CCreatorNotepadWrapper* NewL();
       
    35 		static CCreatorNotepadWrapper* NewLC();
       
    36 		~CCreatorNotepadWrapper();
       
    37 		
       
    38 	private:
       
    39 		CCreatorNotepadWrapper();
       
    40 		void ConstructL();
       
    41 		
       
    42 	public:
       
    43 		TInt CreateNoteL( const TDesC& aText );
       
    44 		void DeleteAllL();
       
    45 		
       
    46 	private:
       
    47 		AgendaUtil *iAgendaUtil;
       
    48 		NotesEditorInterface *iNotepadApi;	//QT Notes api
       
    49 	};
       
    50 
       
    51 #endif // __CREATORNOTEPADWRAPPER_H__