<commit_before>/*
	'frdkernl.h' by <NAME> (http://zeusw.org/).

	 This file is part of 'eSketch' software.

    'eSketch' 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, either version 3 of the License, or
    (at your option) any later version.

    'eSketch' 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 'eSketch'.  If not, see <http://www.gnu.org/licenses/>.
*/

// $Id: frdkernl.h,v 1.3 2013/06/18 09:36:02 csimon Exp $

#ifndef FRDKERNL__INC
# define FRDKERNL__INC

# include "sktinf.h"
# include "sktapi.h"

# include "frdrgstry.h"

# include "sclfrntnd.h"

# include "frdkrn.h"

# include "csdsnc.h"
# include "csducl.h"
# include "xml.h"


namespace frdkernl {
	typedef frdkrn::kernel___ _kernel___;

	using frdkrn::status__;

	class kernel___
	: public _kernel___
	{
	protected:
		virtual void FRDKRNConnection( fblfrd::frontend___ &Frontend )
		{
			Statics.Init( Frontend );
			MyObject.Init( Frontend );
		}
		virtual void FRDKRNDisconnection( void )
		{
			Statics.reset();
			MyObject.reset();
		}
	public:
		esketch::statics___ Statics;
		esketch::skt_myobject_common__ MyObject;
		void reset( bso::bool__ P = true )
		{
			_kernel___::reset( P );
			Statics.reset( P );
			MyObject.reset( P );
		}
		kernel___( void )
		{
			reset( false );
		}
		~kernel___( void )
		{
			reset();
		}
		status__ Init(
			const rgstry::multi_level_registry_ &Registry,
			const lcl::locale_ &Locale,
			const char *Language,
			frdkrn::reporting_callbacks__ &ReportingCallbacks,
			const char *LauncherIdentification )
		{
			// Les autres objets sont initialiss lors de la connection.

			return _kernel___::Init( Registry, Locale, Language, ReportingCallbacks, LauncherIdentification );
		}
		void Report( const char *Message )
		{
			sclfrntnd::Report( *this, Message );
		}
		void Notify( const char *Message )
		{
			sclfrntnd::Notify( *this, Message );
		}
	};

}<commit_msg>12/12/2014 12:10:59<commit_after>/*
	'frdkernl.h' by <NAME> (http://zeusw.org/).

	 This file is part of 'eSketch' software.

    'eSketch' 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, either version 3 of the License, or
    (at your option) any later version.

    'eSketch' 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 'eSketch'.  If not, see <http://www.gnu.org/licenses/>.
*/

// $Id: frdkernl.h,v 1.3 2013/06/18 09:36:02 csimon Exp $

#ifndef FRDKERNL__INC
# define FRDKERNL__INC

# include "sktinf.h"
# include "sktapi.h"

# include "frdrgstry.h"

# include "sclfrntnd.h"

# include "frdkrn.h"

# include "csdsnc.h"
# include "csducl.h"
# include "xml.h"


namespace frdkernl {
	typedef frdkrn::kernel___ _kernel___;

	using frdkrn::status__;

	class kernel___
	: public _kernel___
	{
	protected:
		virtual void FRDKRNConnection( fblfrd::frontend___ &Frontend )
		{
			Statics.Init( Frontend );
			MyObject.Init( Frontend );
		}
		virtual void FRDKRNDisconnection( void )
		{
			Statics.reset();
			MyObject.reset();
		}
	public:
		esketch::statics___ Statics;
		esketch::skt_myobject_common__ MyObject;
		void reset( bso::bool__ P = true )
		{
			_kernel___::reset( P );
			Statics.reset( P );
			MyObject.reset( P );
		}
		E_CDTOR( kernel___ );
		status__ Init(
			const rgstry::multi_level_registry_ &Registry,
			const lcl::locale_ &Locale,
			const char *Language,
			frdkrn::reporting_callbacks__ &ReportingCallbacks,
			const char *LauncherIdentification )
		{
			// Les autres objets sont initialiss lors de la connection.

			return _kernel___::Init( Registry, Locale, Language, ReportingCallbacks, LauncherIdentification );
		}
		void Report( const char *Message )
		{
			sclfrntnd::Report( *this, Message );
		}
		void Notify( const char *Message )
		{
			sclfrntnd::Notify( *this, Message );
		}
	};

}
{'fraction_non_alphanumeric': 0.10307898259705489, 'fraction_numerical': 0.0107095046854083, 'mean_word_length': 3.5512690355329948, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6948661', 'n_tokens_mistral': 1718, 'n_tokens_neox': 1519, 'n_words': 462}