summaryrefslogtreecommitdiff
path: root/test-tycbutton/src/buttonChecker.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2014-03-14 00:51:24 +0000
committerComment <tim@gray.(none)>2014-03-14 00:51:24 +0000
commitbb852cee91b52b71fccade7d4a1ef065eb0de2f0 (patch)
tree97ded3b49faa5d444fa5e9e6c9e58a04d8440afc /test-tycbutton/src/buttonChecker.cpp
parent8072eb4d248debf2d049548dd5dec21cc0152c52 (diff)
nice
Diffstat (limited to 'test-tycbutton/src/buttonChecker.cpp')
-rw-r--r--test-tycbutton/src/buttonChecker.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-tycbutton/src/buttonChecker.cpp b/test-tycbutton/src/buttonChecker.cpp
new file mode 100644
index 0000000..b8170e8
--- /dev/null
+++ b/test-tycbutton/src/buttonChecker.cpp
@@ -0,0 +1,8 @@
+#include "buttonChecker.h"
+
+long ofToLong(const string& intString) {
+ long x = 0;
+ istringstream cur(intString);
+ cur >> x;
+ return x;
+} \ No newline at end of file