1
////////////////////////////////////////////////////////////////////////////
2
// NoteCase notes manager project <http://notecase.sf.net>
4
// This code is licensed under BSD license.See "license.txt" for more details.
6
// File: Abstract class for different document formats I/O
7
////////////////////////////////////////////////////////////////////////////
9
#ifndef NODEFORMATIO_H__
10
#define NODEFORMATIO_H__
14
#endif // _MSC_VER > 1000
19
#define FORMAT_HTML_ENC 2
20
#define FORMAT_GJOTS2 3
21
#define FORMAT_STICKY 4
23
#include "NoteDocument.h"
30
virtual ~NoteFormatIO();
32
virtual int Load(const char *szFile, NoteDocument &doc) = 0;
33
virtual bool Save(const char *szFile, NoteDocument &doc) = 0;
34
virtual int GetFormat() = 0;
37
NoteDocument *m_objDoc;
40
#endif // NODEFORMATIO_H__