SCalc
|
00001 /* 00002 scalc.hh, copyright (c) 2006 by Vincent Fourmond: 00003 The public interface for SCalc 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details (in the COPYING file). 00014 00015 */ 00016 00017 #ifndef _SCALC_HH 00018 #define _SCALC_HH 00019 00020 /* STL templates */ 00021 #include <iostream> 00022 #include <string> 00023 #include <vector> 00024 #include <map> 00025 #include <set> 00026 00027 #ifdef SCALC_LIB 00028 # include <session.hh> 00029 # include <expression.hh> 00030 // syntax errors: 00031 # include <syntax.hh> 00032 // functions 00033 # include <functions.hh> 00034 #else 00035 # include <scalc/session.hh> 00036 # include <scalc/expression.hh> 00037 // syntax errors: 00038 # include <scalc/syntax.hh> 00039 // functions 00040 # include <scalc/functions.hh> 00041 #endif 00042 00043 #endif