]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/mathml_editor/src/AMathMLFactory.hh
* this is a large commit
[helm.git] / helm / DEVEL / mathml_editor / src / AMathMLFactory.hh
1 // Copyright (C) 2002-2003, Luca Padovani <luca.padovani@cs.unibo.it>.
2 //
3 // This file is part of EdiTeX, an editor of mathematical
4 // expressions based on TeX syntax
5 // 
6 // EdiTeX is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
10 //
11 // EdiTeX is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with EdiTeX; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19 // 
20 // For details, see the EdiTeX World-Wide-Web page,
21 // http://helm.cs.unibo.it/editex, or send a mail to
22 // <luca.padovani@cs.unibo.it>
23
24 #ifndef __AMathMLFactory_hh__
25 #define __AMathMLFactory_hh__
26
27 #include "dom.hh"
28
29 class AMathMLFactory
30 {
31 public:
32   AMathMLFactory(class ALogger& l) : logger(l) { };
33   virtual ~AMathMLFactory() { };
34
35   virtual void reset(void) = 0;
36   virtual void documentModified(class TDocument&) = 0;
37   virtual DOM::Document document(void) const = 0;
38
39 protected:
40   class ALogger& logger;
41 };
42
43 #endif // __AMathMLFactory_hh__