wxMaxima
Loading...
Searching...
No Matches
wxMathml.h
Go to the documentation of this file.
1// -*- mode: c++; c-file-style: "linux"; c-basic-offset: 2; indent-tabs-mode: nil -*-
2//
3// Copyright (C) 2004-2015 Andrej Vodopivec <andrej.vodopivec@gmail.com>
4// Copyright (C) 2017-2018 Gunter Königsmann <wxMaxima@physikbuch.de>
5//
6// This program is free software; you can redistribute it and/or modify
7// it under the terms of the GNU General Public License as published by
8// the Free Software Foundation; either version 2 of the License, or
9// (at your option) any later version.
10//
11// This program 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//
17// You should have received a copy of the GNU General Public License
18// along with this program; if not, write to the Free Software
19// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20//
21// SPDX-License-Identifier: GPL-2.0+
22
27#ifndef WXMATHML_H
28#define WXMATHML_H
29
30#include <cstddef>
31#include "precomp.h"
32#include "Configuration.h"
33#include <wx/string.h>
34#include <wx/tokenzr.h>
35
37{
38public:
39 explicit wxMathML(Configuration *config);
40 wxString GetCmd();
42 static void Set_MathML_Filename(const wxString &filename) {m_wxMathML_file = filename;}
44 static const wxString& Get_MathML_Filename() {return m_wxMathML_file;}
45private:
47 static wxString m_wxMathML_file;
48 wxString m_wxMathML;
49 Configuration *m_configuration = NULL;
50 static wxString m_maximaCMD;
51};
52
53#endif
The configuration storage for the current worksheet.
Definition: Configuration.h:85
Definition: wxMathml.h:37
static const wxString & Get_MathML_Filename()
The name to read wxMathML.lisp from. If empty we use the builtin file.
Definition: wxMathml.h:44
static void Set_MathML_Filename(const wxString &filename)
Read the wxMathML.lisp from the file filename instead from the builtin data.
Definition: wxMathml.h:42