00001 /***************************************************************************** 00002 * Copyright (C) 1997-2007, Mark Hummel 00003 * This file is part of Vrq. 00004 * 00005 * Vrq is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * Vrq 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 GNU 00013 * General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301 USA 00019 ***************************************************************************** 00020 */ 00021 /****************************************************************************** 00022 * 00023 * 00024 * systask.hpp 00025 * - manager for systask info 00026 * 00027 ****************************************************************************** 00028 */ 00029 00030 #ifndef SYSTASK_HPP 00031 #define SYSTASK_HPP 00032 00036 class Systask { 00037 public: 00041 static void Initialize() {} 00048 static int Width( CSymbol* symbol, CNode* args ) { return 32; } 00055 static CNode* WidthExp( CSymbol* symbol, CNode* args ) 00056 { return cINT32(32); } 00065 static int WidthConstant( CSymbol* symbol, CNode* args ) 00066 { return FALSE; } 00075 static int WidthVolatile( CSymbol* symbol, CNode* args ) 00076 { return TRUE; } 00084 static int WidthEvaluateable( CSymbol* symbol, CNode* args ) 00085 { return FALSE; } 00093 static NodeType_t Type( CSymbol* symbol, CNode* args ) { return eB; } 00094 }; 00095 00096 #endif // SYSTASK_HPP