objc2_contacts/generated/
CNChangeHistoryEvent.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11    /// [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryevent?language=objc)
12    #[unsafe(super(NSObject))]
13    #[derive(Debug, PartialEq, Eq, Hash)]
14    pub struct CNChangeHistoryEvent;
15);
16
17extern_conformance!(
18    unsafe impl NSCoding for CNChangeHistoryEvent {}
19);
20
21extern_conformance!(
22    unsafe impl NSCopying for CNChangeHistoryEvent {}
23);
24
25unsafe impl CopyingHelper for CNChangeHistoryEvent {
26    type Result = Self;
27}
28
29extern_conformance!(
30    unsafe impl NSObjectProtocol for CNChangeHistoryEvent {}
31);
32
33extern_conformance!(
34    unsafe impl NSSecureCoding for CNChangeHistoryEvent {}
35);
36
37impl CNChangeHistoryEvent {
38    extern_methods!(
39        #[unsafe(method(acceptEventVisitor:))]
40        #[unsafe(method_family = none)]
41        pub unsafe fn acceptEventVisitor(
42            &self,
43            visitor: &ProtocolObject<dyn CNChangeHistoryEventVisitor>,
44        );
45    );
46}
47
48/// Methods declared on superclass `NSObject`.
49impl CNChangeHistoryEvent {
50    extern_methods!(
51        #[unsafe(method(init))]
52        #[unsafe(method_family = init)]
53        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
54
55        #[unsafe(method(new))]
56        #[unsafe(method_family = new)]
57        pub unsafe fn new() -> Retained<Self>;
58    );
59}
60
61extern_class!(
62    /// Drop all cached information your app has persisted
63    ///
64    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistorydropeverythingevent?language=objc)
65    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
66    #[derive(Debug, PartialEq, Eq, Hash)]
67    pub struct CNChangeHistoryDropEverythingEvent;
68);
69
70extern_conformance!(
71    unsafe impl NSCoding for CNChangeHistoryDropEverythingEvent {}
72);
73
74extern_conformance!(
75    unsafe impl NSCopying for CNChangeHistoryDropEverythingEvent {}
76);
77
78unsafe impl CopyingHelper for CNChangeHistoryDropEverythingEvent {
79    type Result = Self;
80}
81
82extern_conformance!(
83    unsafe impl NSObjectProtocol for CNChangeHistoryDropEverythingEvent {}
84);
85
86extern_conformance!(
87    unsafe impl NSSecureCoding for CNChangeHistoryDropEverythingEvent {}
88);
89
90impl CNChangeHistoryDropEverythingEvent {
91    extern_methods!();
92}
93
94/// Methods declared on superclass `NSObject`.
95impl CNChangeHistoryDropEverythingEvent {
96    extern_methods!(
97        #[unsafe(method(init))]
98        #[unsafe(method_family = init)]
99        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
100
101        #[unsafe(method(new))]
102        #[unsafe(method_family = new)]
103        pub unsafe fn new() -> Retained<Self>;
104    );
105}
106
107extern_class!(
108    /// A contact was added
109    ///
110    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryaddcontactevent?language=objc)
111    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
112    #[derive(Debug, PartialEq, Eq, Hash)]
113    pub struct CNChangeHistoryAddContactEvent;
114);
115
116extern_conformance!(
117    unsafe impl NSCoding for CNChangeHistoryAddContactEvent {}
118);
119
120extern_conformance!(
121    unsafe impl NSCopying for CNChangeHistoryAddContactEvent {}
122);
123
124unsafe impl CopyingHelper for CNChangeHistoryAddContactEvent {
125    type Result = Self;
126}
127
128extern_conformance!(
129    unsafe impl NSObjectProtocol for CNChangeHistoryAddContactEvent {}
130);
131
132extern_conformance!(
133    unsafe impl NSSecureCoding for CNChangeHistoryAddContactEvent {}
134);
135
136impl CNChangeHistoryAddContactEvent {
137    extern_methods!(
138        #[cfg(feature = "CNContact")]
139        #[unsafe(method(contact))]
140        #[unsafe(method_family = none)]
141        pub unsafe fn contact(&self) -> Retained<CNContact>;
142
143        #[unsafe(method(containerIdentifier))]
144        #[unsafe(method_family = none)]
145        pub unsafe fn containerIdentifier(&self) -> Option<Retained<NSString>>;
146    );
147}
148
149/// Methods declared on superclass `NSObject`.
150impl CNChangeHistoryAddContactEvent {
151    extern_methods!(
152        #[unsafe(method(init))]
153        #[unsafe(method_family = init)]
154        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
155
156        #[unsafe(method(new))]
157        #[unsafe(method_family = new)]
158        pub unsafe fn new() -> Retained<Self>;
159    );
160}
161
162extern_class!(
163    /// A contact was updated
164    ///
165    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryupdatecontactevent?language=objc)
166    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
167    #[derive(Debug, PartialEq, Eq, Hash)]
168    pub struct CNChangeHistoryUpdateContactEvent;
169);
170
171extern_conformance!(
172    unsafe impl NSCoding for CNChangeHistoryUpdateContactEvent {}
173);
174
175extern_conformance!(
176    unsafe impl NSCopying for CNChangeHistoryUpdateContactEvent {}
177);
178
179unsafe impl CopyingHelper for CNChangeHistoryUpdateContactEvent {
180    type Result = Self;
181}
182
183extern_conformance!(
184    unsafe impl NSObjectProtocol for CNChangeHistoryUpdateContactEvent {}
185);
186
187extern_conformance!(
188    unsafe impl NSSecureCoding for CNChangeHistoryUpdateContactEvent {}
189);
190
191impl CNChangeHistoryUpdateContactEvent {
192    extern_methods!(
193        #[cfg(feature = "CNContact")]
194        #[unsafe(method(contact))]
195        #[unsafe(method_family = none)]
196        pub unsafe fn contact(&self) -> Retained<CNContact>;
197    );
198}
199
200/// Methods declared on superclass `NSObject`.
201impl CNChangeHistoryUpdateContactEvent {
202    extern_methods!(
203        #[unsafe(method(init))]
204        #[unsafe(method_family = init)]
205        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
206
207        #[unsafe(method(new))]
208        #[unsafe(method_family = new)]
209        pub unsafe fn new() -> Retained<Self>;
210    );
211}
212
213extern_class!(
214    /// A contact was removed
215    ///
216    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistorydeletecontactevent?language=objc)
217    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
218    #[derive(Debug, PartialEq, Eq, Hash)]
219    pub struct CNChangeHistoryDeleteContactEvent;
220);
221
222extern_conformance!(
223    unsafe impl NSCoding for CNChangeHistoryDeleteContactEvent {}
224);
225
226extern_conformance!(
227    unsafe impl NSCopying for CNChangeHistoryDeleteContactEvent {}
228);
229
230unsafe impl CopyingHelper for CNChangeHistoryDeleteContactEvent {
231    type Result = Self;
232}
233
234extern_conformance!(
235    unsafe impl NSObjectProtocol for CNChangeHistoryDeleteContactEvent {}
236);
237
238extern_conformance!(
239    unsafe impl NSSecureCoding for CNChangeHistoryDeleteContactEvent {}
240);
241
242impl CNChangeHistoryDeleteContactEvent {
243    extern_methods!(
244        #[unsafe(method(contactIdentifier))]
245        #[unsafe(method_family = none)]
246        pub unsafe fn contactIdentifier(&self) -> Retained<NSString>;
247    );
248}
249
250/// Methods declared on superclass `NSObject`.
251impl CNChangeHistoryDeleteContactEvent {
252    extern_methods!(
253        #[unsafe(method(init))]
254        #[unsafe(method_family = init)]
255        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
256
257        #[unsafe(method(new))]
258        #[unsafe(method_family = new)]
259        pub unsafe fn new() -> Retained<Self>;
260    );
261}
262
263extern_class!(
264    /// A group was added
265    ///
266    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryaddgroupevent?language=objc)
267    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
268    #[derive(Debug, PartialEq, Eq, Hash)]
269    pub struct CNChangeHistoryAddGroupEvent;
270);
271
272extern_conformance!(
273    unsafe impl NSCoding for CNChangeHistoryAddGroupEvent {}
274);
275
276extern_conformance!(
277    unsafe impl NSCopying for CNChangeHistoryAddGroupEvent {}
278);
279
280unsafe impl CopyingHelper for CNChangeHistoryAddGroupEvent {
281    type Result = Self;
282}
283
284extern_conformance!(
285    unsafe impl NSObjectProtocol for CNChangeHistoryAddGroupEvent {}
286);
287
288extern_conformance!(
289    unsafe impl NSSecureCoding for CNChangeHistoryAddGroupEvent {}
290);
291
292impl CNChangeHistoryAddGroupEvent {
293    extern_methods!(
294        #[cfg(feature = "CNGroup")]
295        #[unsafe(method(group))]
296        #[unsafe(method_family = none)]
297        pub unsafe fn group(&self) -> Retained<CNGroup>;
298
299        #[unsafe(method(containerIdentifier))]
300        #[unsafe(method_family = none)]
301        pub unsafe fn containerIdentifier(&self) -> Retained<NSString>;
302    );
303}
304
305/// Methods declared on superclass `NSObject`.
306impl CNChangeHistoryAddGroupEvent {
307    extern_methods!(
308        #[unsafe(method(init))]
309        #[unsafe(method_family = init)]
310        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
311
312        #[unsafe(method(new))]
313        #[unsafe(method_family = new)]
314        pub unsafe fn new() -> Retained<Self>;
315    );
316}
317
318extern_class!(
319    /// A group was updated
320    ///
321    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryupdategroupevent?language=objc)
322    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
323    #[derive(Debug, PartialEq, Eq, Hash)]
324    pub struct CNChangeHistoryUpdateGroupEvent;
325);
326
327extern_conformance!(
328    unsafe impl NSCoding for CNChangeHistoryUpdateGroupEvent {}
329);
330
331extern_conformance!(
332    unsafe impl NSCopying for CNChangeHistoryUpdateGroupEvent {}
333);
334
335unsafe impl CopyingHelper for CNChangeHistoryUpdateGroupEvent {
336    type Result = Self;
337}
338
339extern_conformance!(
340    unsafe impl NSObjectProtocol for CNChangeHistoryUpdateGroupEvent {}
341);
342
343extern_conformance!(
344    unsafe impl NSSecureCoding for CNChangeHistoryUpdateGroupEvent {}
345);
346
347impl CNChangeHistoryUpdateGroupEvent {
348    extern_methods!(
349        #[cfg(feature = "CNGroup")]
350        #[unsafe(method(group))]
351        #[unsafe(method_family = none)]
352        pub unsafe fn group(&self) -> Retained<CNGroup>;
353    );
354}
355
356/// Methods declared on superclass `NSObject`.
357impl CNChangeHistoryUpdateGroupEvent {
358    extern_methods!(
359        #[unsafe(method(init))]
360        #[unsafe(method_family = init)]
361        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
362
363        #[unsafe(method(new))]
364        #[unsafe(method_family = new)]
365        pub unsafe fn new() -> Retained<Self>;
366    );
367}
368
369extern_class!(
370    /// A group was deleted
371    ///
372    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistorydeletegroupevent?language=objc)
373    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
374    #[derive(Debug, PartialEq, Eq, Hash)]
375    pub struct CNChangeHistoryDeleteGroupEvent;
376);
377
378extern_conformance!(
379    unsafe impl NSCoding for CNChangeHistoryDeleteGroupEvent {}
380);
381
382extern_conformance!(
383    unsafe impl NSCopying for CNChangeHistoryDeleteGroupEvent {}
384);
385
386unsafe impl CopyingHelper for CNChangeHistoryDeleteGroupEvent {
387    type Result = Self;
388}
389
390extern_conformance!(
391    unsafe impl NSObjectProtocol for CNChangeHistoryDeleteGroupEvent {}
392);
393
394extern_conformance!(
395    unsafe impl NSSecureCoding for CNChangeHistoryDeleteGroupEvent {}
396);
397
398impl CNChangeHistoryDeleteGroupEvent {
399    extern_methods!(
400        #[unsafe(method(groupIdentifier))]
401        #[unsafe(method_family = none)]
402        pub unsafe fn groupIdentifier(&self) -> Retained<NSString>;
403    );
404}
405
406/// Methods declared on superclass `NSObject`.
407impl CNChangeHistoryDeleteGroupEvent {
408    extern_methods!(
409        #[unsafe(method(init))]
410        #[unsafe(method_family = init)]
411        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
412
413        #[unsafe(method(new))]
414        #[unsafe(method_family = new)]
415        pub unsafe fn new() -> Retained<Self>;
416    );
417}
418
419extern_class!(
420    /// A contact was added to a group
421    ///
422    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryaddmembertogroupevent?language=objc)
423    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
424    #[derive(Debug, PartialEq, Eq, Hash)]
425    pub struct CNChangeHistoryAddMemberToGroupEvent;
426);
427
428extern_conformance!(
429    unsafe impl NSCoding for CNChangeHistoryAddMemberToGroupEvent {}
430);
431
432extern_conformance!(
433    unsafe impl NSCopying for CNChangeHistoryAddMemberToGroupEvent {}
434);
435
436unsafe impl CopyingHelper for CNChangeHistoryAddMemberToGroupEvent {
437    type Result = Self;
438}
439
440extern_conformance!(
441    unsafe impl NSObjectProtocol for CNChangeHistoryAddMemberToGroupEvent {}
442);
443
444extern_conformance!(
445    unsafe impl NSSecureCoding for CNChangeHistoryAddMemberToGroupEvent {}
446);
447
448impl CNChangeHistoryAddMemberToGroupEvent {
449    extern_methods!(
450        #[cfg(feature = "CNContact")]
451        #[unsafe(method(member))]
452        #[unsafe(method_family = none)]
453        pub unsafe fn member(&self) -> Retained<CNContact>;
454
455        #[cfg(feature = "CNGroup")]
456        #[unsafe(method(group))]
457        #[unsafe(method_family = none)]
458        pub unsafe fn group(&self) -> Retained<CNGroup>;
459    );
460}
461
462/// Methods declared on superclass `NSObject`.
463impl CNChangeHistoryAddMemberToGroupEvent {
464    extern_methods!(
465        #[unsafe(method(init))]
466        #[unsafe(method_family = init)]
467        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
468
469        #[unsafe(method(new))]
470        #[unsafe(method_family = new)]
471        pub unsafe fn new() -> Retained<Self>;
472    );
473}
474
475extern_class!(
476    /// A contact was removed from a group
477    ///
478    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryremovememberfromgroupevent?language=objc)
479    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
480    #[derive(Debug, PartialEq, Eq, Hash)]
481    pub struct CNChangeHistoryRemoveMemberFromGroupEvent;
482);
483
484extern_conformance!(
485    unsafe impl NSCoding for CNChangeHistoryRemoveMemberFromGroupEvent {}
486);
487
488extern_conformance!(
489    unsafe impl NSCopying for CNChangeHistoryRemoveMemberFromGroupEvent {}
490);
491
492unsafe impl CopyingHelper for CNChangeHistoryRemoveMemberFromGroupEvent {
493    type Result = Self;
494}
495
496extern_conformance!(
497    unsafe impl NSObjectProtocol for CNChangeHistoryRemoveMemberFromGroupEvent {}
498);
499
500extern_conformance!(
501    unsafe impl NSSecureCoding for CNChangeHistoryRemoveMemberFromGroupEvent {}
502);
503
504impl CNChangeHistoryRemoveMemberFromGroupEvent {
505    extern_methods!(
506        #[cfg(feature = "CNContact")]
507        #[unsafe(method(member))]
508        #[unsafe(method_family = none)]
509        pub unsafe fn member(&self) -> Retained<CNContact>;
510
511        #[cfg(feature = "CNGroup")]
512        #[unsafe(method(group))]
513        #[unsafe(method_family = none)]
514        pub unsafe fn group(&self) -> Retained<CNGroup>;
515    );
516}
517
518/// Methods declared on superclass `NSObject`.
519impl CNChangeHistoryRemoveMemberFromGroupEvent {
520    extern_methods!(
521        #[unsafe(method(init))]
522        #[unsafe(method_family = init)]
523        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
524
525        #[unsafe(method(new))]
526        #[unsafe(method_family = new)]
527        pub unsafe fn new() -> Retained<Self>;
528    );
529}
530
531extern_class!(
532    /// A subgroup was added to a group
533    ///
534    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryaddsubgrouptogroupevent?language=objc)
535    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
536    #[derive(Debug, PartialEq, Eq, Hash)]
537    pub struct CNChangeHistoryAddSubgroupToGroupEvent;
538);
539
540extern_conformance!(
541    unsafe impl NSCoding for CNChangeHistoryAddSubgroupToGroupEvent {}
542);
543
544extern_conformance!(
545    unsafe impl NSCopying for CNChangeHistoryAddSubgroupToGroupEvent {}
546);
547
548unsafe impl CopyingHelper for CNChangeHistoryAddSubgroupToGroupEvent {
549    type Result = Self;
550}
551
552extern_conformance!(
553    unsafe impl NSObjectProtocol for CNChangeHistoryAddSubgroupToGroupEvent {}
554);
555
556extern_conformance!(
557    unsafe impl NSSecureCoding for CNChangeHistoryAddSubgroupToGroupEvent {}
558);
559
560impl CNChangeHistoryAddSubgroupToGroupEvent {
561    extern_methods!(
562        #[cfg(feature = "CNGroup")]
563        #[unsafe(method(subgroup))]
564        #[unsafe(method_family = none)]
565        pub unsafe fn subgroup(&self) -> Retained<CNGroup>;
566
567        #[cfg(feature = "CNGroup")]
568        #[unsafe(method(group))]
569        #[unsafe(method_family = none)]
570        pub unsafe fn group(&self) -> Retained<CNGroup>;
571    );
572}
573
574/// Methods declared on superclass `NSObject`.
575impl CNChangeHistoryAddSubgroupToGroupEvent {
576    extern_methods!(
577        #[unsafe(method(init))]
578        #[unsafe(method_family = init)]
579        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
580
581        #[unsafe(method(new))]
582        #[unsafe(method_family = new)]
583        pub unsafe fn new() -> Retained<Self>;
584    );
585}
586
587extern_class!(
588    /// A subgroup was removed from a group
589    ///
590    /// See also [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryremovesubgroupfromgroupevent?language=objc)
591    #[unsafe(super(CNChangeHistoryEvent, NSObject))]
592    #[derive(Debug, PartialEq, Eq, Hash)]
593    pub struct CNChangeHistoryRemoveSubgroupFromGroupEvent;
594);
595
596extern_conformance!(
597    unsafe impl NSCoding for CNChangeHistoryRemoveSubgroupFromGroupEvent {}
598);
599
600extern_conformance!(
601    unsafe impl NSCopying for CNChangeHistoryRemoveSubgroupFromGroupEvent {}
602);
603
604unsafe impl CopyingHelper for CNChangeHistoryRemoveSubgroupFromGroupEvent {
605    type Result = Self;
606}
607
608extern_conformance!(
609    unsafe impl NSObjectProtocol for CNChangeHistoryRemoveSubgroupFromGroupEvent {}
610);
611
612extern_conformance!(
613    unsafe impl NSSecureCoding for CNChangeHistoryRemoveSubgroupFromGroupEvent {}
614);
615
616impl CNChangeHistoryRemoveSubgroupFromGroupEvent {
617    extern_methods!(
618        #[cfg(feature = "CNGroup")]
619        #[unsafe(method(subgroup))]
620        #[unsafe(method_family = none)]
621        pub unsafe fn subgroup(&self) -> Retained<CNGroup>;
622
623        #[cfg(feature = "CNGroup")]
624        #[unsafe(method(group))]
625        #[unsafe(method_family = none)]
626        pub unsafe fn group(&self) -> Retained<CNGroup>;
627    );
628}
629
630/// Methods declared on superclass `NSObject`.
631impl CNChangeHistoryRemoveSubgroupFromGroupEvent {
632    extern_methods!(
633        #[unsafe(method(init))]
634        #[unsafe(method_family = init)]
635        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
636
637        #[unsafe(method(new))]
638        #[unsafe(method_family = new)]
639        pub unsafe fn new() -> Retained<Self>;
640    );
641}
642
643extern_protocol!(
644    /// [Apple's documentation](https://developer.apple.com/documentation/contacts/cnchangehistoryeventvisitor?language=objc)
645    pub unsafe trait CNChangeHistoryEventVisitor: NSObjectProtocol {
646        #[unsafe(method(visitDropEverythingEvent:))]
647        #[unsafe(method_family = none)]
648        unsafe fn visitDropEverythingEvent(&self, event: &CNChangeHistoryDropEverythingEvent);
649
650        #[unsafe(method(visitAddContactEvent:))]
651        #[unsafe(method_family = none)]
652        unsafe fn visitAddContactEvent(&self, event: &CNChangeHistoryAddContactEvent);
653
654        #[unsafe(method(visitUpdateContactEvent:))]
655        #[unsafe(method_family = none)]
656        unsafe fn visitUpdateContactEvent(&self, event: &CNChangeHistoryUpdateContactEvent);
657
658        #[unsafe(method(visitDeleteContactEvent:))]
659        #[unsafe(method_family = none)]
660        unsafe fn visitDeleteContactEvent(&self, event: &CNChangeHistoryDeleteContactEvent);
661
662        #[optional]
663        #[unsafe(method(visitAddGroupEvent:))]
664        #[unsafe(method_family = none)]
665        unsafe fn visitAddGroupEvent(&self, event: &CNChangeHistoryAddGroupEvent);
666
667        #[optional]
668        #[unsafe(method(visitUpdateGroupEvent:))]
669        #[unsafe(method_family = none)]
670        unsafe fn visitUpdateGroupEvent(&self, event: &CNChangeHistoryUpdateGroupEvent);
671
672        #[optional]
673        #[unsafe(method(visitDeleteGroupEvent:))]
674        #[unsafe(method_family = none)]
675        unsafe fn visitDeleteGroupEvent(&self, event: &CNChangeHistoryDeleteGroupEvent);
676
677        #[optional]
678        #[unsafe(method(visitAddMemberToGroupEvent:))]
679        #[unsafe(method_family = none)]
680        unsafe fn visitAddMemberToGroupEvent(&self, event: &CNChangeHistoryAddMemberToGroupEvent);
681
682        #[optional]
683        #[unsafe(method(visitRemoveMemberFromGroupEvent:))]
684        #[unsafe(method_family = none)]
685        unsafe fn visitRemoveMemberFromGroupEvent(
686            &self,
687            event: &CNChangeHistoryRemoveMemberFromGroupEvent,
688        );
689
690        #[optional]
691        #[unsafe(method(visitAddSubgroupToGroupEvent:))]
692        #[unsafe(method_family = none)]
693        unsafe fn visitAddSubgroupToGroupEvent(
694            &self,
695            event: &CNChangeHistoryAddSubgroupToGroupEvent,
696        );
697
698        #[optional]
699        #[unsafe(method(visitRemoveSubgroupFromGroupEvent:))]
700        #[unsafe(method_family = none)]
701        unsafe fn visitRemoveSubgroupFromGroupEvent(
702            &self,
703            event: &CNChangeHistoryRemoveSubgroupFromGroupEvent,
704        );
705    }
706);