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

« back to all changes in this revision

Viewing changes to src/lib/FormatIOExecutable.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 export to standalone executable
 
7
////////////////////////////////////////////////////////////////////////////
 
8
 
 
9
#ifndef FormatIOExecutable_H__
 
10
#define FormatIOExecutable_H__
 
11
 
 
12
#include "FormatIOBase.h"
 
13
 
 
14
class FormatIO_Executable : public FormatIO_Base
 
15
{
 
16
public:
 
17
        FormatIO_Executable();
 
18
        ~FormatIO_Executable();
 
19
 
 
20
        virtual int Load(const char *szFile, NoteDocument &doc);
 
21
        virtual int Save(const char *szFile, NoteDocument &doc);
 
22
        virtual int GetFormat(){ return FORMAT_EXECUTABLE; };
 
23
 
 
24
protected:
 
25
        //document parse info
 
26
        int m_nCurParentID;
 
27
        int m_nCurNodeID;
 
28
        int m_nLastNodeLevel;
 
29
        int m_nCurTextLine;
 
30
        int m_nCoversionFailuresCnt;
 
31
};
 
32
 
 
33
#endif
 
34