pimappservices/calendar/tsrc/caltestlib.h
changeset 49 5de72ea7a065
parent 0 f979ecb2b13e
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
   103 	// Delete either a file which is in server's private directory by default or any other file in public directory.
   103 	// Delete either a file which is in server's private directory by default or any other file in public directory.
   104 	IMPORT_C void DeleteFileL(const TDesC& aFileName, TBool aIsCalFile = ETrue);
   104 	IMPORT_C void DeleteFileL(const TDesC& aFileName, TBool aIsCalFile = ETrue);
   105 
   105 
   106 	// Used to append the file to the delete list
   106 	// Used to append the file to the delete list
   107 	IMPORT_C void RegisterCalFileL(const TDesC& aFileName);
   107 	IMPORT_C void RegisterCalFileL(const TDesC& aFileName);
       
   108 	
       
   109 	// Create a calendar file. It leaves if the file exists.
       
   110 	IMPORT_C RPointerArray<CCalSession>& CreateCalSubSessionL(const TDesC& aFileName);
   108 
   111 
   109 
   112 
   110 // Session and Views handling
   113 // Session and Views handling
   111 	
   114 	
   112 	// To be used by both synchronous  and asynchronous test.
   115 	// To be used by both synchronous  and asynchronous test.
   218 
   221 
   219 	CDesCArray*			iFilesToDel;
   222 	CDesCArray*			iFilesToDel;
   220 	TBool				iDelFileFlag;
   223 	TBool				iDelFileFlag;
   221 	RMutex				iChunkMutex;
   224 	RMutex				iChunkMutex;
   222 	RASCliSession		iAlarmServer;
   225 	RASCliSession		iAlarmServer;
       
   226 	RPointerArray<CCalSession> iSubCalSessions;
   223 	};
   227 	};
   224 
   228 
   225 
   229 
   226 /** Template class for cleanup that needs ResetAndDestroy or Reset to be called
   230 /** Template class for cleanup that needs ResetAndDestroy or Reset to be called
   227 
   231