Debian Codegraph @

mingw-w64-headers/include/windows.foundation.collections.h

raw
1 /*** Autogenerated by WIDL 11.5 from include/windows.foundation.collections.idl - Do not edit ***/
2
3 #ifdef _WIN32
4 #ifndef __REQUIRED_RPCNDR_H_VERSION__
5 #define __REQUIRED_RPCNDR_H_VERSION__ 475
6 #endif
7 #include <rpc.h>
8 #include <rpcndr.h>
9 #endif
10
11 #ifndef COM_NO_WINDOWS_H
12 #include <windows.h>
13 #include <ole2.h>
14 #endif
15
16 #ifndef __windows_foundation_collections_h__
17 #define __windows_foundation_collections_h__
18
19 /* Forward declarations */
20
21 #if defined(__cplusplus) && !defined(CINTERFACE)
22 namespace ABI {
23 namespace Windows {
24 namespace Foundation {
25 template <class T>
26 struct IEventHandler_impl;
27
28 template <class T>
29 struct IEventHandler : IEventHandler_impl<T> {};
30 }
31 }
32 }
33 #endif
34
35 #if defined(__cplusplus) && !defined(CINTERFACE)
36 namespace ABI {
37 namespace Windows {
38 namespace Foundation {
39 template <class TResult>
40 struct IAsyncOperationCompletedHandler_impl;
41
42 template <class TResult>
43 struct IAsyncOperationCompletedHandler : IAsyncOperationCompletedHandler_impl<TResult> {};
44 }
45 }
46 }
47 #endif
48
49 #if defined(__cplusplus) && !defined(CINTERFACE)
50 namespace ABI {
51 namespace Windows {
52 namespace Foundation {
53 template <class TResult>
54 struct IAsyncOperation_impl;
55
56 template <class TResult>
57 struct IAsyncOperation : IAsyncOperation_impl<TResult> {};
58 }
59 }
60 }
61 #endif
62
63 #if defined(__cplusplus) && !defined(CINTERFACE)
64 namespace ABI {
65 namespace Windows {
66 namespace Foundation {
67 template <class TProgress>
68 struct IAsyncActionProgressHandler_impl;
69
70 template <class TProgress>
71 struct IAsyncActionProgressHandler : IAsyncActionProgressHandler_impl<TProgress> {};
72 }
73 }
74 }
75 #endif
76
77 #if defined(__cplusplus) && !defined(CINTERFACE)
78 namespace ABI {
79 namespace Windows {
80 namespace Foundation {
81 template <class TProgress>
82 struct IAsyncActionWithProgressCompletedHandler_impl;
83
84 template <class TProgress>
85 struct IAsyncActionWithProgressCompletedHandler : IAsyncActionWithProgressCompletedHandler_impl<TProgress> {};
86 }
87 }
88 }
89 #endif
90
91 #if defined(__cplusplus) && !defined(CINTERFACE)
92 namespace ABI {
93 namespace Windows {
94 namespace Foundation {
95 template <class TProgress>
96 struct IAsyncActionWithProgress_impl;
97
98 template <class TProgress>
99 struct IAsyncActionWithProgress : IAsyncActionWithProgress_impl<TProgress> {};
100 }
101 }
102 }
103 #endif
104
105 #if defined(__cplusplus) && !defined(CINTERFACE)
106 namespace ABI {
107 namespace Windows {
108 namespace Foundation {
109 template <class TResult, class TProgress>
110 struct IAsyncOperationProgressHandler_impl;
111
112 template <class TResult, class TProgress>
113 struct IAsyncOperationProgressHandler : IAsyncOperationProgressHandler_impl<TResult, TProgress> {};
114 }
115 }
116 }
117 #endif
118
119 #if defined(__cplusplus) && !defined(CINTERFACE)
120 namespace ABI {
121 namespace Windows {
122 namespace Foundation {
123 template <class TResult, class TProgress>
124 struct IAsyncOperationWithProgressCompletedHandler_impl;
125
126 template <class TResult, class TProgress>
127 struct IAsyncOperationWithProgressCompletedHandler : IAsyncOperationWithProgressCompletedHandler_impl<TResult, TProgress> {};
128 }
129 }
130 }
131 #endif
132
133 #if defined(__cplusplus) && !defined(CINTERFACE)
134 namespace ABI {
135 namespace Windows {
136 namespace Foundation {
137 template <class TResult, class TProgress>
138 struct IAsyncOperationWithProgress_impl;
139
140 template <class TResult, class TProgress>
141 struct IAsyncOperationWithProgress : IAsyncOperationWithProgress_impl<TResult, TProgress> {};
142 }
143 }
144 }
145 #endif
146
147 #if defined(__cplusplus) && !defined(CINTERFACE)
148 namespace ABI {
149 namespace Windows {
150 namespace Foundation {
151 template <class TSender, class TArgs>
152 struct ITypedEventHandler_impl;
153
154 template <class TSender, class TArgs>
155 struct ITypedEventHandler : ITypedEventHandler_impl<TSender, TArgs> {};
156 }
157 }
158 }
159 #endif
160
161 #if defined(__cplusplus) && !defined(CINTERFACE)
162 namespace ABI {
163 namespace Windows {
164 namespace Foundation {
165 template <class T>
166 struct IReference_impl;
167
168 template <class T>
169 struct IReference : IReference_impl<T> {};
170 }
171 }
172 }
173 #endif
174
175 #if defined(__cplusplus) && !defined(CINTERFACE)
176 namespace ABI {
177 namespace Windows {
178 namespace Foundation {
179 namespace Collections {
180 template <class T>
181 struct IIterator_impl;
182
183 template <class T>
184 struct IIterator : IIterator_impl<T> {};
185 }
186 }
187 }
188 }
189 #endif
190
191 #if defined(__cplusplus) && !defined(CINTERFACE)
192 namespace ABI {
193 namespace Windows {
194 namespace Foundation {
195 namespace Collections {
196 template <class T>
197 struct IIterable_impl;
198
199 template <class T>
200 struct IIterable : IIterable_impl<T> {};
201 }
202 }
203 }
204 }
205 #endif
206
207 #if defined(__cplusplus) && !defined(CINTERFACE)
208 namespace ABI {
209 namespace Windows {
210 namespace Foundation {
211 namespace Collections {
212 template <class T>
213 struct IMapChangedEventArgs_impl;
214
215 template <class T>
216 struct IMapChangedEventArgs : IMapChangedEventArgs_impl<T> {};
217 }
218 }
219 }
220 }
221 #endif
222
223 #if defined(__cplusplus) && !defined(CINTERFACE)
224 namespace ABI {
225 namespace Windows {
226 namespace Foundation {
227 namespace Collections {
228 template <class K, class V>
229 struct IMapChangedEventHandler_impl;
230
231 template <class K, class V>
232 struct IMapChangedEventHandler : IMapChangedEventHandler_impl<K, V> {};
233 }
234 }
235 }
236 }
237 #endif
238
239 #if defined(__cplusplus) && !defined(CINTERFACE)
240 namespace ABI {
241 namespace Windows {
242 namespace Foundation {
243 namespace Collections {
244 template <class K, class V>
245 struct IKeyValuePair_impl;
246
247 template <class K, class V>
248 struct IKeyValuePair : IKeyValuePair_impl<K, V> {};
249 }
250 }
251 }
252 }
253 #endif
254
255 #if defined(__cplusplus) && !defined(CINTERFACE)
256 namespace ABI {
257 namespace Windows {
258 namespace Foundation {
259 namespace Collections {
260 template <class K, class V>
261 struct IMapView_impl;
262
263 template <class K, class V>
264 struct IMapView : IMapView_impl<K, V> {};
265 }
266 }
267 }
268 }
269 #endif
270
271 #if defined(__cplusplus) && !defined(CINTERFACE)
272 namespace ABI {
273 namespace Windows {
274 namespace Foundation {
275 namespace Collections {
276 template <class K, class V>
277 struct IMap_impl;
278
279 template <class K, class V>
280 struct IMap : IMap_impl<K, V> {};
281 }
282 }
283 }
284 }
285 #endif
286
287 #if defined(__cplusplus) && !defined(CINTERFACE)
288 namespace ABI {
289 namespace Windows {
290 namespace Foundation {
291 namespace Collections {
292 template <class K, class V>
293 struct IObservableMap_impl;
294
295 template <class K, class V>
296 struct IObservableMap : IObservableMap_impl<K, V> {};
297 }
298 }
299 }
300 }
301 #endif
302
303 #if defined(__cplusplus) && !defined(CINTERFACE)
304 namespace ABI {
305 namespace Windows {
306 namespace Foundation {
307 namespace Collections {
308 template <class T>
309 struct IVectorChangedEventHandler_impl;
310
311 template <class T>
312 struct IVectorChangedEventHandler : IVectorChangedEventHandler_impl<T> {};
313 }
314 }
315 }
316 }
317 #endif
318
319 #if defined(__cplusplus) && !defined(CINTERFACE)
320 namespace ABI {
321 namespace Windows {
322 namespace Foundation {
323 namespace Collections {
324 template <class T>
325 struct IVectorView_impl;
326
327 template <class T>
328 struct IVectorView : IVectorView_impl<T> {};
329 }
330 }
331 }
332 }
333 #endif
334
335 #if defined(__cplusplus) && !defined(CINTERFACE)
336 namespace ABI {
337 namespace Windows {
338 namespace Foundation {
339 namespace Collections {
340 template <class T>
341 struct IVector_impl;
342
343 template <class T>
344 struct IVector : IVector_impl<T> {};
345 }
346 }
347 }
348 }
349 #endif
350
351 #if defined(__cplusplus) && !defined(CINTERFACE)
352 namespace ABI {
353 namespace Windows {
354 namespace Foundation {
355 namespace Collections {
356 template <class T>
357 struct IObservableVector_impl;
358
359 template <class T>
360 struct IObservableVector : IObservableVector_impl<T> {};
361 }
362 }
363 }
364 }
365 #endif
366
367 /* Headers for imported files */
368
369 #include <inspectable.h>
370 #include <asyncinfo.h>
371 #include <windowscontracts.h>
372 #include <eventtoken.h>
373 #include <ivectorchangedeventargs.h>
374
375 #ifdef __cplusplus
376 extern "C" {
377 #endif
378
379 #ifdef __cplusplus
380 } /* extern "C" */
381 namespace ABI { namespace Windows { namespace Foundation { namespace Internal {
382 template <class T> struct GetAbiType { typedef T type; };
383 template <class T> struct GetLogicalType { typedef T type; };
384 template <class L, class A> struct AggregateType {};
385 template <class L, class A> struct GetAbiType<AggregateType<L, A> > { typedef A type; };
386 template <class L, class A> struct GetLogicalType<AggregateType<L, A> > { typedef L type; };
387 }}}}
388 extern "C" {
389 #endif
390 #if defined(__cplusplus) && !defined(CINTERFACE)
391 } /* extern "C" */
392 namespace ABI {
393 namespace Windows {
394 namespace Foundation {
395 template <class T>
396 struct IEventHandler_impl : IUnknown
397 {
398 private:
399 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
400 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
401 public:
402 typedef T T_complex;
403 virtual HRESULT STDMETHODCALLTYPE Invoke(IInspectable *sender,T_abi args) = 0;
404 };
405 }
406 }
407 }
408 extern "C" {
409 #endif
410
411 #if defined(__cplusplus) && !defined(CINTERFACE)
412 } /* extern "C" */
413 namespace ABI {
414 namespace Windows {
415 namespace Foundation {
416 template <class TResult>
417 struct IAsyncOperationCompletedHandler_impl : IUnknown
418 {
419 private:
420 typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type TResult_abi;
421 typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical;
422 public:
423 typedef TResult TResult_complex;
424 virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncOperation<TResult_logical> *info,AsyncStatus status) = 0;
425 };
426 }
427 }
428 }
429 extern "C" {
430 #endif
431
432 #if defined(__cplusplus) && !defined(CINTERFACE)
433 } /* extern "C" */
434 namespace ABI {
435 namespace Windows {
436 namespace Foundation {
437 template <class TResult>
438 struct IAsyncOperation_impl : IInspectable
439 {
440 private:
441 typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type TResult_abi;
442 typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical;
443 public:
444 typedef TResult TResult_complex;
445 virtual HRESULT STDMETHODCALLTYPE put_Completed(IAsyncOperationCompletedHandler<TResult_logical> *handler) = 0;
446 virtual HRESULT STDMETHODCALLTYPE get_Completed(IAsyncOperationCompletedHandler<TResult_logical> **handler) = 0;
447 virtual HRESULT STDMETHODCALLTYPE GetResults(TResult_abi *results) = 0;
448 };
449 }
450 }
451 }
452 extern "C" {
453 #endif
454
455 #if defined(__cplusplus) && !defined(CINTERFACE)
456 } /* extern "C" */
457 namespace ABI {
458 namespace Windows {
459 namespace Foundation {
460 template <class TProgress>
461 struct IAsyncActionProgressHandler_impl : IUnknown
462 {
463 private:
464 typedef typename Windows::Foundation::Internal::GetAbiType<TProgress>::type TProgress_abi;
465 typedef typename Windows::Foundation::Internal::GetLogicalType<TProgress>::type TProgress_logical;
466 public:
467 typedef TProgress TProgress_complex;
468 virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncActionWithProgress<TProgress_logical> *info,TProgress_abi progress) = 0;
469 };
470 }
471 }
472 }
473 extern "C" {
474 #endif
475
476 #if defined(__cplusplus) && !defined(CINTERFACE)
477 } /* extern "C" */
478 namespace ABI {
479 namespace Windows {
480 namespace Foundation {
481 template <class TProgress>
482 struct IAsyncActionWithProgressCompletedHandler_impl : IUnknown
483 {
484 private:
485 typedef typename Windows::Foundation::Internal::GetAbiType<TProgress>::type TProgress_abi;
486 typedef typename Windows::Foundation::Internal::GetLogicalType<TProgress>::type TProgress_logical;
487 public:
488 typedef TProgress TProgress_complex;
489 virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncActionWithProgress<TProgress_logical> *info,AsyncStatus status) = 0;
490 };
491 }
492 }
493 }
494 extern "C" {
495 #endif
496
497 #if defined(__cplusplus) && !defined(CINTERFACE)
498 } /* extern "C" */
499 namespace ABI {
500 namespace Windows {
501 namespace Foundation {
502 template <class TProgress>
503 struct IAsyncActionWithProgress_impl : IInspectable
504 {
505 private:
506 typedef typename Windows::Foundation::Internal::GetAbiType<TProgress>::type TProgress_abi;
507 typedef typename Windows::Foundation::Internal::GetLogicalType<TProgress>::type TProgress_logical;
508 public:
509 typedef TProgress TProgress_complex;
510 virtual HRESULT STDMETHODCALLTYPE put_Progress(IAsyncActionProgressHandler<TProgress_logical> *handler) = 0;
511 virtual HRESULT STDMETHODCALLTYPE get_Progress(IAsyncActionProgressHandler<TProgress_logical> **handler) = 0;
512 virtual HRESULT STDMETHODCALLTYPE put_Completed(IAsyncActionWithProgressCompletedHandler<TProgress_logical> *handler) = 0;
513 virtual HRESULT STDMETHODCALLTYPE get_Completed(IAsyncActionWithProgressCompletedHandler<TProgress_logical> **handler) = 0;
514 virtual HRESULT STDMETHODCALLTYPE GetResults() = 0;
515 };
516 }
517 }
518 }
519 extern "C" {
520 #endif
521
522 #if defined(__cplusplus) && !defined(CINTERFACE)
523 } /* extern "C" */
524 namespace ABI {
525 namespace Windows {
526 namespace Foundation {
527 template <class TResult, class TProgress>
528 struct IAsyncOperationProgressHandler_impl : IUnknown
529 {
530 private:
531 typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type TResult_abi;
532 typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical;
533 typedef typename Windows::Foundation::Internal::GetAbiType<TProgress>::type TProgress_abi;
534 typedef typename Windows::Foundation::Internal::GetLogicalType<TProgress>::type TProgress_logical;
535 public:
536 typedef TResult TResult_complex;
537 typedef TProgress TProgress_complex;
538 virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncOperationWithProgress<TResult_logical, TProgress_logical> *info,TProgress_abi progress) = 0;
539 };
540 }
541 }
542 }
543 extern "C" {
544 #endif
545
546 #if defined(__cplusplus) && !defined(CINTERFACE)
547 } /* extern "C" */
548 namespace ABI {
549 namespace Windows {
550 namespace Foundation {
551 template <class TResult, class TProgress>
552 struct IAsyncOperationWithProgressCompletedHandler_impl : IUnknown
553 {
554 private:
555 typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type TResult_abi;
556 typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical;
557 typedef typename Windows::Foundation::Internal::GetAbiType<TProgress>::type TProgress_abi;
558 typedef typename Windows::Foundation::Internal::GetLogicalType<TProgress>::type TProgress_logical;
559 public:
560 typedef TResult TResult_complex;
561 typedef TProgress TProgress_complex;
562 virtual HRESULT STDMETHODCALLTYPE Invoke(IAsyncOperationWithProgress<TResult_logical, TProgress_logical> *info,AsyncStatus status) = 0;
563 };
564 }
565 }
566 }
567 extern "C" {
568 #endif
569
570 #if defined(__cplusplus) && !defined(CINTERFACE)
571 } /* extern "C" */
572 namespace ABI {
573 namespace Windows {
574 namespace Foundation {
575 template <class TResult, class TProgress>
576 struct IAsyncOperationWithProgress_impl : IInspectable
577 {
578 private:
579 typedef typename Windows::Foundation::Internal::GetAbiType<TResult>::type TResult_abi;
580 typedef typename Windows::Foundation::Internal::GetLogicalType<TResult>::type TResult_logical;
581 typedef typename Windows::Foundation::Internal::GetAbiType<TProgress>::type TProgress_abi;
582 typedef typename Windows::Foundation::Internal::GetLogicalType<TProgress>::type TProgress_logical;
583 public:
584 typedef TResult TResult_complex;
585 typedef TProgress TProgress_complex;
586 virtual HRESULT STDMETHODCALLTYPE put_Progress(IAsyncOperationProgressHandler<TResult_logical, TProgress_logical> *handler) = 0;
587 virtual HRESULT STDMETHODCALLTYPE get_Progress(IAsyncOperationProgressHandler<TResult_logical, TProgress_logical> **handler) = 0;
588 virtual HRESULT STDMETHODCALLTYPE put_Completed(IAsyncOperationWithProgressCompletedHandler<TResult_logical, TProgress_logical> *handler) = 0;
589 virtual HRESULT STDMETHODCALLTYPE get_Completed(IAsyncOperationWithProgressCompletedHandler<TResult_logical, TProgress_logical> **handler) = 0;
590 virtual HRESULT STDMETHODCALLTYPE GetResults(TResult_abi *results) = 0;
591 };
592 }
593 }
594 }
595 extern "C" {
596 #endif
597
598 #if defined(__cplusplus) && !defined(CINTERFACE)
599 } /* extern "C" */
600 namespace ABI {
601 namespace Windows {
602 namespace Foundation {
603 template <class TSender, class TArgs>
604 struct ITypedEventHandler_impl : IUnknown
605 {
606 private:
607 typedef typename Windows::Foundation::Internal::GetAbiType<TSender>::type TSender_abi;
608 typedef typename Windows::Foundation::Internal::GetLogicalType<TSender>::type TSender_logical;
609 typedef typename Windows::Foundation::Internal::GetAbiType<TArgs>::type TArgs_abi;
610 typedef typename Windows::Foundation::Internal::GetLogicalType<TArgs>::type TArgs_logical;
611 public:
612 typedef TSender TSender_complex;
613 typedef TArgs TArgs_complex;
614 virtual HRESULT STDMETHODCALLTYPE Invoke(TSender_abi sender,TArgs_abi args) = 0;
615 };
616 }
617 }
618 }
619 extern "C" {
620 #endif
621
622 #if defined(__cplusplus) && !defined(CINTERFACE)
623 } /* extern "C" */
624 namespace ABI {
625 namespace Windows {
626 namespace Foundation {
627 template <class T>
628 struct IReference_impl : IInspectable
629 {
630 private:
631 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
632 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
633 public:
634 typedef T T_complex;
635 virtual HRESULT STDMETHODCALLTYPE get_Value(T_abi *value) = 0;
636 };
637 }
638 }
639 }
640 extern "C" {
641 #endif
642
643 #if defined(__cplusplus) && !defined(CINTERFACE)
644 } /* extern "C" */
645 namespace ABI {
646 namespace Windows {
647 namespace Foundation {
648 namespace Collections {
649 template <class T>
650 struct IIterator_impl : IInspectable
651 {
652 private:
653 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
654 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
655 public:
656 typedef T T_complex;
657 virtual HRESULT STDMETHODCALLTYPE get_Current(T_abi *value) = 0;
658 virtual HRESULT STDMETHODCALLTYPE get_HasCurrent(boolean *value) = 0;
659 virtual HRESULT STDMETHODCALLTYPE MoveNext(boolean *value) = 0;
660 virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 items_size,T_abi *items,UINT32 *value) = 0;
661 };
662 }
663 }
664 }
665 }
666 extern "C" {
667 #endif
668
669 #if defined(__cplusplus) && !defined(CINTERFACE)
670 } /* extern "C" */
671 namespace ABI {
672 namespace Windows {
673 namespace Foundation {
674 namespace Collections {
675 template <class T>
676 struct IIterable_impl : IInspectable
677 {
678 private:
679 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
680 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
681 public:
682 typedef T T_complex;
683 virtual HRESULT STDMETHODCALLTYPE First(IIterator<T_logical> **value) = 0;
684 };
685 }
686 }
687 }
688 }
689 extern "C" {
690 #endif
691
692 #if defined(__cplusplus) && !defined(CINTERFACE)
693 } /* extern "C" */
694 namespace ABI {
695 namespace Windows {
696 namespace Foundation {
697 namespace Collections {
698 template <class T>
699 struct IMapChangedEventArgs_impl : IInspectable
700 {
701 private:
702 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
703 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
704 public:
705 typedef T T_complex;
706 virtual HRESULT STDMETHODCALLTYPE get_CollectionChanged(ABI::Windows::Foundation::Collections::CollectionChange *value) = 0;
707 virtual HRESULT STDMETHODCALLTYPE get_Key(T_abi *key) = 0;
708 };
709 }
710 }
711 }
712 }
713 extern "C" {
714 #endif
715
716 #if defined(__cplusplus) && !defined(CINTERFACE)
717 } /* extern "C" */
718 namespace ABI {
719 namespace Windows {
720 namespace Foundation {
721 namespace Collections {
722 template <class K, class V>
723 struct IMapChangedEventHandler_impl : IUnknown
724 {
725 private:
726 typedef typename Windows::Foundation::Internal::GetAbiType<K>::type K_abi;
727 typedef typename Windows::Foundation::Internal::GetLogicalType<K>::type K_logical;
728 typedef typename Windows::Foundation::Internal::GetAbiType<V>::type V_abi;
729 typedef typename Windows::Foundation::Internal::GetLogicalType<V>::type V_logical;
730 public:
731 typedef K K_complex;
732 typedef V V_complex;
733 virtual HRESULT STDMETHODCALLTYPE Invoke(IObservableMap<K_logical, V_logical> *sender,IMapChangedEventArgs<K_logical> *args) = 0;
734 };
735 }
736 }
737 }
738 }
739 extern "C" {
740 #endif
741
742 #if defined(__cplusplus) && !defined(CINTERFACE)
743 } /* extern "C" */
744 namespace ABI {
745 namespace Windows {
746 namespace Foundation {
747 namespace Collections {
748 template <class K, class V>
749 struct IKeyValuePair_impl : IInspectable
750 {
751 private:
752 typedef typename Windows::Foundation::Internal::GetAbiType<K>::type K_abi;
753 typedef typename Windows::Foundation::Internal::GetLogicalType<K>::type K_logical;
754 typedef typename Windows::Foundation::Internal::GetAbiType<V>::type V_abi;
755 typedef typename Windows::Foundation::Internal::GetLogicalType<V>::type V_logical;
756 public:
757 typedef K K_complex;
758 typedef V V_complex;
759 virtual HRESULT STDMETHODCALLTYPE get_Key(K_abi *key) = 0;
760 virtual HRESULT STDMETHODCALLTYPE get_Value(V_abi *value) = 0;
761 };
762 }
763 }
764 }
765 }
766 extern "C" {
767 #endif
768
769 #if defined(__cplusplus) && !defined(CINTERFACE)
770 } /* extern "C" */
771 namespace ABI {
772 namespace Windows {
773 namespace Foundation {
774 namespace Collections {
775 template <class K, class V>
776 struct IMapView_impl : IInspectable
777 {
778 private:
779 typedef typename Windows::Foundation::Internal::GetAbiType<K>::type K_abi;
780 typedef typename Windows::Foundation::Internal::GetLogicalType<K>::type K_logical;
781 typedef typename Windows::Foundation::Internal::GetAbiType<V>::type V_abi;
782 typedef typename Windows::Foundation::Internal::GetLogicalType<V>::type V_logical;
783 public:
784 typedef K K_complex;
785 typedef V V_complex;
786 virtual HRESULT STDMETHODCALLTYPE Lookup(K_abi key,V_abi *value) = 0;
787 virtual HRESULT STDMETHODCALLTYPE get_Size(unsigned int *size) = 0;
788 virtual HRESULT STDMETHODCALLTYPE HasKey(K_abi key,boolean *found) = 0;
789 virtual HRESULT STDMETHODCALLTYPE Split(IMapView<K_logical, V_logical> **first,IMapView<K_logical, V_logical> **second) = 0;
790 };
791 }
792 }
793 }
794 }
795 extern "C" {
796 #endif
797
798 #if defined(__cplusplus) && !defined(CINTERFACE)
799 } /* extern "C" */
800 namespace ABI {
801 namespace Windows {
802 namespace Foundation {
803 namespace Collections {
804 template <class K, class V>
805 struct IMap_impl : IInspectable
806 {
807 private:
808 typedef typename Windows::Foundation::Internal::GetAbiType<K>::type K_abi;
809 typedef typename Windows::Foundation::Internal::GetLogicalType<K>::type K_logical;
810 typedef typename Windows::Foundation::Internal::GetAbiType<V>::type V_abi;
811 typedef typename Windows::Foundation::Internal::GetLogicalType<V>::type V_logical;
812 public:
813 typedef K K_complex;
814 typedef V V_complex;
815 virtual HRESULT STDMETHODCALLTYPE Lookup(K_abi key,V_abi *value) = 0;
816 virtual HRESULT STDMETHODCALLTYPE get_Size(unsigned int *size) = 0;
817 virtual HRESULT STDMETHODCALLTYPE HasKey(K_abi key,boolean *found) = 0;
818 virtual HRESULT STDMETHODCALLTYPE GetView(IMapView<K_logical, V_logical> **view) = 0;
819 virtual HRESULT STDMETHODCALLTYPE Insert(K_abi key,V_abi value,boolean *replaced) = 0;
820 virtual HRESULT STDMETHODCALLTYPE Remove(K_abi key) = 0;
821 virtual HRESULT STDMETHODCALLTYPE Clear() = 0;
822 };
823 }
824 }
825 }
826 }
827 extern "C" {
828 #endif
829
830 #if defined(__cplusplus) && !defined(CINTERFACE)
831 } /* extern "C" */
832 namespace ABI {
833 namespace Windows {
834 namespace Foundation {
835 namespace Collections {
836 template <class K, class V>
837 struct IObservableMap_impl : IInspectable
838 {
839 private:
840 typedef typename Windows::Foundation::Internal::GetAbiType<K>::type K_abi;
841 typedef typename Windows::Foundation::Internal::GetLogicalType<K>::type K_logical;
842 typedef typename Windows::Foundation::Internal::GetAbiType<V>::type V_abi;
843 typedef typename Windows::Foundation::Internal::GetLogicalType<V>::type V_logical;
844 public:
845 typedef K K_complex;
846 typedef V V_complex;
847 virtual HRESULT STDMETHODCALLTYPE add_MapChanged(IMapChangedEventHandler<K_logical, V_logical> *handler,EventRegistrationToken *token) = 0;
848 virtual HRESULT STDMETHODCALLTYPE remove_MapChanged(EventRegistrationToken token) = 0;
849 };
850 }
851 }
852 }
853 }
854 extern "C" {
855 #endif
856
857 #if defined(__cplusplus) && !defined(CINTERFACE)
858 } /* extern "C" */
859 namespace ABI {
860 namespace Windows {
861 namespace Foundation {
862 namespace Collections {
863 template <class T>
864 struct IVectorChangedEventHandler_impl : IUnknown
865 {
866 private:
867 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
868 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
869 public:
870 typedef T T_complex;
871 virtual HRESULT STDMETHODCALLTYPE Invoke(IObservableVector<T_logical> *sender,ABI::Windows::Foundation::Collections::IVectorChangedEventArgs *args) = 0;
872 };
873 }
874 }
875 }
876 }
877 extern "C" {
878 #endif
879
880 #if defined(__cplusplus) && !defined(CINTERFACE)
881 } /* extern "C" */
882 namespace ABI {
883 namespace Windows {
884 namespace Foundation {
885 namespace Collections {
886 template <class T>
887 struct IVectorView_impl : IInspectable
888 {
889 private:
890 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
891 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
892 public:
893 typedef T T_complex;
894 virtual HRESULT STDMETHODCALLTYPE GetAt(UINT32 index,T_abi *value) = 0;
895 virtual HRESULT STDMETHODCALLTYPE get_Size(UINT32 *value) = 0;
896 virtual HRESULT STDMETHODCALLTYPE IndexOf(T_abi element,UINT32 *index,BOOLEAN *value) = 0;
897 virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 start_index,UINT32 items_size,T_abi *items,UINT32 *value) = 0;
898 };
899 }
900 }
901 }
902 }
903 extern "C" {
904 #endif
905
906 #if defined(__cplusplus) && !defined(CINTERFACE)
907 } /* extern "C" */
908 namespace ABI {
909 namespace Windows {
910 namespace Foundation {
911 namespace Collections {
912 template <class T>
913 struct IVector_impl : IInspectable
914 {
915 private:
916 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
917 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
918 public:
919 typedef T T_complex;
920 virtual HRESULT STDMETHODCALLTYPE GetAt(UINT32 index,T_abi *value) = 0;
921 virtual HRESULT STDMETHODCALLTYPE get_Size(UINT32 *value) = 0;
922 virtual HRESULT STDMETHODCALLTYPE GetView(IVectorView<T_logical> **value) = 0;
923 virtual HRESULT STDMETHODCALLTYPE IndexOf(T_abi element,UINT32 *index,BOOLEAN *value) = 0;
924 virtual HRESULT STDMETHODCALLTYPE SetAt(UINT32 index,T_abi value) = 0;
925 virtual HRESULT STDMETHODCALLTYPE InsertAt(UINT32 index,T_abi value) = 0;
926 virtual HRESULT STDMETHODCALLTYPE RemoveAt(UINT32 index) = 0;
927 virtual HRESULT STDMETHODCALLTYPE Append(T_abi value) = 0;
928 virtual HRESULT STDMETHODCALLTYPE RemoveAtEnd() = 0;
929 virtual HRESULT STDMETHODCALLTYPE Clear() = 0;
930 virtual HRESULT STDMETHODCALLTYPE GetMany(UINT32 start_index,UINT32 items_size,T_abi *items,UINT32 *value) = 0;
931 virtual HRESULT STDMETHODCALLTYPE ReplaceAll(UINT32 count,T_abi *items) = 0;
932 };
933 }
934 }
935 }
936 }
937 extern "C" {
938 #endif
939
940 #if defined(__cplusplus) && !defined(CINTERFACE)
941 } /* extern "C" */
942 namespace ABI {
943 namespace Windows {
944 namespace Foundation {
945 namespace Collections {
946 template <class T>
947 struct IObservableVector_impl : IInspectable
948 {
949 private:
950 typedef typename Windows::Foundation::Internal::GetAbiType<T>::type T_abi;
951 typedef typename Windows::Foundation::Internal::GetLogicalType<T>::type T_logical;
952 public:
953 typedef T T_complex;
954 virtual HRESULT STDMETHODCALLTYPE add_VectorChanged(IVectorChangedEventHandler<T_logical> *handler,EventRegistrationToken *token) = 0;
955 virtual HRESULT STDMETHODCALLTYPE remove_VectorChanged(EventRegistrationToken token) = 0;
956 };
957 }
958 }
959 }
960 }
961 extern "C" {
962 #endif
963
964 /* Begin additional prototypes for all interfaces */
965
966
967 /* End additional prototypes */
968
969 #ifdef __cplusplus
970 }
971 #endif
972
973 #endif /* __windows_foundation_collections_h__ */