// $Id: tab.h,v 1.11 2001/09/14 05:31:34 ericb Exp $ -*- c++ -*- // // This software is subject to the terms of the IBM Jikes Compiler // License Agreement available at the following URL: // http://ibm.com/developerworks/opensource/jikes. // Copyright (C) 1996, 1998, 1999, 2000, 2001 International Business // Machines Corporation and others. All Rights Reserved. // You must accept the terms of that agreement to use this software. // #ifndef tab_INCLUDED #define tab_INCLUDED #include "platform.h" #ifdef HAVE_JIKES_NAMESPACE namespace Jikes { // Open namespace Jikes block #endif class Tab { public: enum { DEFAULT_TAB_SIZE = 8 }; inline static int TabSize() { return tab_size; } inline static void SetTabSize(int value) { tab_size = value; } static int Wcslen(wchar_t *line, int start, int end); private: static int tab_size; }; #ifdef HAVE_JIKES_NAMESPACE } // Close namespace Jikes block #endif #endif // tab_INCLUDED