creator/engine/src/creator_note.cpp
changeset 51 b048e15729d6
parent 31 e7a04a6385be
child 52 36d60d12b4af
equal deleted inserted replaced
44:5db69f4c3d06 51:b048e15729d6
    19 #include "engine.h"
    19 #include "engine.h"
    20 #include "enginewrapper.h"
    20 #include "enginewrapper.h"
    21 
    21 
    22 #include "creator_note.h" 
    22 #include "creator_note.h" 
    23 #include "creator_traces.h"
    23 #include "creator_traces.h"
    24 
       
    25 
       
    26 const TInt KCreatorDiskSpaceNeededForSingleDeletion( 8192 );
       
    27 _LIT( KCreatorNotepadFile, "c:Notepad.dat" );
       
    28 
       
    29 // @see \s60\app\organizer\notepad\notepad1\LibSrc\NpdCoreModel.cpp KSecureUid.Name()
       
    30 _LIT( KCreatorNotepadFormat, "SECURE[101F8878]" ); 
       
    31 _LIT( KCreatorNotepadDeleteAllSQL, "DELETE FROM Table1");
       
    32 
    24 
    33 //----------------------------------------------------------------------------
    25 //----------------------------------------------------------------------------
    34 
    26 
    35 CNotepadParameters::CNotepadParameters()
    27 CNotepadParameters::CNotepadParameters()
    36     {
    28     {
    80     LOGSTRING("Creator: CCreatorNotepad::~CCreatorNotepad");
    72     LOGSTRING("Creator: CCreatorNotepad::~CCreatorNotepad");
    81     
    73     
    82     if (iParameters)
    74     if (iParameters)
    83         {
    75         {
    84         delete iParameters;
    76         delete iParameters;
    85         iParameters;
    77         iParameters = NULL;
    86         }
    78         }
    87     
    79     
    88     if (iNotepadWrapper)
    80     if (iNotepadWrapper)
    89     	{
    81     	{
    90 		delete iNotepadWrapper;
    82 		delete iNotepadWrapper;
       
    83 		iNotepadWrapper = NULL;
    91     	}
    84     	}
    92     }
    85     }
    93 
    86 
    94 //----------------------------------------------------------------------------
    87 //----------------------------------------------------------------------------
    95 
    88