<commit_before>#ifndef _FASTCGI_QT_MANAGER_H
#define _FASTCGI_QT_MANAGER_H

#include "Responder.h"

#include <QObject>

namespace FastCgiQt
{
	class ManagerPrivate;
	class Manager : public QObject
	{
		Q_OBJECT
		public:
			Manager(ResponderGenerator responderGenerator, QObject* parent = NULL);
			~Manager();
		private:
			ManagerPrivate* d;
	};
}

#endif
<commit_msg>document Manager class<commit_after>#ifndef _FASTCGI_QT_MANAGER_H
#define _FASTCGI_QT_MANAGER_H

#include "Responder.h"

#include <QObject>

namespace FastCgiQt
{
	class ManagerPrivate;
	/** Class managing FastCGI connections.
	 *
	 * This class is responsible for listening to the FastCGI socket,
	 * and acting on whatever data is received.
	 * 
	 * This includes spawning Responder classes.
	 */
	class Manager : public QObject
	{
		Q_OBJECT
		public:
			/** Create a Manager.
			 *
			 * @param responderGenerator is a pointer to a function creating Responder objects.
			 * @param parent is the parent object.
			 */
			Manager(ResponderGenerator responderGenerator, QObject* parent = NULL);
			/// Destroy the Manager.
			~Manager();
		private:
			///@internal
			ManagerPrivate* d;
	};
}

#endif

{'fraction_non_alphanumeric': 0.08780903665814152, 'fraction_numerical': 0.0, 'mean_word_length': 3.9327731092436973, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2199385', 'n_tokens_mistral': 431, 'n_tokens_neox': 377, 'n_words': 108}