<commit_before>/*
    Kopete Oscar Protocol
    oscartypes.h - Oscar Type Definitions

    Copyright (c) 2004 <NAME> <<EMAIL>>

    Kopete (c) 2002-2004 by the Kopete developers <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * This library is free software; you can redistribute it and/or         *
    * modify it under the terms of the GNU Lesser General Public            *
    * License as published by the Free Software Foundation; either          *
    * version 2 of the License, or (at your option) any later version.      *
    *                                                                       *
    *************************************************************************
*/

#ifndef _OSCARTYPES_H_
#define _OSCARTYPES_H_

#include "oscartypeclasses.h"
#include "oscarguid.h"
#include <qglobal.h>
#include <qdatetime.h>
#include <qstring.h>

#define XSTATUSCAPS 32

//! Debug Areas
const int OSCAR_RAW_DEBUG = 14151;
const int OSCAR_GEN_DEBUG = 14150;
const int OSCAR_AIM_DEBUG = 14152;
const int OSCAR_ICQ_DEBUG = 14153;

namespace Oscar
{
//! Capabilities
enum Capability
{
	CAP_CHAT = 0, CAP_VOICE, CAP_SENDFILE, CAP_DIRECT_ICQ_COMMUNICATION, CAP_IMIMAGE, CAP_BUDDYICON, CAP_SAVESTOCKS,
	CAP_GETFILE, CAP_ICQSERVERRELAY, CAP_GAMES, CAP_GAMES2, CAP_SENDBUDDYLIST, CAP_RTFMSGS, CAP_IS_2001,
	CAP_TRILLIAN, CAP_TRILLIANCRYPT, CAP_APINFO, CAP_UTF8, CAP_TYPING, CAP_INTEROPERATE, CAP_KOPETE, CAP_MICQ,
	CAP_MACICQ, CAP_SIMOLD, CAP_SIMNEW, CAP_XTRAZ, CAP_STR_2001, CAP_STR_2002, CAP_XTRAZ_MULTIUSER_CHAT,
	CAP_DEVILS, CAP_NEWCAPS, CAP_UNKNOWN1, CAP_UNKNOWN2, CAP_UNKNOWN3, CAP_LAST
};

Q_DECLARE_FLAGS( Capabilities, Capability );

const Guid oscar_caps[] =
{
	//CAP_CHAT,
	Guid( QLatin1String( "748f2420628711d18222444553540000" ) ),

	//CAP_VOICE,
	Guid( QLatin1String( "094613414c7f11d18222444553540000" ) ),

	// CAP_SENDFILE,
	Guid( QLatin1String( "094613434c7f11d18222444553540000" ) ),

	// CAP_DIRECT_ICQ_COMMUNICATION,
	Guid( QLatin1String( "094613444c7f11d18222444553540000" ) ),

	// CAP_IMIMAGE,
	Guid( QLatin1String( "094613454c7f11d18222444553540000" ) ),

	// CAP_BUDDYICON,
	Guid( QLatin1String( "094613464c7f11d18222444553540000" ) ),

	// CAP_SAVESTOCKS,
	Guid( QLatin1String( "094613474c7f11d18222444553540000" ) ),

	// CAP_GETFILE,<commit_msg>compile++<commit_after>/*
    Kopete Oscar Protocol
    oscartypes.h - Oscar Type Definitions

    Copyright (c) 2004 <NAME> <<EMAIL>>

    Kopete (c) 2002-2004 by the Kopete developers <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * This library is free software; you can redistribute it and/or         *
    * modify it under the terms of the GNU Lesser General Public            *
    * License as published by the Free Software Foundation; either          *
    * version 2 of the License, or (at your option) any later version.      *
    *                                                                       *
    *************************************************************************
*/

#ifndef _OSCARTYPES_H_
#define _OSCARTYPES_H_

#include "oscartypeclasses.h"
#include "oscarguid.h"
#include <qglobal.h>
#include <qdatetime.h>
#include <qstring.h>

#define XSTATUSCAPS 32

//! Debug Areas
const int OSCAR_RAW_DEBUG = 14151;
const int OSCAR_GEN_DEBUG = 14150;
const int OSCAR_AIM_DEBUG = 14152;
const int OSCAR_ICQ_DEBUG = 14153;

namespace Oscar
{
//! Capabilities
enum Capability
{
	CAP_CHAT = 0, CAP_VOICE, CAP_SENDFILE, CAP_DIRECT_ICQ_COMMUNICATION, CAP_IMIMAGE, CAP_BUDDYICON, CAP_SAVESTOCKS,
	CAP_GETFILE, CAP_ICQSERVERRELAY, CAP_GAMES, CAP_GAMES2, CAP_SENDBUDDYLIST, CAP_RTFMSGS, CAP_IS_2001,
	CAP_TRILLIAN, CAP_TRILLIANCRYPT, CAP_APINFO, CAP_UTF8, CAP_TYPING, CAP_INTEROPERATE, CAP_KOPETE, CAP_MICQ,
	CAP_MACICQ, CAP_SIMOLD, CAP_SIMNEW, CAP_XTRAZ, CAP_STR_2001, CAP_STR_2002, CAP_XTRAZ_MULTIUSER_CHAT,
	CAP_DEVILS, CAP_NEWCAPS, CAP_UNKNOWN1, CAP_UNKNOWN2, CAP_UNKNOWN3, CAP_LAST
};

Q_DECLARE_FLAGS( Capabilities, Capability )

const Guid oscar_caps[] =
{
	//CAP_CHAT,
	Guid( QLatin1String( "748f2420628711d18222444553540000" ) ),

	//CAP_VOICE,
	Guid( QLatin1String( "094613414c7f11d18222444553540000" ) ),

	// CAP_SENDFILE,
	Guid( QLatin1String( "094613434c7f11d18222444553540000" ) ),

	// CAP_DIRECT_ICQ_COMMUNICATION,
	Guid( QLatin1String( "094613444c7f11d18222444553540000" ) ),

	// CAP_IMIMAGE,
	Guid( QLatin1String( "094613454c7f11d18222444553540000" ) ),

	// CAP_BUDDYICON,
	Guid( QLatin1String( "094613464c7f11d18222444553540000" ) ),

	// CAP_SAVESTOCKS,
	Guid( QLatin1String( "094613474c7f11d18222444553540000" ) ),

	// CAP_GETFILE,
{'fraction_non_alphanumeric': 0.1444050843925818, 'fraction_numerical': 0.11002292144196707, 'mean_word_length': 3.682926829268293, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5092230', 'n_tokens_mistral': 2160, 'n_tokens_neox': 1695, 'n_words': 347}