[gnome-calculator/60-split-out-a-backend-library: 7/39] gcalc: add MathEquation interface
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/60-split-out-a-backend-library: 7/39] gcalc: add MathEquation interface
- Date: Fri, 4 Jan 2019 16:34:49 +0000 (UTC)
commit 19fd5b513b95731985c7860b521cf0f1ca859da8
Author: Daniel Espinosa <esodan gmail com>
Date: Wed Dec 5 18:54:11 2018 -0600
gcalc: add MathEquation interface
gcalc/gcalc-math-equation.vala | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
---
diff --git a/gcalc/gcalc-math-equation.vala b/gcalc/gcalc-math-equation.vala
new file mode 100644
index 00000000..7c4f5fcd
--- /dev/null
+++ b/gcalc/gcalc-math-equation.vala
@@ -0,0 +1,26 @@
+/* gcalc-math-equation.vala
+ *
+ * Copyright (C) 2018 Daniel Espinosa <esodan gmail com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Daniel Espinosa <esodan gmail com>
+ */
+public interface GCalc.MathEquation : Object {
+ public abstract Solver solver { get; }
+ public abstract string expresion { get; }
+ public abstract Result resolve ();
+}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]