creator/engine/inc/creator_note.h
changeset 31 e7a04a6385be
parent 30 d8e625c87f33
equal deleted inserted replaced
30:d8e625c87f33 31:e7a04a6385be
    14 * Description: 
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 
       
    20 
       
    21 
       
    22 #ifndef __CREATORNOTEPAD_H__
    19 #ifndef __CREATORNOTEPAD_H__
    23 #define __CREATORNOTEPAD_H__
    20 #define __CREATORNOTEPAD_H__
    24 
    21 
    25 #include "engine.h"
    22 #include "engine.h"
    26 #include "creator_modulebase.h"
    23 #include "creator_modulebase.h"
    27 
    24 #include "creator_notepadwrapper.h"
    28 
    25 
    29 #include <e32base.h>
    26 #include <e32base.h>
    30 //#include <npdapi.h>
       
    31 #include <noteseditorinterface.h>
       
    32 #include <AgendaUtil>
       
    33 #include <AgendaEntry>
       
    34 
       
    35 
    27 
    36 static const TInt KNotepadFieldLength = 1024;
    28 static const TInt KNotepadFieldLength = 1024;
    37 
    29 
    38 class CCreatorEngine;
    30 class CCreatorEngine;
    39 class CNotepadParameters;
    31 class CNotepadParameters;
       
    32 class CCreatorNotepadWrapper;
    40 
    33 
    41 
    34 
    42 class CCreatorNotepad : public CCreatorModuleBase
    35 class CCreatorNotepad : public CCreatorModuleBase
    43     {
    36     {
    44 public: 
    37 public: 
    56     TInt CreateNoteEntryL(CNotepadParameters *aParameters);
    49     TInt CreateNoteEntryL(CNotepadParameters *aParameters);
    57     void DeleteAllL();
    50     void DeleteAllL();
    58     void DeleteAllCreatedByCreatorL();
    51     void DeleteAllCreatedByCreatorL();
    59 
    52 
    60 private:
    53 private:
    61     AgendaUtil *iAgendaUtil;
    54     CCreatorNotepadWrapper* iNotepadWrapper;
    62     NotesEditorInterface *iNotepadApi;	//QT Notes api 
       
    63     //CNotepadApi *iNotepadApi;
       
    64 
    55 
    65     CNotepadParameters* iParameters;
    56     CNotepadParameters* iParameters;
    66     RFs& iFs;
    57     RFs& iFs;
    67 
    58 
    68 public:
    59 public: