···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <AppKit/AppKit.h>
2121+2222+@interface QLPreviewPanel : NSPanel
2323+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <AppKit/AppKit.h>
2121+2222+@interface QLPreviewView : NSView
2323+@end
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#ifndef _QUICKLOOKUI_H_
2121+#define _QUICKLOOKUI_H_
2222+2323+#import <QuickLookUI/QLPreviewPanel.h>
2424+#import <QuickLookUI/QLPreviewView.h>
2525+2626+#endif
+23
src/Quartz/QuickLookUI/src/QLPreviewPanel.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <QuickLookUI/QLPreviewPanel.h>
2121+2222+@implementation QLPreviewPanel
2323+@end
+23
src/Quartz/QuickLookUI/src/QLPreviewView.m
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#import <QuickLookUI/QLPreviewView.h>
2121+2222+@implementation QLPreviewView
2323+@end
···11/*
22 This file is part of Darling.
3344- Copyright (C) 2017 Lubos Dolezel
44+ Copyright (C) 2019 Lubos Dolezel
5566 Darling is free software: you can redistribute it and/or modify
77 it under the terms of the GNU General Public License as published by
+2-1
src/Quartz/src/Quartz.c
···11/*
22 This file is part of Darling.
3344- Copyright (C) 2017 Lubos Dolezel
44+ Copyright (C) 2019 Lubos Dolezel
5566 Darling is free software: you can redistribute it and/or modify
77 it under the terms of the GNU General Public License as published by
···20202121#include <Quartz/Quartz.h>
2222#include <stdlib.h>
2323+#include <stdio.h>
23242425static int verbose = 0;
2526
+2
src/QuickLook/CMakeLists.txt
···1616 src/QLDebugSatelliteController.m
1717 src/QLPreview.m
1818 src/QLImageWrapper.m
1919+ constants.c
19202021 DEPENDENCIES
2122 system
2223 objc
2324 Foundation
2525+ CoreFoundation
2426)
+23
src/QuickLook/constants.c
···11+/*
22+ This file is part of Darling.
33+44+ Copyright (C) 2019 Lubos Dolezel
55+66+ Darling is free software: you can redistribute it and/or modify
77+ it under the terms of the GNU General Public License as published by
88+ the Free Software Foundation, either version 3 of the License, or
99+ (at your option) any later version.
1010+1111+ Darling is distributed in the hope that it will be useful,
1212+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+ GNU General Public License for more details.
1515+1616+ You should have received a copy of the GNU General Public License
1717+ along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <CoreFoundation/CoreFoundation.h>
2121+2222+const CFStringRef kQLThumbnailOptionIconModeKey = CFSTR("IconMode");
2323+const CFStringRef kQLThumbnailOptionScaleFactorKey = CFSTR("QLThumbnailOptionScaleFactor");