creator/engine/inc/creator_notepadwrapper.h
changeset 55 2d9cac8919d3
parent 53 819e59dfc032
child 56 392f7045e621
equal deleted inserted replaced
53:819e59dfc032 55:2d9cac8919d3
     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 <QPluginLoader>
       
    27 #include <NotesEditorInterface>
       
    28 #include <AgendaUtil>
       
    29 #include <AgendaEntry>
       
    30 
       
    31 
       
    32 class CCreatorNotepadWrapper : public CBase
       
    33 	{
       
    34 	public:
       
    35 		static CCreatorNotepadWrapper* NewL();
       
    36 		static CCreatorNotepadWrapper* NewLC();
       
    37 		~CCreatorNotepadWrapper();
       
    38 		
       
    39 	private:
       
    40 		CCreatorNotepadWrapper();
       
    41 		void ConstructL();
       
    42 		
       
    43 	public:
       
    44 		TInt CreateNoteL( const TDesC& aText );
       
    45 		void DeleteAllL();
       
    46 		
       
    47 	private:
       
    48 		AgendaUtil *iAgendaUtil;
       
    49 		NotesEditorInterface *iNotepadApi;	//QT Notes api
       
    50 		QPluginLoader* iNotesEditorPluginLoader; // for loading QT Notes api
       
    51 	};
       
    52 
       
    53 #endif // __CREATORNOTEPADWRAPPER_H__