00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _KATE_DOCUMENT_INCLUDE_
00029 #define _KATE_DOCUMENT_INCLUDE_
00030
00031 #include <ktexteditor.h>
00032
00033 class KateConfig;
00034
00035 namespace Kate
00036 {
00037
00039 class Mark
00040 {
00041 public:
00042 uint line;
00043 uint type;
00044 };
00045
00048 class Document : public KTextEditor::Document
00049 {
00050 Q_OBJECT
00051
00052 public:
00053 Document ();
00054 virtual ~Document ();
00055
00056 public:
00059 virtual void readConfig () { ; };
00062 virtual void writeConfig () { ; };
00063
00066 virtual void readSessionConfig (KateConfig *) { ; };
00069 virtual void writeSessionConfig (KateConfig *) { ; };
00070
00073 virtual uint docID () { return 0L; };
00074
00077 enum marks
00078 {
00079 Bookmark = 1,
00080 Breakpoint = 2,
00081 markType0 = 4,
00082 markType1 = 8,
00083 markType2 = 16,
00084 markType3 = 32,
00085 markType4 = 64,
00086 markType5 = 128,
00087 markType6 = 256,
00088 markType7 = 512,
00089 markType8 = 1024
00090 };
00091
00094 virtual QList<Mark> marks () { QList<Mark> l; return l; };
00095
00096 public slots:
00097
00098 virtual void flush () { ; };
00099 };
00100
00101 };
00102
00103 #endif