<commit_before>/*
 * GraphCollection.h
 *
 * Copyright (C) 2019 by Universitaet Stuttgart (VIS).
 * Alle Rechte vorbehalten.
 */

#ifndef MEGAMOL_GUI_GRAPH_GRAPHCOLLECTION_PRESENTATION_H_INCLUDED
#define MEGAMOL_GUI_GRAPH_GRAPHCOLLECTION_PRESENTATION_H_INCLUDED


#include "GUIUtils.h"
#include "widgets/FileBrowserWidget.h"
#include "widgets/MinimalPopUp.h"

#include "mmcore/CoreInstance.h"
#include "mmcore/MegaMolGraph.h"
#include "mmcore/Module.h"
#include "mmcore/param/AbstractParam.h"
#include "mmcore/param/ParamSlot.h"
#include "mmcore/utility/plugins/AbstractPluginInstance.h"

#include "utility/plugins/PluginManager.h"


namespace megamol {
namespace gui {


// Forward declarations
class GraphCollection;


/** ************************************************************************
 * Defines GUI graph collection presentation.
 */
class GraphCollectionPresentation {
public:
    friend class GraphCollection;
    // FUNCTIONS --------------------------------------------------------------

    GraphCollectionPresentation(void);
    ~GraphCollectionPresentation(void);

    void SaveProjectToFile(bool open_popup, GraphCollection& inout_graph_collection, GraphState_t& state);

private:
    // VARIABLES --------------------------------------------------------------

    FileBrowserWidget file_browser;
    ImGuiID graph_delete_uid;

    // FUNCTIONS --------------------------------------------------------------

    void Present(GraphCollection& inout_graph_collection, GraphState_t& state);
};


} // namespace gui
} // namespace megamol

#endif // MEGAMOL_GUI_GRAPH_GRAPHCOLLECTION_PRESENTATION_H_INCLUDED
<commit_msg>removed useless header<commit_after>/*
 * GraphCollection.h
 *
 * Copyright (C) 2019 by Universitaet Stuttgart (VIS).
 * Alle Rechte vorbehalten.
 */

#ifndef MEGAMOL_GUI_GRAPH_GRAPHCOLLECTION_PRESENTATION_H_INCLUDED
#define MEGAMOL_GUI_GRAPH_GRAPHCOLLECTION_PRESENTATION_H_INCLUDED


#include "GUIUtils.h"
#include "widgets/FileBrowserWidget.h"
#include "widgets/MinimalPopUp.h"

#include "mmcore/CoreInstance.h"
#include "mmcore/Module.h"
#include "mmcore/param/AbstractParam.h"
#include "mmcore/param/ParamSlot.h"
#include "mmcore/utility/plugins/AbstractPluginInstance.h"

#include "utility/plugins/PluginManager.h"


namespace megamol {
namespace gui {


// Forward declarations
class GraphCollection;


/** ************************************************************************
 * Defines GUI graph collection presentation.
 */
class GraphCollectionPresentation {
public:
    friend class GraphCollection;
    // FUNCTIONS --------------------------------------------------------------

    GraphCollectionPresentation(void);
    ~GraphCollectionPresentation(void);

    void SaveProjectToFile(bool open_popup, GraphCollection& inout_graph_collection, GraphState_t& state);

private:
    // VARIABLES --------------------------------------------------------------

    FileBrowserWidget file_browser;
    ImGuiID graph_delete_uid;

    // FUNCTIONS --------------------------------------------------------------

    void Present(GraphCollection& inout_graph_collection, GraphState_t& state);
};


} // namespace gui
} // namespace megamol

#endif // MEGAMOL_GUI_GRAPH_GRAPHCOLLECTION_PRESENTATION_H_INCLUDED

{'fraction_non_alphanumeric': 0.23603437691835483, 'fraction_numerical': 0.0024554941682013503, 'mean_word_length': 3.008610086100861, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '973881', 'n_tokens_mistral': 964, 'n_tokens_neox': 906, 'n_words': 166}