summaryrefslogtreecommitdiff
path: root/src/cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cell.h')
-rw-r--r--src/cell.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/cell.h b/src/cell.h
new file mode 100644
index 0000000..5b38403
--- /dev/null
+++ b/src/cell.h
@@ -0,0 +1,20 @@
+
+#ifndef __INCLUDED_SUDOKUSOLVER_CELL__
+#define __INCLUDED_SUDOKUSOLVER_CELL__
+
+class Cell {
+
+public:
+ Cell();
+
+ // inspector
+ inline int value() const { return cell_value; }
+
+ // mutator
+ void set_value(int value);
+
+private:
+ int cell_value;
+};
+
+#endif // __INCLUDED_SUDOKUSOLVER_CELL__