summaryrefslogtreecommitdiff
path: root/noncore/tools/calc2/binary/binaryimpl.cpp
authormickeyl <mickeyl>2005-08-23 21:48:49 (UTC)
committer mickeyl <mickeyl>2005-08-23 21:48:49 (UTC)
commitc1fc89afc42b1a8781b92b581f5be19916e2b69d (patch) (unidiff)
tree1f3d28c9833e35faea981c75f675e14cc026c04b /noncore/tools/calc2/binary/binaryimpl.cpp
parentbe9fe5d9bbb4ff207f5a5315731d204fa23e0527 (diff)
downloadopie-c1fc89afc42b1a8781b92b581f5be19916e2b69d.zip
opie-c1fc89afc42b1a8781b92b581f5be19916e2b69d.tar.gz
opie-c1fc89afc42b1a8781b92b581f5be19916e2b69d.tar.bz2
make it compile
Diffstat (limited to 'noncore/tools/calc2/binary/binaryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/calc2/binary/binaryimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/calc2/binary/binaryimpl.cpp b/noncore/tools/calc2/binary/binaryimpl.cpp
index ecbf232..2629d07 100644
--- a/noncore/tools/calc2/binary/binaryimpl.cpp
+++ b/noncore/tools/calc2/binary/binaryimpl.cpp
@@ -10,25 +10,25 @@
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20 20
21#include "binaryimpl.h" 21#include "binaryimpl.h"
22#include "../instruction.h" 22#include "instruction.h"
23 23
24class iXOR : public Instruction { 24class iXOR : public Instruction {
25public: 25public:
26 iXOR():Instruction(){}; 26 iXOR():Instruction(){};
27 ~iXOR(){}; 27 ~iXOR(){};
28 Data eval(Data num) { 28 Data eval(Data num) {
29 Data result; 29 Data result;
30 result.i = num.i ^ acc.i; 30 result.i = num.i ^ acc.i;
31 return result; 31 return result;
32 }; 32 };
33}; 33};
34class iAND : public Instruction { 34class iAND : public Instruction {