From 8b434dda9a37b559d06a21eedabd5c51bf549922 Mon Sep 17 00:00:00 2001 From: Marco Rolappe Date: Wed, 23 Mar 2022 21:09:14 +0100 Subject: [PATCH] CalendarStore framework stubs --- src/frameworks/CMakeLists.txt | 1 + src/frameworks/CalendarStore/CMakeLists.txt | 33 ++++++++++++++ .../include/CalendarStore/CalAlarm.h | 24 ++++++++++ .../include/CalendarStore/CalAttendee.h | 24 ++++++++++ .../include/CalendarStore/CalCalendar.h | 24 ++++++++++ .../include/CalendarStore/CalCalendarItem.h | 24 ++++++++++ .../CalendarStore/CalCalendarItemPredicate.h | 24 ++++++++++ .../include/CalendarStore/CalCalendarStore.h | 24 ++++++++++ .../include/CalendarStore/CalEvent.h | 24 ++++++++++ .../include/CalendarStore/CalEventPredicate.h | 24 ++++++++++ .../include/CalendarStore/CalGroup.h | 24 ++++++++++ .../include/CalendarStore/CalNthWeekDay.h | 24 ++++++++++ .../include/CalendarStore/CalPredicate.h | 24 ++++++++++ .../include/CalendarStore/CalRecurrenceEnd.h | 24 ++++++++++ .../include/CalendarStore/CalRecurrenceRule.h | 24 ++++++++++ .../include/CalendarStore/CalTask.h | 24 ++++++++++ .../include/CalendarStore/CalTaskPredicate.h | 24 ++++++++++ .../CalendarStore/CalendarAgentClient.h | 24 ++++++++++ .../include/CalendarStore/CalendarStore.h | 44 +++++++++++++++++++ src/frameworks/CalendarStore/src/CalAlarm.m | 34 ++++++++++++++ .../CalendarStore/src/CalAttendee.m | 34 ++++++++++++++ .../CalendarStore/src/CalCalendar.m | 34 ++++++++++++++ .../CalendarStore/src/CalCalendarItem.m | 34 ++++++++++++++ .../src/CalCalendarItemPredicate.m | 34 ++++++++++++++ .../CalendarStore/src/CalCalendarStore.m | 34 ++++++++++++++ src/frameworks/CalendarStore/src/CalEvent.m | 34 ++++++++++++++ .../CalendarStore/src/CalEventPredicate.m | 34 ++++++++++++++ src/frameworks/CalendarStore/src/CalGroup.m | 34 ++++++++++++++ .../CalendarStore/src/CalNthWeekDay.m | 34 ++++++++++++++ .../CalendarStore/src/CalPredicate.m | 34 ++++++++++++++ .../CalendarStore/src/CalRecurrenceEnd.m | 34 ++++++++++++++ .../CalendarStore/src/CalRecurrenceRule.m | 34 ++++++++++++++ src/frameworks/CalendarStore/src/CalTask.m | 34 ++++++++++++++ .../CalendarStore/src/CalTaskPredicate.m | 34 ++++++++++++++ .../CalendarStore/src/CalendarStore.m | 30 +++++++++++++ src/frameworks/include/CalendarStore | 1 + 36 files changed, 1003 insertions(+) create mode 100644 src/frameworks/CalendarStore/CMakeLists.txt create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalAlarm.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalAttendee.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalCalendar.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItem.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItemPredicate.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalCalendarStore.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalEvent.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalEventPredicate.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalGroup.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalNthWeekDay.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalPredicate.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceEnd.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceRule.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalTask.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalTaskPredicate.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalendarAgentClient.h create mode 100644 src/frameworks/CalendarStore/include/CalendarStore/CalendarStore.h create mode 100644 src/frameworks/CalendarStore/src/CalAlarm.m create mode 100644 src/frameworks/CalendarStore/src/CalAttendee.m create mode 100644 src/frameworks/CalendarStore/src/CalCalendar.m create mode 100644 src/frameworks/CalendarStore/src/CalCalendarItem.m create mode 100644 src/frameworks/CalendarStore/src/CalCalendarItemPredicate.m create mode 100644 src/frameworks/CalendarStore/src/CalCalendarStore.m create mode 100644 src/frameworks/CalendarStore/src/CalEvent.m create mode 100644 src/frameworks/CalendarStore/src/CalEventPredicate.m create mode 100644 src/frameworks/CalendarStore/src/CalGroup.m create mode 100644 src/frameworks/CalendarStore/src/CalNthWeekDay.m create mode 100644 src/frameworks/CalendarStore/src/CalPredicate.m create mode 100644 src/frameworks/CalendarStore/src/CalRecurrenceEnd.m create mode 100644 src/frameworks/CalendarStore/src/CalRecurrenceRule.m create mode 100644 src/frameworks/CalendarStore/src/CalTask.m create mode 100644 src/frameworks/CalendarStore/src/CalTaskPredicate.m create mode 100644 src/frameworks/CalendarStore/src/CalendarStore.m create mode 120000 src/frameworks/include/CalendarStore diff --git a/src/frameworks/CMakeLists.txt b/src/frameworks/CMakeLists.txt index 44b601ae9f..8ea9cd0b0f 100644 --- a/src/frameworks/CMakeLists.txt +++ b/src/frameworks/CMakeLists.txt @@ -7,6 +7,7 @@ add_subdirectory(AGL) add_subdirectory(ApplicationServices) add_subdirectory(AVFoundation) add_subdirectory(AVKit) +add_subdirectory(CalendarStore) add_subdirectory(Carbon) add_subdirectory(CloudKit) add_subdirectory(ColorSync) diff --git a/src/frameworks/CalendarStore/CMakeLists.txt b/src/frameworks/CalendarStore/CMakeLists.txt new file mode 100644 index 0000000000..5b349ef60e --- /dev/null +++ b/src/frameworks/CalendarStore/CMakeLists.txt @@ -0,0 +1,33 @@ +project(CalendarStore) + +set(DYLIB_COMPAT_VERSION "1.0.0") +set(DYLIB_CURRENT_VERSION "2030.2.1") + +add_framework(CalendarStore + FAT + CURRENT_VERSION + VERSION "A" + + SOURCES + src/CalendarStore.m + src/CalPredicate.m + src/CalEventPredicate.m + src/CalAttendee.m + src/CalGroup.m + src/CalTaskPredicate.m + src/CalCalendarStore.m + src/CalCalendar.m + src/CalAlarm.m + src/CalEvent.m + src/CalRecurrenceRule.m + src/CalNthWeekDay.m + src/CalRecurrenceEnd.m + src/CalCalendarItemPredicate.m + src/CalCalendarItem.m + src/CalTask.m + + DEPENDENCIES + system + objc + Foundation +) diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalAlarm.h b/src/frameworks/CalendarStore/include/CalendarStore/CalAlarm.h new file mode 100644 index 0000000000..69afa95a96 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalAlarm.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalAlarm : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalAttendee.h b/src/frameworks/CalendarStore/include/CalendarStore/CalAttendee.h new file mode 100644 index 0000000000..60af47a654 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalAttendee.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalAttendee : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalCalendar.h b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendar.h new file mode 100644 index 0000000000..5818cb31e5 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendar.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalCalendar : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItem.h b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItem.h new file mode 100644 index 0000000000..0c9c5a6263 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItem.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalCalendarItem : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItemPredicate.h b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItemPredicate.h new file mode 100644 index 0000000000..a750ad0307 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarItemPredicate.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalCalendarItemPredicate : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarStore.h b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarStore.h new file mode 100644 index 0000000000..a55769adbb --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalCalendarStore.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalCalendarStore : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalEvent.h b/src/frameworks/CalendarStore/include/CalendarStore/CalEvent.h new file mode 100644 index 0000000000..210cdea9ce --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalEvent.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalEvent : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalEventPredicate.h b/src/frameworks/CalendarStore/include/CalendarStore/CalEventPredicate.h new file mode 100644 index 0000000000..5de625db1f --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalEventPredicate.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalEventPredicate : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalGroup.h b/src/frameworks/CalendarStore/include/CalendarStore/CalGroup.h new file mode 100644 index 0000000000..ae9f535e95 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalGroup.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalGroup : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalNthWeekDay.h b/src/frameworks/CalendarStore/include/CalendarStore/CalNthWeekDay.h new file mode 100644 index 0000000000..eef98cac63 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalNthWeekDay.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalNthWeekDay : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalPredicate.h b/src/frameworks/CalendarStore/include/CalendarStore/CalPredicate.h new file mode 100644 index 0000000000..093e024884 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalPredicate.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalPredicate : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceEnd.h b/src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceEnd.h new file mode 100644 index 0000000000..cfa314b21d --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceEnd.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalRecurrenceEnd : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceRule.h b/src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceRule.h new file mode 100644 index 0000000000..e632225caa --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalRecurrenceRule.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalRecurrenceRule : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalTask.h b/src/frameworks/CalendarStore/include/CalendarStore/CalTask.h new file mode 100644 index 0000000000..b88ee671d3 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalTask.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalTask : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalTaskPredicate.h b/src/frameworks/CalendarStore/include/CalendarStore/CalTaskPredicate.h new file mode 100644 index 0000000000..8578c0e72e --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalTaskPredicate.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@interface CalTaskPredicate : NSObject + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalendarAgentClient.h b/src/frameworks/CalendarStore/include/CalendarStore/CalendarAgentClient.h new file mode 100644 index 0000000000..30bd1a7250 --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalendarAgentClient.h @@ -0,0 +1,24 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#include + +@protocol CalendarAgentClient + +@end diff --git a/src/frameworks/CalendarStore/include/CalendarStore/CalendarStore.h b/src/frameworks/CalendarStore/include/CalendarStore/CalendarStore.h new file mode 100644 index 0000000000..c68ec6fc7c --- /dev/null +++ b/src/frameworks/CalendarStore/include/CalendarStore/CalendarStore.h @@ -0,0 +1,44 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + + +#ifndef _CalendarStore_H_ +#define _CalendarStore_H_ + +#import + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import + + +#endif diff --git a/src/frameworks/CalendarStore/src/CalAlarm.m b/src/frameworks/CalendarStore/src/CalAlarm.m new file mode 100644 index 0000000000..7aa191f31d --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalAlarm.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalAlarm + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalAttendee.m b/src/frameworks/CalendarStore/src/CalAttendee.m new file mode 100644 index 0000000000..e8a0705c49 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalAttendee.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalAttendee + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalCalendar.m b/src/frameworks/CalendarStore/src/CalCalendar.m new file mode 100644 index 0000000000..36f535d21d --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalCalendar.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalCalendar + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalCalendarItem.m b/src/frameworks/CalendarStore/src/CalCalendarItem.m new file mode 100644 index 0000000000..17cf37e619 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalCalendarItem.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalCalendarItem + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalCalendarItemPredicate.m b/src/frameworks/CalendarStore/src/CalCalendarItemPredicate.m new file mode 100644 index 0000000000..81c4ba34b8 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalCalendarItemPredicate.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalCalendarItemPredicate + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalCalendarStore.m b/src/frameworks/CalendarStore/src/CalCalendarStore.m new file mode 100644 index 0000000000..6d381f8522 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalCalendarStore.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalCalendarStore + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalEvent.m b/src/frameworks/CalendarStore/src/CalEvent.m new file mode 100644 index 0000000000..0f9875ed25 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalEvent.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalEvent + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalEventPredicate.m b/src/frameworks/CalendarStore/src/CalEventPredicate.m new file mode 100644 index 0000000000..1a859a1d4d --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalEventPredicate.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalEventPredicate + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalGroup.m b/src/frameworks/CalendarStore/src/CalGroup.m new file mode 100644 index 0000000000..2ec9679b2d --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalGroup.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalGroup + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalNthWeekDay.m b/src/frameworks/CalendarStore/src/CalNthWeekDay.m new file mode 100644 index 0000000000..49a430e5f3 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalNthWeekDay.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalNthWeekDay + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalPredicate.m b/src/frameworks/CalendarStore/src/CalPredicate.m new file mode 100644 index 0000000000..956d23ddf5 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalPredicate.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalPredicate + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalRecurrenceEnd.m b/src/frameworks/CalendarStore/src/CalRecurrenceEnd.m new file mode 100644 index 0000000000..bae735dd6a --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalRecurrenceEnd.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalRecurrenceEnd + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalRecurrenceRule.m b/src/frameworks/CalendarStore/src/CalRecurrenceRule.m new file mode 100644 index 0000000000..39cb5977e4 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalRecurrenceRule.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalRecurrenceRule + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalTask.m b/src/frameworks/CalendarStore/src/CalTask.m new file mode 100644 index 0000000000..f753037568 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalTask.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalTask + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalTaskPredicate.m b/src/frameworks/CalendarStore/src/CalTaskPredicate.m new file mode 100644 index 0000000000..1acaf140a1 --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalTaskPredicate.m @@ -0,0 +1,34 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + +#import + +@implementation CalTaskPredicate + +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector +{ + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; +} + +- (void)forwardInvocation:(NSInvocation *)anInvocation +{ + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); +} + +@end diff --git a/src/frameworks/CalendarStore/src/CalendarStore.m b/src/frameworks/CalendarStore/src/CalendarStore.m new file mode 100644 index 0000000000..974a8d6e5f --- /dev/null +++ b/src/frameworks/CalendarStore/src/CalendarStore.m @@ -0,0 +1,30 @@ +/* + This file is part of Darling. + + Copyright (C) 2019 Lubos Dolezel + + Darling is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Darling is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Darling. If not, see . +*/ + + +#include +#include +#include + +static int verbose = 0; + +__attribute__((constructor)) +static void initme(void) { + verbose = getenv("STUB_VERBOSE") != NULL; +} diff --git a/src/frameworks/include/CalendarStore b/src/frameworks/include/CalendarStore new file mode 120000 index 0000000000..8aa1e5cc72 --- /dev/null +++ b/src/frameworks/include/CalendarStore @@ -0,0 +1 @@ +../CalendarStore/include/CalendarStore \ No newline at end of file