<commit_before>/* File name : application.h
 * File type : Header
 * Author : <NAME>
 * Creation : 2015
 * Desc. : Prism main application implementation
 * Dependencies :   <Prism/config.h>,
                    <Prism/sigslot.h>,
                    <Prism/library.h>
*/

#ifndef H_PRISM_APPLICATION_INCLUDED
#define H_PRISM_APPLICATION_INCLUDED

#include <Prism/config.h>
#include <Prism/sigslot.h>
#include <Prism/library.h>

PR_CPP_PROTECT_ON

    extern PRISM_API int    Pr_InitApp(void);
    extern PRISM_API int    Pr_ExecApp(void);
    extern PRISM_API int    Pr_ImportLibApp(Pr_Library *);
    extern PRISM_API int    Pr_RegisterWindow(Pr_WindowRef);
    extern PRISM_API void   Pr_UnregisterWindow(Pr_WindowRef);

    /**< signals >*/

    extern PRISM_API PR_SIGNAL(Pr_KeyDown)(void);         /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_KeyUp)(void);           /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_MouseButtonDown)(void); /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_MouseButtonUp)(void);   /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_MouseMoved)(void);      /**< (int,int) >*/
    extern PRISM_API PR_SIGNAL(Pr_AppStarted)(void);      /**< (void) >*/
    extern PRISM_API PR_SIGNAL(Pr_AppQuitted(void));      /**< (void) >*/

    /**< slots >*/

    PR_SLOT_EXTERN_API(Pr_QuitApp)(void);

PR_CPP_PROTECT_OFF

#endif /* H_PRISM_APPLICATION_INCLUDED */<commit_msg>Fixed spacing + convenience prototyping<commit_after>/* File name : application.h
 * File type : Header
 * Author : <NAME>
 * Creation : 2015
 * Desc. : Prism main application implementation
 * Dependencies :   <Prism/config.h>,
                    <Prism/sigslot.h>,
                    <Prism/library.h>
*/

#ifndef H_PRISM_APPLICATION_INCLUDED
#define H_PRISM_APPLICATION_INCLUDED

#include <Prism/config.h>
#include <Prism/types.h>
#include <Prism/sigslot.h>

PR_CPP_PROTECT_ON

    extern PRISM_API pr_bool_t  Pr_InitApp(void);
    extern PRISM_API int        Pr_ExecApp(void);
    extern PRISM_API pr_bool_t  Pr_RegisterWindow(Pr_WindowRef);
    extern PRISM_API void       Pr_UnregisterWindow(Pr_WindowRef);

    /**< signals >*/

    extern PRISM_API PR_SIGNAL(Pr_KeyDown)(void);         /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_KeyUp)(void);           /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_MouseButtonDown)(void); /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_MouseButtonUp)(void);   /**< (int) >*/
    extern PRISM_API PR_SIGNAL(Pr_MouseMoved)(void);      /**< (int, int) >*/
    extern PRISM_API PR_SIGNAL(Pr_AppStarted)(void);      /**< (void) >*/
    extern PRISM_API PR_SIGNAL(Pr_AppQuitted(void));      /**< (void) >*/

    /**< slots >*/

    PR_SLOT_EXTERN_API(Pr_QuitApp)(void);

PR_CPP_PROTECT_OFF

#endif /* H_PRISM_APPLICATION_INCLUDED */
{'fraction_non_alphanumeric': 0.1370503597122302, 'fraction_numerical': 0.0028776978417266188, 'mean_word_length': 3.3726415094339623, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '635643', 'n_tokens_mistral': 1064, 'n_tokens_neox': 992, 'n_words': 170}