/**
 * @file
 * $Id$
 * $Revision$
 * $Author$
 * $Date$
 *
 * This file is part of The iWear Framework.
 * In particular this file is part of the Framework Core Library
 *
 * The iWear Framework is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the
 * Free Software Foundation as in version 2 of the License.

 * 
 * The iWear Framework is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * The iWear Framework; if not, write to the Free Software Foundation, Inc., 59
 * Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef __IWEAR_DEBUGAREA_H
#define __IWEAR_DEBUGAREA_H

namespace iwear {

class debugarea 
{
private:
protected:
public:

    int value;

    debugarea( int ar ) : value(ar)
		    { }

    static debugarea area( int ar ) 
    {
	return debugarea(ar);
    }

    // This should not be used by code
    static const debugarea legacy; /// == 0

    // List of registered areas
    static const debugarea iwear_core; /// == 1
    static const debugarea iwear_net; /// == 2
    static const debugarea iwear_sensor; /// == 3
    static const debugarea iwear_thread; /// == 4
    static const debugarea iwear_rpc; /// == 5
    static const debugarea iwear_rpc_autogen; /// == 6
    static const debugarea iwear_scopetrace; /// == 7
    static const debugarea iwear_event; /// == 8
    static const debugarea iwear_config; /// == 9
    static const debugarea iwear_i18n; /// == 10
    static const debugarea iwear_location; /// == 11
    static const debugarea iwear_wlan; /// == 12
};

inline bool operator<( const debugarea& a, const debugarea& b )
{
    return( a.value < b.value );
}

}
#endif
