engine/inc/FeedParser.h
branchRCL_3
changeset 369 c683165bec63
parent 342 9441fb8fd60d
child 374 f067cee22e48
equal deleted inserted replaced
368:b131f7696342 369:c683165bec63
    60 enum TEncoding {
    60 enum TEncoding {
    61 	EUtf8,
    61 	EUtf8,
    62 	ELatin1
    62 	ELatin1
    63 };
    63 };
    64 
    64 
       
    65 enum TFeedDirection
       
    66 	{
       
    67 	EFeedUnknown,
       
    68 	EFeedAddsAtTop,
       
    69 	EFeedAddsAtBottom
       
    70 	};
       
    71 
    65 const int KBufferLength = 1024;
    72 const int KBufferLength = 1024;
    66 
    73 
    67 class CFeedParser : public CBase, public Xml::MContentHandler 
    74 class CFeedParser : public CBase, public Xml::MContentHandler 
    68 {
    75 {
    69 public:
    76 public:
   100 	TUint iItemsParsed;
   107 	TUint iItemsParsed;
   101 	TBool iStoppedParsing;
   108 	TBool iStoppedParsing;
   102 	TEncoding iEncoding;
   109 	TEncoding iEncoding;
   103 	RFs& iRfs;
   110 	RFs& iRfs;
   104 	TInt iFileSize;
   111 	TInt iFileSize;
       
   112 	TFeedDirection iFeedDirection;
       
   113 	TTime iPreviousPubDate;
   105 };
   114 };
   106 
   115 
   107 #endif
   116 #endif