examples/Messaging/BIOMessageMgr/Inc/BIOParser.h

00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 #ifndef __BIOPARSER_H__
00017 #define __BIOPARSER_H__
00018 
00019 
00020 // system Includes
00021 #include <e32base.h>
00022 #include <bsp.h>
00023 #include <biodb.h>
00024 #include <msvreg.h>
00025 #include <msvids.h>
00026 #include <regpsdll.h>
00027 
00028 #include "BIOExampleParser.h"
00029 
00030 const TUid      KUidBIOVCardMsg = {0x10005534};    // VCard contact entries
00031 _LIT(KBifDir,"\\" );
00032 
00033 
00034 class CBioParser : CBase
00035 {
00036 public:
00037         static CBioParser* NewL(CMsvEntry* aEntry);
00038         ~CBioParser();
00039 
00040         void ParserL();
00041 
00042 private:
00043         CBIOExampleParser* CreateParserL();
00044         void ExtractMessageBodyL();
00045         CBioParser(CMsvEntry* aEntry);
00046         void ConstructL();
00047 
00048 public:
00049         CRegisteredParserDll*   iRegisteredParserDll;
00050         CBIODatabase*                   iBioDb;
00051         RFs                                     iFs;
00052         CMsvEntry*                              iMsvEntry;
00053         HBufC*                                  iMessageBody;
00054 };
00055 
00056 #endif /*__BIOPARSER_H__*/

Generated by  doxygen 1.6.2