<commit_before>/*  This file is part of the KDE project
    Copyright (C) 2006 <NAME> <<EMAIL>>

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License version 2 as published by the Free Software Foundation.

    This library 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
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public License
    along with this library; see the file COPYING.LIB.  If not, write to
    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301, USA.

*/

#ifndef PHONON_BASE_H
#define PHONON_BASE_H

#include "phonondefs.h"
#include <kdelibs_export.h>

namespace Phonon
{
	class BasePrivate;
	class BaseDestructionHandler;

	/**
	 * \internal
	 *
	 * \author <NAME> <<EMAIL>>
	 */
	class PHONONCORE_EXPORT Base
	{
		K_DECLARE_PRIVATE( Base )
		protected:
			/**
			 * Standard QObject constructor.
			 *
			 * \param d private object
			 * \param parent QObject parent
			 */
			Base( BasePrivate& d );

			virtual ~Base();

		public:
			/**
			 * \internal
			 * This class has its own destroyed signal since some cleanup calls
			 * need the pointer to the Ifaces object intact. The
			 * QObject::destroyed signals comes after the Ifaces object was
			 * deleted.
			 */
			void addDestructionHandler( BaseDestructionHandler* handler );
			void removeDestructionHandler( BaseDestructionHandler* handler );

		protected:
			BasePrivate* k_ptr;
	};
} //namespace Phonon

// vim: sw=4 ts=4 tw=80 noet
#endif // PHONON_BASE_H<commit_msg>finish (internal) docs<commit_after>/*  This file is part of the KDE project
    Copyright (C) 2006 <NAME> <<EMAIL>>

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License version 2 as published by the Free Software Foundation.

    This library 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
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public License
    along with this library; see the file COPYING.LIB.  If not, write to
    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301, USA.

*/

#ifndef PHONON_BASE_H
#define PHONON_BASE_H

#include "phonondefs.h"
#include <kdelibs_export.h>

namespace Phonon
{
	class BasePrivate;
	class BaseDestructionHandler;

	/**
	 * \internal
	 * Base class for all %Phonon frontend classes.
	 *
	 * \author <NAME> <<EMAIL>>
	 */
	class PHONONCORE_EXPORT Base
	{
		K_DECLARE_PRIVATE( Base )
		protected:
			/**
			 * \internal
			 * \param d private object
			 */
			Base( BasePrivate& d );

			virtual ~Base();

		public:
			/**
			 * \internal
			 * This class has its own destroyed signal since some cleanup calls
			 * need the pointer to the Ifaces object intact. The
			 * QObject::destroyed signals comes after the Ifaces object was
			 * deleted.
			 *
			 * As this class cannot derive from QObject a simple handler
			 * interface is used.
			 */
			void addDestructionHandler( BaseDestructionHandler* handler );
			/**
			 * \internal
			 * This class has its own destroyed signal since some cleanup calls
			 * need the pointer to the Ifaces object intact. The
			 * QObject::destroyed signals comes after the Ifaces object was
			 * deleted.
			 *
			 * As this class cannot derive from QObject a simple handler
			 * interface is used.
			 */
			void removeDestructionHandler( BaseDestructionHandler* handler );

		protected:
			/**
			 * \internal
			 * private data pointer
			 */
			BasePrivate* k_ptr;
	};
} //namespace Phonon

// vim: sw=4 ts=4 tw=80 noet
#endif // PHONON_BASE_H
{'fraction_non_alphanumeric': 0.07137601177336277, 'fraction_numerical': 0.009811135638950209, 'mean_word_length': 3.078, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4562031', 'n_tokens_mistral': 1309, 'n_tokens_neox': 1105, 'n_words': 492}