1 // Copyright (C) 2002-2003, Luca Padovani <luca.padovani@cs.unibo.it>.
3 // This file is part of EdiTeX, an editor of mathematical
4 // expressions based on TeX syntax
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.
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.
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.
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>
24 #ifndef __AMathMLFactory_hh__
25 #define __AMathMLFactory_hh__
32 AMathMLFactory(class ALogger& l) : logger(l), consumer(0) { };
33 AMathMLFactory(class ALogger& l, class AMathMLConsumer& c) : logger(l), consumer(&c) { };
34 virtual ~AMathMLFactory() { };
36 virtual void documentModified(class TDocument&) = 0;
37 virtual DOM::Document document(void) const = 0;
40 class ALogger& logger;
41 class AMathMLConsumer* consumer;
44 #endif // __AMathMLFactory_hh__