diff -r ba8a586c45f1 -r c20154ccf3c0 creator/engine/inc/creator_note.h --- a/creator/engine/inc/creator_note.h Fri Jun 11 16:29:34 2010 +0100 +++ b/creator/engine/inc/creator_note.h Thu Jul 22 16:33:59 2010 +0100 @@ -16,30 +16,23 @@ */ - - - #ifndef __CREATORNOTEPAD_H__ #define __CREATORNOTEPAD_H__ #include "engine.h" #include "creator_modulebase.h" - +#include "creator_notepadwrapper.h" #include -//#include -#include -#include -#include - static const TInt KNotepadFieldLength = 1024; class CCreatorEngine; class CNotepadParameters; +class CCreatorNotepadWrapper; -class CCreatorNotepad : public CBase, public MCreatorModuleBase +class CCreatorNotepad : public CCreatorModuleBase { public: static CCreatorNotepad* NewL(CCreatorEngine* aEngine); @@ -51,15 +44,14 @@ void ConstructL(CCreatorEngine* aEngine); // from MCreatorModuleBase public: - TBool AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries); // from MCreatorModuleBase + TBool AskDataFromUserL( TInt aCommand ); // from MCreatorModuleBase + TInt CreateNoteEntryL(CNotepadParameters *aParameters); void DeleteAllL(); void DeleteAllCreatedByCreatorL(); private: - AgendaUtil *iAgendaUtil; - NotesEditor *iNotepadApi; //QT Notes api - //CNotepadApi *iNotepadApi; + CCreatorNotepadWrapper* iNotepadWrapper; CNotepadParameters* iParameters; RFs& iFs;