id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12,633 | TouchDisableX11.cpp | xournalpp_xournalpp/src/core/gui/inputdevices/touchdisable/TouchDisableX11.cpp | #include "TouchDisableX11.h"
#ifdef X11_ENABLED
#include <X11/Xatom.h> // for XA_INTEGER
#include <X11/extensions/XI.h> // for XI_TOUCHSCREEN
#include <gdk/gdk.h> // for gdk_display_get_default
#include <gdk/gdkx.h> // for gdk_x11_display_get_xdisplay
#include <glib.h> // ... | 2,264 | C++ | .cpp | 66 | 28.909091 | 101 | 0.634862 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,634 | TouchDisableInterface.cpp | xournalpp_xournalpp/src/core/gui/inputdevices/touchdisable/TouchDisableInterface.cpp | #include "TouchDisableInterface.h"
TouchDisableInterface::TouchDisableInterface() = default;
TouchDisableInterface::~TouchDisableInterface() = default;
void TouchDisableInterface::init() {}
| 193 | C++ | .cpp | 4 | 46.5 | 58 | 0.83871 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,635 | Mask.cpp | xournalpp_xournalpp/src/core/view/Mask.cpp | #include "Mask.h"
#include <iostream>
#include <cairo.h>
#include "util/Assert.h"
#include "util/Range.h"
#include "util/safe_casts.h" // for ceil_cast, floor_cast
#include "config-debug.h"
using namespace xoj::view;
#ifdef DEBUG_MASKS
#include <string>
namespace { // cairo helper functions, for handling variou... | 7,441 | C++ | .cpp | 179 | 34.122905 | 118 | 0.626692 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,636 | StrokeView.cpp | xournalpp_xournalpp/src/core/view/StrokeView.cpp | #include "StrokeView.h"
#include <algorithm> // for max
#include <cmath> // for ceil
#include <glib.h> // for g_warning
#include "model/Stroke.h" // for Stroke, StrokeTool::HIGHLIGHTER
#include "util/Assert.h" // for xoj_assert
#include "util/Color.h" // for cairo_set_source_rgbi
#include "util/Re... | 5,938 | C++ | .cpp | 139 | 34.697842 | 117 | 0.613798 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,637 | ElementContainerView.cpp | xournalpp_xournalpp/src/core/view/ElementContainerView.cpp | #include "ElementContainerView.h"
#include <memory> // for unique_ptr
#include "model/ElementContainer.h" // for ElementContainer
#include "View.h" // for ElementView
class Element;
using namespace xoj::view;
ElementContainerView::ElementContainerView(const ElementContainer* container): container(container) {}... | 537 | C++ | .cpp | 13 | 37.923077 | 102 | 0.758221 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,638 | ImageView.cpp | xournalpp_xournalpp/src/core/view/ImageView.cpp | #include "ImageView.h"
#include <cairo.h> // for cairo_image_surface_get_height, cairo_image...
#include "model/Image.h" // for Image
#include "view/View.h" // for Context, OPACITY_NO_AUDIO, view
using namespace xoj::view;
ImageView::ImageView(const Image* image): image(image) {}
ImageView::~ImageView() = def... | 1,121 | C++ | .cpp | 26 | 38.692308 | 96 | 0.692237 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,639 | SetsquareView.cpp | xournalpp_xournalpp/src/core/view/SetsquareView.cpp | #include "SetsquareView.h"
#include <algorithm> // for max, min
#include <cmath> // for isnan, sqrt, cos, sin, atan2
#include <iomanip>
#include <sstream>
#include <utility> // for move
#include <glib.h> // for g_error, g_warning
#include "model/Setsquare.h" // for Setsquare
#include "model/Stroke.h... | 11,606 | C++ | .cpp | 247 | 40.813765 | 114 | 0.627862 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,640 | CompassView.cpp | xournalpp_xournalpp/src/core/view/CompassView.cpp | #include "CompassView.h"
#include <algorithm> // for max, min
#include <cmath> // for isnan, sqrt, cos, sin, atan2
#include <iomanip>
#include <sstream>
#include <utility> // for move
#include <glib.h> // for g_error, g_warning
#include "model/Compass.h" // for Compass
#include "model/Stroke.h" ... | 5,716 | C++ | .cpp | 129 | 39.472868 | 116 | 0.648741 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,641 | GeometryToolView.cpp | xournalpp_xournalpp/src/core/view/GeometryToolView.cpp | #include "GeometryToolView.h"
#include "control/zoom/ZoomControl.h"
#include "model/GeometryTool.h" // for GeometryTool
#include "model/Stroke.h" // for Stroke
#include "util/raii/CairoWrappers.h" // for CairoSaveGuard
#include "view/Repaintable.h" // for Repaintable
#include "view/View.h" ... | 2,611 | C++ | .cpp | 57 | 41.754386 | 116 | 0.714173 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,642 | ElementView.cpp | xournalpp_xournalpp/src/core/view/ElementView.cpp | #include <memory> // for make_unique, unique_ptr
#include "model/Element.h" // for Element, ELEMENT_IMAGE, ELEMENT_STROKE
#include "model/Image.h" // for Image
#include "model/Stroke.h" // for Stroke
#include "model/TexImage.h" // for TexImage
#include "model/Text.h" // for Text
#include "util/Assert.h... | 1,304 | C++ | .cpp | 28 | 41.142857 | 92 | 0.66195 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,643 | TextView.cpp | xournalpp_xournalpp/src/core/view/TextView.cpp | #include "TextView.h"
#include <algorithm> // for max
#include <cstddef> // for size_t
#include "model/Text.h" // for Text
#include "util/Color.h" // for cairo_set_source_rgbi
#include "util/StringUtils.h" // for StringUtils
#include "util/raii/CairoWrappers.h"
#include "util/raii/GObjectS... | 1,776 | C++ | .cpp | 39 | 41.307692 | 93 | 0.680209 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,644 | DocumentView.cpp | xournalpp_xournalpp/src/core/view/DocumentView.cpp | #include "DocumentView.h"
#include <memory> // for __shared_ptr_access, uni...
#include <vector> // for vector
#include <glib.h> // for g_message
#include "model/Layer.h" // for Layer
#include "model/XojPage.h" // for XojPage
#include "view/DebugShowRepaintBounds.h" // fo... | 3,835 | C++ | .cpp | 96 | 33.552083 | 120 | 0.630984 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,645 | StrokeViewHelper.cpp | xournalpp_xournalpp/src/core/view/StrokeViewHelper.cpp | #include "StrokeViewHelper.h"
#include "model/LineStyle.h"
#include "model/Point.h"
#include "util/Assert.h"
#include "util/LoopUtil.h"
#include "util/PairView.h"
#include "util/Util.h" // for cairo_set_dash_from_vector
void xoj::view::StrokeViewHelper::pathToCairo(cairo_t* cr, const std::vector<Point>& pts) {
f... | 2,083 | C++ | .cpp | 53 | 32.037736 | 118 | 0.611771 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,646 | TexImageView.cpp | xournalpp_xournalpp/src/core/view/TexImageView.cpp | #include "TexImageView.h"
#include <string> // for string
#include <cairo.h> // for cairo_paint_with_alpha, cairo_scale
#include <glib.h> // for g_warning
#include <poppler.h> // for PopplerPage, PopplerDocument, g_clear_...
#include "model/TexImage.h" // for TexImage
#include "v... | 2,816 | C++ | .cpp | 61 | 37.934426 | 98 | 0.626418 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,647 | LayerView.cpp | xournalpp_xournalpp/src/core/view/LayerView.cpp | #include "LayerView.h"
#include <memory> // for unique_ptr
#include <cairo.h> // for cairo_clip_extents, cairo_rectangle
#include <glib.h> // for g_message
#include "model/Element.h" // for Element
#include "model/Layer.h" // for Layer
#include "DebugShowRepaintBounds.h" // for IF_DEBUG_REPAINT
#include "V... | 1,546 | C++ | .cpp | 36 | 36.722222 | 99 | 0.624166 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,648 | ErasableStrokeView.cpp | xournalpp_xournalpp/src/core/view/ErasableStrokeView.cpp | #include "ErasableStrokeView.h"
#include <cmath> // for ceil
#include <iosfwd> // for ptrdiff_t
#include <iterator> // for next
#include <memory> // for allocator_traits<>::value_type
#include <vector> // for vector
#include "model/LineStyle.h" // for LineStyle
#include "model/PathParameter... | 11,755 | C++ | .cpp | 243 | 39.271605 | 120 | 0.595579 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,649 | StavesBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/StavesBackgroundView.cpp | #include "StavesBackgroundView.h"
#include "model/BackgroundConfig.h" // for BackgroundConfig
#include "view/background/BackgroundView.h" // for view
#include "view/background/OneColorBackgroundView.h" // for OneColorBackgrou...
#include "view/background/PlainBackgroundView.h" // for Pla... | 2,379 | C++ | .cpp | 44 | 46.113636 | 120 | 0.658348 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,650 | BackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/BackgroundView.cpp | #include "BackgroundView.h"
#include <glib.h> // for g_warning
#include "model/PageType.h" // for PageType, PageTy...
#include "model/XojPage.h" // for XojPage
#include "view/background/OneColorBackgroundView.h" // for OneColorBackgrou...
#include "DottedBackgroun... | 4,509 | C++ | .cpp | 87 | 43.183908 | 110 | 0.635478 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,651 | OneColorBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/OneColorBackgroundView.cpp | #include "OneColorBackgroundView.h"
#include <cstdint> // for uint32_t
#include "model/BackgroundConfig.h" // for BackgroundConfig
#include "view/background/BackgroundView.h" // for view
#include "view/background/PlainBackgroundView.h" // for PlainBackgroundView
using namespace background_confi... | 1,457 | C++ | .cpp | 26 | 47.230769 | 106 | 0.701335 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,652 | IsoDottedBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/IsoDottedBackgroundView.cpp | #include "IsoDottedBackgroundView.h"
#include "model/BackgroundConfig.h" // for BackgroundC...
#include "view/background/BackgroundView.h" // for view
#include "view/background/BaseIsometricBackgroundView.h" // for BaseIsometr...
using namespace xoj::view;
IsoDottedBackgroundView... | 1,324 | C++ | .cpp | 25 | 43.56 | 116 | 0.608527 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,653 | RuledBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/RuledBackgroundView.cpp | #include "RuledBackgroundView.h"
#include <memory> // for allocator
#include "model/BackgroundConfig.h" // for BackgroundConfig
#include "view/background/BackgroundView.h" // for view
#include "view/background/OneColorBackgroundView.h" // for OneColorBackgrou...
#include "view/background/P... | 1,914 | C++ | .cpp | 39 | 42.333333 | 120 | 0.676849 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,654 | BaseIsometricBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/BaseIsometricBackgroundView.cpp | #include "BaseIsometricBackgroundView.h"
#include <cmath> // for floor, sqrt
#include <memory> // for allocator
#include "model/BackgroundConfig.h" // for BackgroundConfig
#include "util/safe_casts.h" // for floor_cast
#include "view/background/BackgroundView.h" //... | 3,338 | C++ | .cpp | 70 | 40.357143 | 120 | 0.634994 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,655 | LinedBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/LinedBackgroundView.cpp | #include "LinedBackgroundView.h"
#include <memory> // for allocator
#include "model/BackgroundConfig.h" // for BackgroundConfig
#include "view/background/BackgroundView.h" // for view
#include "view/background/RuledBackgroundView.h" // for RuledBackgroundView
using namespace background_config_s... | 1,457 | C++ | .cpp | 34 | 37.235294 | 100 | 0.698233 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,656 | ImageBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/ImageBackgroundView.cpp | #include "ImageBackgroundView.h"
#include <gdk-pixbuf/gdk-pixbuf.h> // for gdk_pixbuf_get_height
#include <gdk/gdk.h> // for gdk_cairo_set_source_pixbuf
#include "model/BackgroundImage.h" // for BackgroundImage
#include "view/background/BackgroundView.h" // for BackgroundView, view
using n... | 1,073 | C++ | .cpp | 23 | 40.869565 | 108 | 0.675962 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,657 | IsoGraphBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/IsoGraphBackgroundView.cpp | #include "IsoGraphBackgroundView.h"
#include "model/BackgroundConfig.h" // for BackgroundC...
#include "util/safe_casts.h" // for floor_cast
#include "view/background/BackgroundView.h" // for view
#include "view/background/BaseIsometricBackgroundView.h" ... | 3,544 | C++ | .cpp | 73 | 40.178082 | 119 | 0.589001 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,658 | DottedBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/DottedBackgroundView.cpp | #include "DottedBackgroundView.h"
#include <memory> // for allocator
#include "model/BackgroundConfig.h" // for BackgroundConfig
#include "view/background/BackgroundView.h" // for view
#include "view/background/OneColorBackgroundView.h" // for OneColorBackgrou...
#include "view/background/... | 2,112 | C++ | .cpp | 45 | 40.066667 | 118 | 0.673311 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,659 | PlainBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/PlainBackgroundView.cpp | #include "PlainBackgroundView.h"
#include <algorithm> // for max, min
#include "util/safe_casts.h" // for ceil_cast, floor_cast
#include "view/background/BackgroundView.h" // for BackgroundView, view
using namespace xoj::view;
PlainBackgroundView::PlainBackgroundView(double pageWidth, double pageH... | 869 | C++ | .cpp | 15 | 51.466667 | 114 | 0.694575 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,660 | TransparentCheckerboardBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/TransparentCheckerboardBackgroundView.cpp | #include "TransparentCheckerboardBackgroundView.h"
#include "view/background/BackgroundView.h" // for BackgroundView, view
using namespace xoj::view;
TransparentCheckerboardBackgroundView::TransparentCheckerboardBackgroundView(double pageWidth, double pageHeight):
BackgroundView(pageWidth, pageHeight), patt... | 1,484 | C++ | .cpp | 30 | 45.233333 | 114 | 0.759195 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,661 | PdfBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/PdfBackgroundView.cpp | #include "PdfBackgroundView.h"
#include <glib.h> // for g_warning
#include "control/PdfCache.h" // for PdfCache
#include "util/Assert.h" // for xoj_assert
#include "view/background/BackgroundView.h" // for BackgroundView, view
using namespace xoj::view;
PdfBackgroundView::PdfBac... | 1,252 | C++ | .cpp | 25 | 44.24 | 109 | 0.671849 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,662 | GraphBackgroundView.cpp | xournalpp_xournalpp/src/core/view/background/GraphBackgroundView.cpp | #include "GraphBackgroundView.h"
#include <algorithm> // for max, min
#include <memory> // for allocator
#include "model/BackgroundConfig.h" // for BackgroundConfig
#include "view/background/BackgroundView.h" // for view
#include "view/background/OneColorBackgroundView.h" // for OneCol... | 3,252 | C++ | .cpp | 66 | 41.636364 | 120 | 0.658683 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,663 | StrokeToolView.cpp | xournalpp_xournalpp/src/core/view/overlays/StrokeToolView.cpp | #include "StrokeToolView.h"
#include <functional>
#include <memory>
#include <numeric>
#include "control/tools/StrokeHandler.h"
#include "model/LineStyle.h"
#include "model/Stroke.h"
#include "util/Assert.h"
#include "util/Color.h"
#include "util/PairView.h"
#include "util/Range.h"
#include "util/raii/CairoWrappers.h... | 5,623 | C++ | .cpp | 125 | 38.552 | 117 | 0.668554 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,664 | BaseStrokeToolView.cpp | xournalpp_xournalpp/src/core/view/overlays/BaseStrokeToolView.cpp | #include "BaseStrokeToolView.h"
#include <cmath>
#include <cairo.h>
#include "model/Stroke.h"
#include "util/Range.h"
#include "view/Mask.h"
#include "view/Repaintable.h"
#include "view/overlays/OverlayView.h"
using namespace xoj::view;
BaseStrokeToolView::BaseStrokeToolView(Repaintable* parent, const Stroke& stro... | 1,878 | C++ | .cpp | 46 | 35.76087 | 118 | 0.693956 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,665 | SplineToolView.cpp | xournalpp_xournalpp/src/core/view/overlays/SplineToolView.cpp | #include "SplineToolView.h"
#include <algorithm> // for for_each
#include <cmath>
#include <cstdio>
#include <optional>
#include <vector>
#include "control/tools/SplineHandler.h"
#include "control/zoom/ZoomControl.h"
#include "model/Point.h"
#include "model/SplineSegment.h"
#include "util/Assert.h"
#include "util/ra... | 4,929 | C++ | .cpp | 107 | 40.925234 | 117 | 0.683563 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,666 | ShapeToolView.cpp | xournalpp_xournalpp/src/core/view/overlays/ShapeToolView.cpp | #include "ShapeToolView.h"
#include <vector>
#include "control/tools/BaseShapeHandler.h"
#include "util/raii/CairoWrappers.h"
#include "view/Repaintable.h"
#include "view/StrokeViewHelper.h"
using namespace xoj::view;
ShapeToolView::ShapeToolView(const BaseShapeHandler* toolHandler, Repaintable* parent):
Ba... | 1,354 | C++ | .cpp | 31 | 40.032258 | 103 | 0.757066 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,667 | BaseShapeOrSplineToolView.cpp | xournalpp_xournalpp/src/core/view/overlays/BaseShapeOrSplineToolView.cpp | #include "BaseShapeOrSplineToolView.h"
#include "control/tools/InputHandler.h"
#include "model/LineStyle.h"
#include "model/Stroke.h"
#include "util/Assert.h"
#include "util/Color.h"
#include "util/Util.h" // for cairo_set_dash_from_vector
using namespace xoj::view;
/**
* @brief To avoid rendering artefact (due to... | 2,924 | C++ | .cpp | 72 | 34.055556 | 117 | 0.665023 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,668 | PdfElementSelectionView.cpp | xournalpp_xournalpp/src/core/view/overlays/PdfElementSelectionView.cpp | #include "PdfElementSelectionView.h"
#include "control/tools/PdfElemSelection.h"
#include "util/raii/CairoWrappers.h"
#include "view/Repaintable.h"
class Range;
using namespace xoj::view;
PdfElementSelectionView::PdfElementSelectionView(const PdfElemSelection* selection, Repaintable* parent,
... | 1,355 | C++ | .cpp | 27 | 44.925926 | 111 | 0.751138 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,669 | VerticalToolView.cpp | xournalpp_xournalpp/src/core/view/overlays/VerticalToolView.cpp | #include "VerticalToolView.h"
#include "control/settings/Settings.h"
#include "control/zoom/ZoomControl.h"
#include "util/raii/CairoWrappers.h"
#include "view/ElementContainerView.h"
#include "view/Repaintable.h"
#include "view/View.h"
using namespace xoj::view;
VerticalToolView::VerticalToolView(const VerticalToolH... | 5,037 | C++ | .cpp | 101 | 44.891089 | 120 | 0.697556 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,670 | ImageSizeSelectionView.cpp | xournalpp_xournalpp/src/core/view/overlays/ImageSizeSelectionView.cpp | #include "ImageSizeSelectionView.h"
#include "control/tools/ImageSizeSelection.h" // for ImageSizeSelection
#include "util/Rectangle.h" // for Rectangle
#include "util/raii/CairoWrappers.h" // for cairo_save
#include "view/Repaintable.h" // for Repaintable
using namespac... | 2,177 | C++ | .cpp | 40 | 49.525 | 113 | 0.725 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,671 | SearchResultView.cpp | xournalpp_xournalpp/src/core/view/overlays/SearchResultView.cpp | #include "SearchResultView.h"
#include "control/SearchControl.h"
#include "util/Range.h"
#include "util/raii/CairoWrappers.h"
#include "view/Repaintable.h"
using namespace xoj::view;
SearchResultView::SearchResultView(const SearchControl* searchControl, Repaintable* parent, Color frameColor,
... | 1,707 | C++ | .cpp | 38 | 38.763158 | 109 | 0.704819 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,672 | StrokeToolFilledHighlighterView.cpp | xournalpp_xournalpp/src/core/view/overlays/StrokeToolFilledHighlighterView.cpp | #include "StrokeToolFilledHighlighterView.h"
#include <vector>
#include "model/Point.h"
#include "util/Color.h"
#include "util/Range.h"
#include "util/raii/CairoWrappers.h"
#include "view/StrokeViewHelper.h"
using namespace xoj::view;
StrokeToolFilledHighlighterView::StrokeToolFilledHighlighterView(const StrokeHand... | 2,320 | C++ | .cpp | 57 | 32.385965 | 113 | 0.633734 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,673 | TextEditionView.cpp | xournalpp_xournalpp/src/core/view/overlays/TextEditionView.cpp | #include "TextEditionView.h"
#include "control/tools/TextEditor.h"
#include "model/Text.h"
#include "util/Color.h"
#include "util/raii/CairoWrappers.h"
#include "view/Repaintable.h"
using namespace xoj::view;
TextEditionView::TextEditionView(const TextEditor* textEditor, Repaintable* parent):
ToolView(parent... | 3,580 | C++ | .cpp | 71 | 44.56338 | 120 | 0.70745 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,674 | StrokeToolFilledView.cpp | xournalpp_xournalpp/src/core/view/overlays/StrokeToolFilledView.cpp | #include "StrokeToolFilledView.h"
#include <algorithm>
#include "model/Stroke.h"
#include "util/Assert.h"
#include "util/Color.h"
#include "util/Range.h"
#include "view/Repaintable.h"
#include "view/StrokeViewHelper.h"
using namespace xoj::view;
static const Point& setupFirstPoint(const Stroke& s) {
const auto&... | 2,383 | C++ | .cpp | 52 | 41.211538 | 116 | 0.717363 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,675 | SelectionView.cpp | xournalpp_xournalpp/src/core/view/overlays/SelectionView.cpp | #include "SelectionView.h"
#include <vector>
#include "control/tools/Selection.h"
#include "util/Color.h"
#include "util/LoopUtil.h"
#include "util/Range.h"
#include "util/raii/CairoWrappers.h"
#include "view/Repaintable.h"
using namespace xoj::view;
SelectionView::SelectionView(const Selection* selection, Repainta... | 1,739 | C++ | .cpp | 42 | 37.5 | 101 | 0.721925 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,676 | xournalpp-thumbnailer.cpp | xournalpp_xournalpp/src/xoj-preview-extractor/xournalpp-thumbnailer.cpp | /*
* Xournal++
*
* This small program extracts a preview out of a xoj file
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GPL
*/
// Set to true to write a log with errors and debug logs to /tmp/xojtmb.log
#define DEBUG_THUMBNAILER false
#include <algorithm> // for max, min
... | 7,182 | C++ | .cpp | 181 | 32.779006 | 112 | 0.610649 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,677 | Xournalpp.cpp | xournalpp_xournalpp/src/exe/Xournalpp.cpp | /*
* Xournal++
*
* The main application
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2
*/
#include "control/CrashHandler.h" // for installCrashHandlers
#include "control/XournalMain.h" // for run
#ifdef __APPLE__
#include "osx/setup-env.h"
#endif
#ifdef _WIN32
... | 1,155 | C++ | .cpp | 46 | 22.326087 | 102 | 0.70073 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,678 | setup-env.cpp | xournalpp_xournalpp/src/exe/osx/setup-env.cpp | #include "setup-env.h"
#include <string>
#include <CoreFoundation/CoreFoundation.h>
#include <glib.h>
#include "util/Stacktrace.h"
#include "filesystem.h"
void setupEnvironment() {
/**
* see https://gitlab.gnome.org/GNOME/gtk-mac-bundler/-/blob/master/examples/gtk3-launcher.sh
* and https://gitlab.g... | 2,731 | C++ | .cpp | 54 | 43.055556 | 113 | 0.614489 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,679 | console.cpp | xournalpp_xournalpp/src/exe/win32/console.cpp | #include "console.h"
#include <windows.h>
void attachConsole() {
if (GetConsoleWindow() != NULL) {
// Console is already attached.
return;
}
// Make sure the console starts hidden.
STARTUPINFOW startupInfo = {0};
startupInfo.dwFlags = STARTF_USESHOWWINDOW;
startupInfo.wShowWin... | 2,878 | C++ | .cpp | 62 | 34.274194 | 111 | 0.609269 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,680 | gui_main.cpp | xournalpp_xournalpp/src/exe/win32/gui_main.cpp | // Only for Windows GUI applications, compiled with MSVC.
#ifdef _MSC_VER
#include <cstdlib>
#include <combaseapi.h>
#include <windows.h>
auto main(int argc, char* argv[]) -> int;
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, int nCmdShow) {
// Call main:
return main(__arg... | 342 | C++ | .cpp | 11 | 28.909091 | 96 | 0.736196 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,681 | GtkTest.h | xournalpp_xournalpp/test/gtk_tests/dialog/GtkTest.h | //
// Created by hermannt on 11.06.23.
//
#ifndef XOURNALPP_GTKTEST_H
#define XOURNALPP_GTKTEST_H
#include <gtest/gtest.h>
#include <gtk/gtk.h>
class GtkTest: public ::testing::Test {
protected:
GtkApplication* app;
int argn;
char** argv;
virtual void runTest(GtkApplication* app) = 0;
// Settin... | 641 | C++ | .h | 20 | 28.9 | 94 | 0.736156 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,682 | gdk4_helper.h | xournalpp_xournalpp/src/util/include/util/gdk4_helper.h | /*
* Xournal++
*
* header for missing gdk4 functions (part of the gtk4 port)
* will be removed later
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <gdk/gdk.h>
/*** GdkEvent ***/
GdkModifierType gdk_event_get_modifier_state(GdkEv... | 476 | C++ | .h | 18 | 24.666667 | 70 | 0.735683 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,683 | Point.h | xournalpp_xournalpp/src/util/include/util/Point.h | /*
* Xournal++
*
* Range
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cmath>
#include <tuple>
namespace xoj::util {
template <typename T>
struct Point {
// Todo (c++20): remove constructors
constexpr Point() = default... | 1,680 | C++ | .h | 40 | 37.95 | 112 | 0.609711 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,684 | GListView.h | xournalpp_xournalpp/src/util/include/util/GListView.h | /*
* Xournal++
*
* GListView, a c++ wrapper around GList
* Provides a begin iterator and a Sentinel
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <tuple>
#include <glib.h>
template <class ListType, typename T>
struct ListView {... | 2,667 | C++ | .h | 70 | 31.328571 | 102 | 0.633967 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,685 | BasePointerIterator.h | xournalpp_xournalpp/src/util/include/util/BasePointerIterator.h | /*
* Xournal++
*
* Basic iterator based on pointer arithmetics
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstddef>
#include <iterator>
#include "TypeIfThenElse.h"
template <typename T, bool is_const>
class BasePointerIterato... | 2,496 | C++ | .h | 69 | 31.15942 | 103 | 0.674534 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,686 | Range.h | xournalpp_xournalpp/src/util/include/util/Range.h | /*
* Xournal++
*
* Range
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <limits>
namespace xoj::util {
template <typename Float>
class Rectangle;
};
class Range final {
public:
Range() = default; // Empty range
Range(dou... | 1,395 | C++ | .h | 40 | 31.3 | 112 | 0.679554 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,687 | XojPreviewExtractor.h | xournalpp_xournalpp/src/util/include/util/XojPreviewExtractor.h | /*
* Xournal++
*
* Extracts a preview of an .xoj file, used by xournalpp-thumbnailer and xournalpp
* Because of this xournal type checks cannot be used
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <glib.h> // for gsize
#includ... | 1,617 | C++ | .h | 66 | 20.060606 | 82 | 0.649967 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,688 | PathUtil.h | xournalpp_xournalpp/src/util/include/util/PathUtil.h | /*
* Xournal++
*
* Helper for reading / writing files
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstring> // for strlen, size_t
#include <optional> // for optional
#include <string> // for string, allocator, basic_string... | 5,328 | C++ | .h | 130 | 37.561538 | 119 | 0.675498 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,689 | GVariantTemplate.h | xournalpp_xournalpp/src/util/include/util/GVariantTemplate.h | /*
* Xournal++
*
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <bitset>
#include <string>
#include <type_traits>
#include <glib.h>
#include "util/Color.h"
namespace detail {
template <class T>
constexpr inline bool match_guint32... | 4,557 | C++ | .h | 110 | 38.9 | 111 | 0.718602 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,690 | XojMsgBox.h | xournalpp_xournalpp/src/util/include/util/XojMsgBox.h | /*
* Xournal++
*
* Xournal util functions
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <string>
#include <vector>
#include <gtk/gtk.h>
#include "util/move_only_function.h"
#include "util/raii/GtkWindowUPtr.h"
#include "filesys... | 3,672 | C++ | .h | 78 | 39.705128 | 117 | 0.669461 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,691 | PopupWindowWrapper.h | xournalpp_xournalpp/src/util/include/util/PopupWindowWrapper.h | /*
* Xournal++
*
* PopupWindow base class
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <memory>
#include <gtk/gtk.h>
#include "util/Assert.h"
#include "util/gtk4_helper.h"
namespace xoj::popup {
/**
* @brief The class PopupW... | 2,633 | C++ | .h | 67 | 31.641791 | 118 | 0.62686 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,692 | LoopUtil.h | xournalpp_xournalpp/src/util/include/util/LoopUtil.h | /*
* Xournal++
*
* Utility for loops
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <algorithm>
#include <iterator>
#include <utility>
/**
* for_first_then_each
* loop over the container from begin to end but handles the first e... | 643 | C++ | .h | 28 | 20.392857 | 74 | 0.676471 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,693 | Interval.h | xournalpp_xournalpp/src/util/include/util/Interval.h | /*
* Xournal++
*
* A interval data structure over a numeric data type.
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <algorithm>
#include <optional>
/**
* @brief A templated class for (half open) intervals (a,b]
*/
template <cl... | 3,329 | C++ | .h | 95 | 29.915789 | 117 | 0.620925 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,694 | move_only_function.h | xournalpp_xournalpp/src/util/include/util/move_only_function.h | /*
* Xournal++
*
* Rudimentary port of C++23's std::move_only_function
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
namespace xoj::util {
template <class T>... | 2,203 | C++ | .h | 61 | 31.590164 | 117 | 0.62746 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,695 | DispatchPool.h | xournalpp_xournalpp/src/util/include/util/DispatchPool.h | /*
* Xournal++
*
* Template class for a dispatch pool and listeners
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>
#include "util/Assert.h"
namespace xoj::util {
... | 4,352 | C++ | .h | 125 | 29.92 | 118 | 0.627078 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,696 | i18n.h | xournalpp_xournalpp/src/util/include/util/i18n.h | /*
* Xournal++
*
* Internationalization module
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <libintl.h>
#include "PlaceholderString.h"
#undef snprintf
#define _(msg) gettext(msg)
#define C_(context, msg) g_dpgettext2(nullptr, c... | 1,151 | C++ | .h | 34 | 32.147059 | 114 | 0.753176 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,697 | EnumIndexedArray.h | xournalpp_xournalpp/src/util/include/util/EnumIndexedArray.h | /*
* Xournal++
*
* An array indexed by a CONTIGUOUS scoped enum from 0 to ENUMERATOR_COUNT-1
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <array>
#include <type_traits>
#include "util/Assert.h"
#include "util/safe_casts.h" // f... | 1,325 | C++ | .h | 33 | 34.69697 | 114 | 0.670295 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,698 | ElementRange.h | xournalpp_xournalpp/src/util/include/util/ElementRange.h | /*
* Xournal++
*
* A page range for PDF export etc. (e.g. 1-2,5,7)
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstddef> // for size_t
#include <string> // for string
#include <vector> // for vector
struct ElementRangeEntr... | 977 | C++ | .h | 31 | 29.451613 | 103 | 0.703191 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,699 | SmallVector.h | xournalpp_xournalpp/src/util/include/util/SmallVector.h | /*
* Xournal++
*
* A small-vector-optimized data structure, with data in the stack when it's small enough, in the heap otherwise
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <algorithm>
#include <cstddef>
#include <initializer_li... | 7,653 | C++ | .h | 208 | 28.8125 | 119 | 0.56181 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,700 | TinyVector.h | xournalpp_xournalpp/src/util/include/util/TinyVector.h | /*
* Xournal++
*
* A tiny vector stored in the stack, with a small maximal size
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <algorithm>
#include <array>
#include <cstddef>
#include <iterator>
#include <memory>
#include <type_tra... | 4,164 | C++ | .h | 116 | 30.456897 | 115 | 0.612903 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,701 | PlaceholderString.h | xournalpp_xournalpp/src/util/include/util/PlaceholderString.h | /*
* Xournal++
*
* Internationalization module
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
// Todo(fabian): replace with cpp20 format library or https://github.com/fmtlib/fmt which are the same
// also using python like format string syn... | 2,776 | C++ | .h | 91 | 26.857143 | 102 | 0.692568 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,702 | GtkUtil.h | xournalpp_xournalpp/src/util/include/util/GtkUtil.h | /*
* Xournal++
* Helper function for setting up some GtkWidget
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <gtk/gtk.h>
namespace xoj::util::gtk {
/**
* @brief if `btn` has the GtkActionable properties action-name and action-tar... | 1,714 | C++ | .h | 40 | 41.075 | 117 | 0.770384 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,703 | gtk4_helper.h | xournalpp_xournalpp/src/util/include/util/gtk4_helper.h | /*
* Xournal++
*
* header for missing gtk4 functions (part of the gtk4 port)
* will be removed later
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <gtk/gtk.h>
/**** GtkBox ****/
void gtk_box_append(GtkBox* box, GtkWidget* child... | 3,420 | C++ | .h | 68 | 47.102941 | 111 | 0.734135 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,704 | Util.h | xournalpp_xournalpp/src/util/include/util/Util.h | /*
* Xournal++
*
* Xournal util functions
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstdlib> // size_t
#include <functional> // for function
#include <limits> // for numeric_limits
#include <utility>
#include <cair... | 2,410 | C++ | .h | 70 | 31.671429 | 116 | 0.709052 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,705 | PairView.h | xournalpp_xournalpp/src/util/include/util/PairView.h | /*
* Xournal++
*
* C++20-like view to iterate on pairs of consecutive elements
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <array>
#include <iterator>
#include <type_traits>
#include "TypeIfThenElse.h"
/**
* @brief view to ite... | 4,748 | C++ | .h | 114 | 34.140351 | 106 | 0.627952 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,706 | TypeIfThenElse.h | xournalpp_xournalpp/src/util/include/util/TypeIfThenElse.h | /*
* Xournal++
*
* Helper structures to get various types depending on a boolean value
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
/**
* @brief Get `const T` if the boolean is true, `T` otherwise
*/
template <typename T, bool>
struct co... | 672 | C++ | .h | 33 | 18.424242 | 70 | 0.679749 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,707 | StringUtils.h | xournalpp_xournalpp/src/util/include/util/StringUtils.h | /*
* Xournal++
*
* String utilities
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <string> // for string, basic_string
#include <utility> // for pair
#include <vector> // for vector
typedef std::pair<char, std::string> repla... | 1,017 | C++ | .h | 28 | 33.428571 | 95 | 0.714721 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,708 | glib_casts.h | xournalpp_xournalpp/src/util/include/util/glib_casts.h | /*
* Xournal++
*
* header for casting c++ callbacks into gtk callbacks
* will be removed later
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstdint>
#include <tuple>
#include <type_traits>
#include <glib-object.h>
#include <gl... | 5,304 | C++ | .h | 130 | 37.792308 | 118 | 0.69637 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,709 | OutputStream.h | xournalpp_xournalpp/src/util/include/util/OutputStream.h | /*
* Xournal++
*
* Output streams for writing
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <string> // for string
#include <zlib.h> // for gzFile
#include "filesystem.h" // for path
class OutputStream {
public:
OutputSt... | 870 | C++ | .h | 37 | 20.405405 | 57 | 0.692683 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,710 | Stacktrace.h | xournalpp_xournalpp/src/util/include/util/Stacktrace.h | /*
* Xournal++
*
* Prints a Stacktrace
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <iostream>
#include "filesystem.h"
class Stacktrace {
private:
Stacktrace();
virtual ~Stacktrace();
public:
static fs::path getExe... | 421 | C++ | .h | 22 | 16.590909 | 54 | 0.713198 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,711 | Color.h | xournalpp_xournalpp/src/util/include/util/Color.h | /*
* Xournal++
*
* Color utility, does color conversions
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstdint> // for uint32_t, uint8_t, uint16_t
#include <cstring> // for size_t
#include <functional> // for hash
#inclu... | 9,369 | C++ | .h | 210 | 40.666667 | 119 | 0.693817 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,712 | Rectangle.h | xournalpp_xournalpp/src/util/include/util/Rectangle.h | /*
* Xournal++
*
* A rectangle data structure over a numeric data type.
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <algorithm>
#include <iosfwd>
#include <optional>
#include "util/Range.h"
namespace xoj::util { // Rectangle ... | 2,663 | C++ | .h | 79 | 28.113924 | 97 | 0.604434 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,713 | serdesstream.h | xournalpp_xournalpp/src/util/include/util/serdesstream.h | #pragma once
#include <locale>
#include <utility>
/**
* @brief Serdes always requires the same locale. Independently of the local / C++ global locale.
*/
template <typename StdStream, typename... Args>
StdStream serdes_stream(Args&&... args) {
StdStream ret(std::forward<Args>(args)...);
ret.imbue(std::loca... | 353 | C++ | .h | 12 | 27.083333 | 97 | 0.707965 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,714 | GzUtil.h | xournalpp_xournalpp/src/util/include/util/GzUtil.h | /*
* Xournal++
*
* Gzip Helper
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <string> // for string
#include <zlib.h> // for gzFile
#include "filesystem.h" // for path
class GzUtil {
private:
GzUtil();
virtual ~GzUti... | 413 | C++ | .h | 21 | 17.380952 | 75 | 0.681347 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,715 | Assert.h | xournalpp_xournalpp/src/util/include/util/Assert.h | /*
* Xournal++
*
* assert
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <string>
#ifdef NDEBUG
#define xoj_assert(expr) static_cast<void>(0)
#define xoj_assert_message(expr, msg) static_cast<void>(0)
#else
namespace xoj::util {
[[... | 755 | C++ | .h | 25 | 26.04 | 105 | 0.628611 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,716 | safe_casts.h | xournalpp_xournalpp/src/util/include/util/safe_casts.h | /*
* This file is provided by Fabian Keßler <fabian_kessler@gmx.de> under the
* Boost Software License - Version 1.0 - August 17th, 2003 to the Xournal++
* project.
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obt... | 5,864 | C++ | .h | 133 | 41.308271 | 113 | 0.70931 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,717 | UnionOfIntervals.h | xournalpp_xournalpp/src/util/include/util/UnionOfIntervals.h | /*
* Xournal++
*
* A data structure for unions of intervals of a numeric data type.
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <algorithm>
#include <iterator>
#include <vector>
#include "util/Assert.h"
#include "Interval.h"
... | 7,502 | C++ | .h | 206 | 26.466019 | 120 | 0.5509 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,718 | NamedColor.h | xournalpp_xournalpp/src/util/include/util/NamedColor.h | /**
* Xournal++
*
* Part of the customizable toolbars
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
* @brief Struct for NamedColor
*/
#pragma once
#include <cstddef> // for size_t
#include <iosfwd> // for istream
#include <string> // for string, basi... | 3,058 | C++ | .h | 100 | 25.78 | 116 | 0.655008 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,719 | SaveNameUtils.h | xournalpp_xournalpp/src/util/include/util/SaveNameUtils.h | /*
* Xournal++
*
* Save-name parsing utility, does wildcard-string to save-name conversions
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <string> // for string
#include "filesystem.h" // for path
constexpr auto DEFA... | 981 | C++ | .h | 25 | 37.28 | 123 | 0.731296 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,720 | CircularBuffer.h | xournalpp_xournalpp/src/util/include/util/CircularBuffer.h | /*
* Xournal++
*
* A rudimentary circular buffer
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstddef>
#include <vector>
template <class T>
class CircularBuffer: private std::vector<T> {
public:
CircularBuffer(size_t length)... | 1,110 | C++ | .h | 45 | 20.133333 | 110 | 0.580584 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,721 | HexObjectEncoding.h | xournalpp_xournalpp/src/util/include/util/serializing/HexObjectEncoding.h | /*
* Xournal++
*
* Hex encoded serialized stream
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include "ObjectEncoding.h"
class HexObjectEncoding: public ObjectEncoding {
public:
HexObjectEncoding();
~HexObjectEncoding() override... | 401 | C++ | .h | 20 | 17.75 | 56 | 0.742021 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,723 | ObjectOutputStream.h | xournalpp_xournalpp/src/util/include/util/serializing/ObjectOutputStream.h | /*
* Xournal++
*
* Serialized output stream
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstddef> // for size_t
#include <cstdint> // for uint32_t
#include <string> // for string
#include <string_view> // for st... | 1,292 | C++ | .h | 44 | 26.227273 | 64 | 0.700405 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,724 | ObjectEncoding.h | xournalpp_xournalpp/src/util/include/util/serializing/ObjectEncoding.h | /*
* Xournal++
*
* Encoding for serialized streams
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <glib.h> // for GString
class ObjectEncoding {
public:
ObjectEncoding();
virtual ~ObjectEncoding();
public:
void addS... | 463 | C++ | .h | 23 | 17.391304 | 59 | 0.69746 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,725 | Serializable.h | xournalpp_xournalpp/src/util/include/util/serializing/Serializable.h | /*
* Xournal++
*
* Serializable interface
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include "InputStreamException.h"
class ObjectInputStream;
class ObjectOutputStream;
const static char* const XML_VERSION_STR = "XojStrm1:";
class S... | 508 | C++ | .h | 21 | 21.904762 | 62 | 0.756757 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,726 | ObjectInputStream.h | xournalpp_xournalpp/src/util/include/util/serializing/ObjectInputStream.h | /*
* Xournal++
*
* Serialized input stream
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <cstddef> // for size_t
#include <cstdint> // for uint32_t
#include <sstream> // for istringstream
#include <string> // for string
#incl... | 2,013 | C++ | .h | 67 | 25.970149 | 106 | 0.658701 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,727 | BinObjectEncoding.h | xournalpp_xournalpp/src/util/include/util/serializing/BinObjectEncoding.h | /*
* Xournal++
*
* Binary encoded serialized stream
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include "ObjectEncoding.h"
class BinObjectEncoding: public ObjectEncoding {
public:
BinObjectEncoding();
~BinObjectEncoding() overr... | 404 | C++ | .h | 20 | 17.9 | 56 | 0.744063 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,728 | Logger.h | xournalpp_xournalpp/src/util/include/util/logger/Logger.h | /*
* Xournal++
*
* Logging class for debugging
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
class Log {
private:
Log();
virtual ~Log();
Log(const Log&);
Log& operator=(const Log&);
public:
static void initlog();
s... | 443 | C++ | .h | 22 | 17.272727 | 95 | 0.673861 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,729 | CairoWrappers.h | xournalpp_xournalpp/src/util/include/util/raii/CairoWrappers.h | /*
* Xournal++
*
* RAII wrappers for C library classes
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <utility>
#include <cairo.h>
#include "CLibrariesSPtr.h"
#include "IdentityFunction.h"
namespace xoj::util {
inline namespace... | 2,030 | C++ | .h | 57 | 33 | 100 | 0.730102 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,730 | IdentityFunction.h | xournalpp_xournalpp/src/util/include/util/raii/IdentityFunction.h | /*
* Xournal++
*
* Identity function
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
namespace xoj::util {
inline namespace raii {
namespace specialization {
template <typename T> // Todo(cpp20): use std:identity() and remove this header
c... | 421 | C++ | .h | 19 | 20.526316 | 80 | 0.701754 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,731 | GtkWindowUPtr.h | xournalpp_xournalpp/src/util/include/util/raii/GtkWindowUPtr.h | /*
* Xournal++
*
* RAII wrappers for C library classes
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <memory>
#include <gtk/gtk.h>
#include "util/gtk4_helper.h"
namespace xoj::util {
inline namespace raii {
namespace specializ... | 628 | C++ | .h | 28 | 19.535714 | 83 | 0.692568 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,732 | GLibGuards.h | xournalpp_xournalpp/src/util/include/util/raii/GLibGuards.h | /*
* Xournal++
*
* Basic memory RAII Guards for GLib objects
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <memory>
#include <type_traits>
#include <gtk/gtk.h>
namespace xoj::util {
inline namespace raii {
#define XOJ_GIO_GUARD_... | 2,200 | C++ | .h | 50 | 39.8 | 119 | 0.512856 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
12,733 | GObjectSPtr.h | xournalpp_xournalpp/src/util/include/util/raii/GObjectSPtr.h | /*
* Xournal++
*
* RAII wrappers for C library classes
*
* @author Xournal++ Team
* https://github.com/xournalpp/xournalpp
*
* @license GNU GPLv2 or later
*/
#pragma once
#include <utility>
#include <glib-object.h>
#include <gtk/gtk.h>
#include "CLibrariesSPtr.h"
namespace xoj::util {
inline namespace ra... | 1,265 | C++ | .h | 38 | 30.842105 | 108 | 0.714873 | xournalpp/xournalpp | 10,962 | 791 | 1,098 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.