<commit_before>#pragma once
#include <GLFW/glfw3.h>
#include <string>

/// Class that controls and creates a window.
class Window {
    public:
        /// Constructor
        Window::Window();

        /// Sets a GLFW window hint. Has to be called before creating window.
        /**
         * @param field The field that will be set.
         * @param value The value to set.
         */
        void setWindowHint(int field, int value);

        /// Creates a GLFW window.
        /**
         * @param windowTitle The title of the glfw window.
         * @return Created GLFW window.
         */
        GLFWwindow* createWindow(const std::string& windowTitle);<commit_msg>Added destructor.<commit_after>#pragma once
#include <GLFW/glfw3.h>
#include <string>

/// Class that controls and creates a window.
class Window {
    public:
        /// Constructor
        Window();

        /// Destructor
        ~Window();

        /// Sets a GLFW window hint. Has to be called before creating window.
        /**
         * @param field The field that will be set.
         * @param value The value to set.
         */
        void setWindowHint(int field, int value);

        /// Creates a GLFW window.
        /**
         * @param windowTitle The title of the glfw window.
         * @return Created GLFW window.
         */
        GLFWwindow* createWindow(const std::string& windowTitle);
{'fraction_non_alphanumeric': 0.1017921146953405, 'fraction_numerical': 0.0014336917562724014, 'mean_word_length': 1.8489795918367347, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3906148', 'n_tokens_mistral': 373, 'n_tokens_neox': 367, 'n_words': 140}