~ubuntu-branches/ubuntu/vivid/notecase/vivid

« back to all changes in this revision

Viewing changes to src/lib/FormatGjots2.h

  • Committer: Bazaar Package Importer
  • Author(s): Vijay(Vijay)
  • Date: 2007-06-14 00:13:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070614001348-z9e2vbgtenb9nhoo
Tags: 1.5.6-0ubuntu1
* New Upstream release 
*  The libgnomevfs2-dev is also added to Build-Depends 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
////////////////////////////////////////////////////////////////////////////
2
 
// NoteCase notes manager project <http://notecase.sf.net>
3
 
//
4
 
// This code is licensed under BSD license.See "license.txt" for more details.
5
 
//
6
 
// File: Implements Gjots2 format I/O (reading only)
7
 
////////////////////////////////////////////////////////////////////////////
8
 
 
9
 
#ifndef FormatGjots2_H__
10
 
#define FormatGjots2_H__
11
 
 
12
 
#include "HtmlParser.h"
13
 
#include "NoteFormatIO.h"
14
 
 
15
 
class NoteFormatIO;
16
 
 
17
 
class FormatGjots2 : public NoteFormatIO
18
 
{
19
 
public:
20
 
        FormatGjots2();
21
 
        ~FormatGjots2();
22
 
 
23
 
        virtual int  Load(const char *szFile, NoteDocument &doc);
24
 
        virtual bool Save(const char *szFile, NoteDocument &doc);
25
 
        virtual int  GetFormat(){ return FORMAT_GJOTS2; };
26
 
 
27
 
protected:
28
 
        bool ParseLine(const char *szBuffer);
29
 
 
30
 
protected:
31
 
        //document parse info
32
 
        int m_nCurParentID;
33
 
        int m_nCurNodeID;
34
 
        int m_nDocParseState;
35
 
};
36
 
 
37
 
#endif
38