this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Generate Quartz stub

+72
+2
src/CMakeLists.txt
··· 177 177 ${CMAKE_CURRENT_SOURCE_DIR}/DataDetectorsNaturalLanguage/include 178 178 ${CMAKE_CURRENT_SOURCE_DIR}/SecurityInterface/include 179 179 ${CMAKE_CURRENT_SOURCE_DIR}/Carbon/include 180 + ${CMAKE_CURRENT_SOURCE_DIR}/Quartz/include 180 181 ) 181 182 182 183 # It must be done in this scope ··· 344 345 add_subdirectory(DataDetectorsNaturalLanguage) 345 346 add_subdirectory(SecurityInterface) 346 347 add_subdirectory(Carbon) 348 + add_subdirectory(Quartz) 347 349 348 350 # /Applications 349 351 #add_subdirectory(external/TextEdit)
+16
src/Quartz/CMakeLists.txt
··· 1 + project(Quartz) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + 6 + add_framework(Quartz 7 + FAT 8 + CURRENT_VERSION 9 + VERSION "A" 10 + 11 + SOURCES 12 + src/Quartz.c 13 + 14 + DEPENDENCIES 15 + system 16 + )
+25
src/Quartz/include/Quartz/Quartz.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #ifndef _Quartz_H_ 22 + #define _Quartz_H_ 23 + 24 + 25 + #endif
+29
src/Quartz/src/Quartz.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #include <Quartz/Quartz.h> 22 + #include <stdlib.h> 23 + 24 + static int verbose = 0; 25 + 26 + __attribute__((constructor)) 27 + static void initme(void) { 28 + verbose = getenv("STUB_VERBOSE") != NULL; 29 + }