2009-10-09 Chris Toshok <toshok@ximian.com>
[moon.git] / src / cbinding.h
blobd7174c0d8fa5c5e66c1dce871573b1fb04a2f8b0
1 /*
2 * Automatically generated, do not edit this file directly
3 */
5 #ifndef __MOONLIGHT_C_BINDING_H__
6 #define __MOONLIGHT_C_BINDING_H__
8 #include <glib.h>
9 #include <cairo.h>
11 #include "enums.h"
13 class Accessibility;
14 class AlsaSource;
15 class Animation;
16 class AnimationClock;
17 class Application;
18 class ArcSegment;
19 class ASFDemuxer;
20 class ASFMarkerDecoder;
21 class ASFPacket;
22 class ASFParser;
23 class AssemblyPart;
24 class AssemblyPartCollection;
25 class ASXDemuxer;
26 class AudioSource;
27 class AudioStream;
28 class BackEase;
29 class BeginStoryboard;
30 class BezierSegment;
31 class BitmapImage;
32 class BitmapSource;
33 class Border;
34 class BounceEase;
35 class Brush;
36 class Canvas;
37 class CircleEase;
38 class Clock;
39 class ClockGroup;
40 class CodecDownloader;
41 class Collection;
42 class CollectionChangedEventArgs;
43 class CollectionItemChangedEventArgs;
44 class ColorAnimation;
45 class ColorAnimationUsingKeyFrames;
46 class ColorKeyFrame;
47 class ColorKeyFrameCollection;
48 class ColumnDefinition;
49 class ColumnDefinitionCollection;
50 class ContentChangedEventArgs;
51 class ContentControl;
52 class Control;
53 class ControlTemplate;
54 class CubicEase;
55 class CursorPositionChangedEventArgs;
56 class DataTemplate;
57 class DeepZoomImageTileSource;
58 class DependencyObject;
59 class DependencyObjectCollection;
60 class Deployment;
61 class DiscreteColorKeyFrame;
62 class DiscreteDoubleKeyFrame;
63 class DiscreteObjectKeyFrame;
64 class DiscretePointKeyFrame;
65 class DispatcherTimer;
66 class DoubleCollection;
67 class DoubleAnimation;
68 class DoubleAnimationUsingKeyFrames;
69 class DoubleKeyFrame;
70 class DoubleKeyFrameCollection;
71 class Downloader;
72 class DownloadProgressEventArgs;
73 class DrawingAttributes;
74 class EasingColorKeyFrame;
75 class EasingDoubleKeyFrame;
76 class EasingFunctionBase;
77 class EasingPointKeyFrame;
78 class ElasticEase;
79 class Ellipse;
80 class EllipseGeometry;
81 class ErrorEventArgs;
82 class EventArgs;
83 class EventListenerProxy;
84 class EventObject;
85 class EventTrigger;
86 class ExponentialEase;
87 class ExtensionPart;
88 class ExternalDecoder;
89 class ExternalDemuxer;
90 class ExternalPart;
91 class ExternalPartCollection;
92 class FfmpegDecoder;
93 class FfmpegDemuxer;
94 class FileDownloader;
95 class FileSource;
96 class FrameworkElement;
97 class FrameworkTemplate;
98 class GeneralTransform;
99 class Geometry;
100 class GeometryCollection;
101 class GeometryGroup;
102 class Glyphs;
103 class GradientBrush;
104 class GradientStop;
105 class GradientStopCollection;
106 class Grid;
107 class HitTestCollection;
108 class IImageConverter;
109 class Image;
110 class ImageBrush;
111 class ImageErrorEventArgs;
112 class ImageSource;
113 class IMediaDecoder;
114 class IMediaDemuxer;
115 class IMediaObject;
116 class IMediaSource;
117 class IMediaStream;
118 class InkPresenter;
119 class Inline;
120 class InlineCollection;
121 class InputMethod;
122 class InternalDownloader;
123 class ItemCollection;
124 class KeyEventArgs;
125 class KeyFrame;
126 class KeyFrameCollection;
127 class KeySpline;
128 class LayoutInformation;
129 class Line;
130 class LinearColorKeyFrame;
131 class LinearDoubleKeyFrame;
132 class LinearGradientBrush;
133 class LinearPointKeyFrame;
134 class LineBreak;
135 class LineGeometry;
136 class LineSegment;
137 class ManagedStreamSource;
138 class ManualTimeSource;
139 class MarkerReachedEventArgs;
140 class MarkerStream;
141 class Matrix;
142 class MatrixTransform;
143 class Media;
144 class MediaAttribute;
145 class MediaAttributeCollection;
146 class MediaBase;
147 class MediaClosure;
148 class MediaDisposeObjectClosure;
149 class MediaElement;
150 class MediaFrame;
151 class MediaGetFrameClosure;
152 class MediaMarker;
153 class MediaMarkerFoundClosure;
154 class MediaPlayer;
155 class MediaReportSeekCompletedClosure;
156 class MediaSeekClosure;
157 class MemorySource;
158 class MmsDemuxer;
159 class MmsDownloader;
160 class MmsPlaylistEntry;
161 class MmsSecondDownloader;
162 class MmsSource;
163 class MouseButtonEventArgs;
164 class MouseEventArgs;
165 class MouseWheelEventArgs;
166 class Mp3Demuxer;
167 class MultiScaleImage;
168 class MultiScaleSubImage;
169 class MultiScaleSubImageCollection;
170 class MultiScaleTileSource;
171 class NameScope;
172 class NullDecoder;
173 class ObjectAnimationUsingKeyFrames;
174 class ObjectKeyFrame;
175 class ObjectKeyFrameCollection;
176 class OutOfBrowserSettings;
177 class Panel;
178 class ParallelTimeline;
179 class ParserErrorEventArgs;
180 class PassThroughDecoder;
181 class PasswordBox;
182 class Path;
183 class PathFigure;
184 class PathFigureCollection;
185 class PathGeometry;
186 class PathSegment;
187 class PathSegmentCollection;
188 class Playlist;
189 class PlaylistEntry;
190 class PlaylistRoot;
191 class PointCollection;
192 class PointAnimation;
193 class PointAnimationUsingKeyFrames;
194 class PointKeyFrame;
195 class PointKeyFrameCollection;
196 class PolyBezierSegment;
197 class Polygon;
198 class Polyline;
199 class PolyLineSegment;
200 class PolyQuadraticBezierSegment;
201 class Popup;
202 class PowerEase;
203 class ProgressEventArgs;
204 class ProgressiveSource;
205 class PropertyChangedEventArgs;
206 class PulseSource;
207 class QuadraticBezierSegment;
208 class QuadraticEase;
209 class QuarticEase;
210 class QuinticEase;
211 class RadialGradientBrush;
212 class Rectangle;
213 class RectangleGeometry;
214 class RenderingEventArgs;
215 class ResourceDictionary;
216 class ResourceDictionaryCollection;
217 class RotateTransform;
218 class RoutedEventArgs;
219 class RowDefinition;
220 class RowDefinitionCollection;
221 class Run;
222 class ScaleTransform;
223 class Setter;
224 class SetterBase;
225 class SetterBaseCollection;
226 class Shape;
227 class SineEase;
228 class SizeChangedEventArgs;
229 class SkewTransform;
230 class SolidColorBrush;
231 class SplineColorKeyFrame;
232 class SplineDoubleKeyFrame;
233 class SplinePointKeyFrame;
234 class Storyboard;
235 class Stroke;
236 class StrokeCollection;
237 class Style;
238 class StylusInfo;
239 class StylusPoint;
240 class StylusPointCollection;
241 class Surface;
242 class SystemTimeSource;
243 class TextBlock;
244 class TextBox;
245 class TextBoxBase;
246 class TextBoxModelChangedEventArgs;
247 class TextBoxView;
248 class TextChangedEventArgs;
249 class TileBrush;
250 class Timeline;
251 class TimelineCollection;
252 class TimelineGroup;
253 class TimelineMarker;
254 class TimelineMarkerCollection;
255 class TimeManager;
256 class TimeSource;
257 class Transform;
258 class TransformCollection;
259 class TransformGroup;
260 class TranslateTransform;
261 class TriggerCollection;
262 class TriggerAction;
263 class TriggerActionCollection;
264 class TriggerBase;
265 class UIElement;
266 class UIElementCollection;
267 class UnmanagedMatrix;
268 class UserControl;
269 class VideoBrush;
270 class VideoStream;
271 class VisualBrush;
272 class WriteableBitmap;
273 class YUVConverter;
276 class Accessibility;
277 class AlsaPlayer;
278 class AlsaSource;
279 class Animation;
280 class AnimationClock;
281 class AnimationStorage;
282 class Application;
283 class Applier;
284 class ArcSegment;
285 class ArrayList;
286 class ASFDemuxer;
287 class ASFDemuxerInfo;
288 class ASFFrameReader;
289 class ASFMarkerDecoder;
290 class ASFMarkerDecoderInfo;
291 class ASFPacket;
292 class ASFParser;
293 class ASFReader;
294 class AssemblyPart;
295 class AssemblyPartCollection;
296 class ASXDemuxer;
297 class ASXDemuxerInfo;
298 class AudioListNode;
299 class AudioPlayer;
300 class AudioSource;
301 class AudioSources;
302 class AudioStream;
303 class AutoCreatePropertyValueProvider;
304 class AutoCreators;
305 class BackEase;
306 class BeginStoryboard;
307 class BezierSegment;
308 class BitmapImage;
309 class BitmapSource;
310 class Border;
311 class BounceEase;
312 class BrowserBridge;
313 class Brush;
314 class Cancellable;
315 class Canvas;
316 class CircleEase;
317 class Clock;
318 class ClockGroup;
319 class CodecDownloader;
320 class Collection;
321 class CollectionChangedEventArgs;
322 class CollectionItemChangedEventArgs;
323 class CollectionIterator;
324 class ColorAnimation;
325 class ColorAnimationUsingKeyFrames;
326 class ColorKeyFrame;
327 class ColorKeyFrameCollection;
328 class ColumnDefinition;
329 class ColumnDefinitionCollection;
330 class ContentChangedEventArgs;
331 class ContentControl;
332 class ContentDescription;
333 class ContentDescriptionList;
334 class Control;
335 class ControlTemplate;
336 class ConverterInfo;
337 class CubicEase;
338 class CursorPositionChangedEventArgs;
339 class DataTemplate;
340 class DecoderInfo;
341 class DeepTreeWalker;
342 class DeepZoomImageTileSource;
343 class DefaultValuePropertyValueProvider;
344 class DemuxerInfo;
345 class DependencyObject;
346 class DependencyObjectCollection;
347 class DependencyProperty;
348 class Deployment;
349 class DeploymentStack;
350 class DirtyLists;
351 class DiscreteColorKeyFrame;
352 class DiscreteDoubleKeyFrame;
353 class DiscreteObjectKeyFrame;
354 class DiscretePointKeyFrame;
355 class DispatcherTimer;
356 class DoubleAnimation;
357 class DoubleAnimationUsingKeyFrames;
358 class DoubleCollection;
359 class DoubleKeyFrame;
360 class DoubleKeyFrameCollection;
361 class Downloader;
362 class DownloaderRequest;
363 class DownloaderResponse;
364 class DownloadProgressEventArgs;
365 class DrawingAttributes;
366 class EasingColorKeyFrame;
367 class EasingDoubleKeyFrame;
368 class EasingFunctionBase;
369 class EasingPointKeyFrame;
370 class ElasticEase;
371 class Ellipse;
372 class EllipseGeometry;
373 class ErrorEventArgs;
374 class EventArgs;
375 class EventListenerProxy;
376 class EventObject;
377 class EventTrigger;
378 class ExponentialEase;
379 class ExtensionPart;
380 class ExternalDecoder;
381 class ExternalDecoderInfo;
382 class ExternalDemuxer;
383 class ExternalPart;
384 class ExternalPartCollection;
385 class FfmpegDecoder;
386 class FfmpegDecoderInfo;
387 class FfmpegDemuxer;
388 class FileDownloader;
389 class FileSource;
390 class FontFace;
391 class FontManager;
392 class FrameworkElement;
393 class FrameworkElementProvider;
394 class FrameworkTemplate;
395 class GeneralTransform;
396 class Geometry;
397 class GeometryCollection;
398 class GeometryGroup;
399 class Glyphs;
400 class GradientBrush;
401 class GradientStop;
402 class GradientStopCollection;
403 class Grid;
404 class GridNode;
405 class HitTestCollection;
406 class IDownloader;
407 class IImageConverter;
408 class Image;
409 class ImageBrush;
410 class ImageErrorEventArgs;
411 class ImageSource;
412 class IMediaDecoder;
413 class IMediaDemuxer;
414 class IMediaObject;
415 class IMediaSource;
416 class IMediaStream;
417 class InheritedPropertyValueProvider;
418 class InkPresenter;
419 class Inline;
420 class InlineCollection;
421 class InputMethod;
422 class InternalDownloader;
423 class ItemCollection;
424 class ITextAttributes;
425 class Keyboard;
426 class KeyEventArgs;
427 class KeyFrame;
428 class KeyFrameCollection;
429 class KeySpline;
430 class LayoutInformation;
431 class Line;
432 class LinearColorKeyFrame;
433 class LinearDoubleKeyFrame;
434 class LinearGradientBrush;
435 class LinearPointKeyFrame;
436 class LineBreak;
437 class LineGeometry;
438 class LineSegment;
439 class List;
440 class LocalPropertyValueProvider;
441 class ManagedStreamSource;
442 class ManualTimeSource;
443 class MarkerReachedEventArgs;
444 class MarkerStream;
445 class Matrix;
446 class MatrixTransform;
447 class Media;
448 class MediaAttribute;
449 class MediaAttributeCollection;
450 class MediaBase;
451 class MediaClosure;
452 class MediaDisposeObjectClosure;
453 class MediaElement;
454 class MediaElementPropertyValueProvider;
455 class MediaFrame;
456 class MediaGetFrameClosure;
457 class MediaInfo;
458 class MediaMarker;
459 class MediaMarkerFoundClosure;
460 class MediaPlayer;
461 class MediaReportSeekCompletedClosure;
462 class MediaSeekClosure;
463 class MediaThreadPool;
464 class MediaWork;
465 class MemorySource;
466 class MmsDemuxer;
467 class MmsDownloader;
468 class MmsPlaylistEntry;
469 class MmsSecondDownloader;
470 class MmsSource;
471 class MoonError;
472 class MoonlightConfiguration;
473 class MoonWindow;
474 class MoonWindowGtk;
475 class MoonWindowless;
476 class MouseButtonEventArgs;
477 class MouseEventArgs;
478 class MouseWheelEventArgs;
479 class Mp3Demuxer;
480 class Mp3DemuxerInfo;
481 class Mp3FrameReader;
482 class MultiScaleImage;
483 class MultiScaleImagePropertyValueProvider;
484 class MultiScaleSubImage;
485 class MultiScaleSubImageCollection;
486 class MultiScaleTileSource;
487 class Mutex;
488 class NameScope;
489 class NPStreamRequest;
490 class NullDecoder;
491 class NullDecoderInfo;
492 class ObjectAnimationUsingKeyFrames;
493 class ObjectKeyFrame;
494 class ObjectKeyFrameCollection;
495 class ObjectTracker;
496 class OutOfBrowserSettings;
497 class Panel;
498 class ParallelTimeline;
499 class ParserErrorEventArgs;
500 class PassThroughDecoder;
501 class PassThroughDecoderInfo;
502 class PasswordBox;
503 class Path;
504 class PathFigure;
505 class PathFigureCollection;
506 class PathGeometry;
507 class PathSegment;
508 class PathSegmentCollection;
509 class Playlist;
510 class PlaylistEntry;
511 class PlaylistKind;
512 class PlaylistNode;
513 class PlaylistParser;
514 class PlaylistParserInternal;
515 class PlaylistRoot;
516 class PluginDownloader;
517 class PluginInstance;
518 class PluginXamlLoader;
519 class PointAnimation;
520 class PointAnimationUsingKeyFrames;
521 class PointCollection;
522 class PointKeyFrame;
523 class PointKeyFrameCollection;
524 class PolyBezierSegment;
525 class Polygon;
526 class Polyline;
527 class PolyLineSegment;
528 class PolyQuadraticBezierSegment;
529 class Popup;
530 class PowerEase;
531 class ProgressEventArgs;
532 class ProgressiveSource;
533 class PropertyChangedEventArgs;
534 class PropertyValueProvider;
535 class PulsePlayer;
536 class PulseSource;
537 class QuadraticBezierSegment;
538 class QuadraticEase;
539 class QuarticEase;
540 class Queue;
541 class QuinticEase;
542 class RadialGradientBrush;
543 class Rectangle;
544 class RectangleGeometry;
545 class Region;
546 class RenderingEventArgs;
547 class RenderNode;
548 class ResourceDictionary;
549 class ResourceDictionaryCollection;
550 class RotateTransform;
551 class RoutedEventArgs;
552 class RowDefinition;
553 class RowDefinitionCollection;
554 class Run;
555 class ScaleTransform;
556 class Setter;
557 class SetterBase;
558 class SetterBaseCollection;
559 class Shape;
560 class SineEase;
561 class SizeChangedEventArgs;
562 class SkewTransform;
563 class SolidColorBrush;
564 class SplineColorKeyFrame;
565 class SplineDoubleKeyFrame;
566 class SplinePointKeyFrame;
567 class Storyboard;
568 class StreamNotify;
569 class Stroke;
570 class StrokeCollection;
571 class Style;
572 class StylePropertyValueProvider;
573 class StylusInfo;
574 class StylusPoint;
575 class StylusPointCollection;
576 class Surface;
577 class SystemTimeSource;
578 class TabNavigationWalker;
579 class TextBlock;
580 class TextBox;
581 class TextBoxBase;
582 class TextBoxModelChangedEventArgs;
583 class TextBoxView;
584 class TextChangedEventArgs;
585 class TextFont;
586 class TextFontDescription;
587 class TextLayout;
588 class TextLayoutAttributes;
589 class TextStream;
590 class TileBrush;
591 class Timeline;
592 class TimelineCollection;
593 class TimelineGroup;
594 class TimelineMarker;
595 class TimelineMarkerCollection;
596 class TimeManager;
597 class TimeSource;
598 class ToggleNotifyListener;
599 class Transform;
600 class TransformCollection;
601 class TransformGroup;
602 class TranslateTransform;
603 class TriggerAction;
604 class TriggerActionCollection;
605 class TriggerBase;
606 class TriggerCollection;
607 class Type;
608 class Types;
609 class UIElement;
610 class UIElementCollection;
611 class UIElementNode;
612 class UnmanagedMatrix;
613 class UserControl;
614 class Validators;
615 class VideoBrush;
616 class VideoStream;
617 class VisualBrush;
618 class VisualTreeWalker;
619 class WriteableBitmap;
620 class XamlContext;
621 class XamlLoader;
622 class Xap;
623 class YUVConverter;
624 class YUVConverterInfo;
626 struct asf_bitrate_mutual_exclusion;
627 struct asf_codec_list;
628 struct asf_content_description;
629 struct asf_data;
630 struct asf_error_correction;
631 struct asf_error_correction_data;
632 struct asf_extended_content_description;
633 struct asf_extended_stream_name;
634 struct asf_extended_stream_properties;
635 struct asf_file_properties;
636 struct asf_guid;
637 struct asf_header;
638 struct asf_header_extension;
639 struct asf_marker;
640 struct asf_marker_entry;
641 struct asf_multiple_payloads;
642 struct asf_object;
643 struct asf_payload_extension_system;
644 struct asf_payload_parsing_information;
645 struct asf_script_command;
646 struct asf_script_command_entry;
647 struct asf_single_payload;
648 struct asf_stream_bitrate_properties;
649 struct asf_stream_properties;
650 struct asf_video_stream_data;
651 struct ASFContext;
652 struct ASFFrameReaderData;
653 struct ASFFrameReaderIndex;
654 struct AudioData;
655 struct BITMAPINFOHEADER;
656 struct Color;
657 struct CornerRadius;
658 struct Duration;
659 struct FontFaceExtents;
660 struct FontFamily;
661 struct FontSource;
662 struct FontStretch;
663 struct FontStyle;
664 struct FontWeight;
665 struct GlyphInfo;
666 struct GlyphMetrics;
667 struct GridLength;
668 struct KeyTime;
669 struct ManagedStreamCallbacks;
670 struct ManagedTypeInfo;
671 struct MmsDataPacket;
672 struct MmsHeader;
673 struct MmsHeaderReason;
674 struct MmsPacket;
675 struct MoonlightCollectionObject;
676 struct MoonlightCollectionType;
677 struct MoonlightContentObject;
678 struct MoonlightContentType;
679 struct MoonlightControlObject;
680 struct MoonlightControlType;
681 struct MoonlightCornerRadius;
682 struct MoonlightCornerRadiusType;
683 struct MoonlightDependencyObjectObject;
684 struct MoonlightDependencyObjectType;
685 struct MoonlightDownloaderObject;
686 struct MoonlightDownloaderType;
687 struct MoonlightDownloadProgressEventArgs;
688 struct MoonlightDownloadProgressEventArgsType;
689 struct MoonlightDuration;
690 struct MoonlightDurationType;
691 struct MoonlightErrorEventArgs;
692 struct MoonlightErrorEventArgsType;
693 struct MoonlightEventArgs;
694 struct MoonlightEventArgsType;
695 struct MoonlightEventObjectObject;
696 struct MoonlightEventObjectType;
697 struct MoonlightGridLength;
698 struct MoonlightGridLengthType;
699 struct MoonlightImageBrushObject;
700 struct MoonlightImageBrushType;
701 struct MoonlightImageObject;
702 struct MoonlightImageType;
703 struct MoonlightKeyEventArgsObject;
704 struct MoonlightKeyEventArgsType;
705 struct MoonlightKeyTime;
706 struct MoonlightKeyTimeType;
707 struct MoonlightMarkerReachedEventArgsObject;
708 struct MoonlightMarkerReachedEventArgsType;
709 struct MoonlightMediaElementObject;
710 struct MoonlightMediaElementType;
711 struct MoonlightMouseEventArgsObject;
712 struct MoonlightMouseEventArgsType;
713 struct MoonlightMultiScaleImageObject;
714 struct MoonlightMultiScaleImageType;
715 struct MoonlightObject;
716 struct MoonlightObjectType;
717 struct MoonlightPasswordBoxObject;
718 struct MoonlightPasswordBoxType;
719 struct MoonlightPoint;
720 struct MoonlightPointType;
721 struct MoonlightRect;
722 struct MoonlightRectType;
723 struct MoonlightRoutedEventArgs;
724 struct MoonlightRoutedEventArgsType;
725 struct MoonlightScriptableObjectObject;
726 struct MoonlightScriptableObjectType;
727 struct MoonlightScriptControlObject;
728 struct MoonlightScriptControlType;
729 struct MoonlightSettingsObject;
730 struct MoonlightSettingsType;
731 struct MoonlightStoryboardObject;
732 struct MoonlightStoryboardType;
733 struct MoonlightStrokeCollectionObject;
734 struct MoonlightStrokeCollectionType;
735 struct MoonlightStrokeObject;
736 struct MoonlightStrokeType;
737 struct MoonlightStylusInfoObject;
738 struct MoonlightStylusInfoType;
739 struct MoonlightStylusPointCollectionObject;
740 struct MoonlightStylusPointCollectionType;
741 struct MoonlightTextBlockObject;
742 struct MoonlightTextBlockType;
743 struct MoonlightTextBoxObject;
744 struct MoonlightTextBoxType;
745 struct MoonlightThickness;
746 struct MoonlightThicknessType;
747 struct MoonlightTimeSpan;
748 struct MoonlightTimeSpanType;
749 struct MoonlightUIElementObject;
750 struct MoonlightUIElementType;
751 struct MoonNameIdMapping;
752 struct MpegFrame;
753 struct MpegFrameHeader;
754 struct MpegVBRHeader;
755 struct Point;
756 struct PropertyPath;
757 struct Rect;
758 struct RepeatBehavior;
759 struct Segment;
760 struct Size;
761 struct TextLayoutGlyphCluster;
762 struct TextLayoutLine;
763 struct TextLayoutRun;
764 struct Thickness;
765 struct Uri;
766 struct Value;
767 struct WAVEFORMATEX;
768 struct WAVEFORMATEXTENSIBLE;
769 struct XamlCallbackData;
770 struct XamlLoaderCallbacks;
772 typedef void ( * ApplyDefaultStyleCallback ) ( FrameworkElement * fwe , ManagedTypeInfo * key ) ;
773 typedef UIElement * ( * GetDefaultTemplateRootCallback ) ( ContentControl * ctrl_ptr ) ;
774 typedef void ( * ApplyStyleCallback ) ( FrameworkElement * fwe , Style * style ) ;
775 typedef void * ( * ConvertKeyframeValueCallback ) ( int kind , DependencyProperty * property , Value * original , Value * converted ) ;
776 typedef ManagedStreamCallbacks ( * GetResourceCallback ) ( const char * resourceBase , const char * name ) ;
777 typedef void ( * TickCallHandler ) ( EventObject * object ) ;
778 typedef void ( * EventHandler ) ( EventObject * sender , EventArgs * args , gpointer closure ) ;
779 typedef void ( * ToggleNotifyHandler ) ( EventObject * sender , bool isLastRef ) ;
780 typedef void ( * PropertyChangeHandler ) ( DependencyObject * sender , PropertyChangedEventArgs * args , MoonError * error , gpointer closure ) ;
781 typedef void ( * DownloaderResponseHeaderCallback ) ( gpointer context , const char * header , const char * value ) ;
782 typedef void ( * DownloaderWriteFunc ) ( void * buf , gint32 offset , gint32 n , gpointer cb_data ) ;
783 typedef void ( * DownloaderNotifySizeFunc ) ( gint64 size , gpointer cb_data ) ;
784 typedef gpointer ( * DownloaderCreateStateFunc ) ( Downloader * dl ) ;
785 typedef void ( * DownloaderDestroyStateFunc ) ( gpointer state ) ;
786 typedef void ( * DownloaderOpenFunc ) ( gpointer state , const char * verb , const char * uri , bool custom_header_support , bool disable_cache ) ;
787 typedef void ( * DownloaderSendFunc ) ( gpointer state ) ;
788 typedef void ( * DownloaderAbortFunc ) ( gpointer state ) ;
789 typedef void ( * DownloaderHeaderFunc ) ( gpointer state , const char * header , const char * value ) ;
790 typedef void ( * DownloaderBodyFunc ) ( gpointer state , void * body , guint32 length ) ;
791 typedef gpointer ( * DownloaderCreateWebRequestFunc ) ( const char * method , const char * uri , gpointer context ) ;
792 typedef void ( * DownloaderSetResponseHeaderCallbackFunc ) ( gpointer state , DownloaderResponseHeaderCallback callback , gpointer context ) ;
793 typedef DownloaderResponse * ( * DownloaderGetResponseFunc ) ( gpointer state ) ;
794 typedef guint32 ( * DownloaderResponseStartedHandler ) ( DownloaderResponse * response , gpointer context ) ;
795 typedef guint32 ( * DownloaderResponseDataAvailableHandler ) ( DownloaderResponse * response , gpointer context , char * buffer , guint32 length ) ;
796 typedef guint32 ( * DownloaderResponseFinishedHandler ) ( DownloaderResponse * response , gpointer context , bool success , gpointer data , const char * uri ) ;
797 typedef double ( * EasingFunction ) ( double normalizedTime ) ;
798 typedef Size ( * MeasureOverrideCallback ) ( Size availableSize ) ;
799 typedef Size ( * ArrangeOverrideCallback ) ( Size finalSize ) ;
800 typedef void ( * CloseDemuxerCallback ) ( void * instance ) ;
801 typedef void ( * GetDiagnosticAsyncCallback ) ( void * instance , int diagnosticKind ) ;
802 typedef void ( * GetFrameAsyncCallback ) ( void * instance , int mediaStreamType ) ;
803 typedef void ( * OpenDemuxerAsyncCallback ) ( void * instance , IMediaDemuxer * demuxer ) ;
804 typedef void ( * SeekAsyncCallback ) ( void * instance , guint64 seekToTime ) ;
805 typedef void ( * SwitchMediaStreamAsyncCallback ) ( void * instance , IMediaStream * mediaStreamDescription ) ;
806 typedef void ( * ExternalDecoder_DecodeFrameAsyncCallback ) ( void * instance , MediaFrame * frame ) ;
807 typedef void ( * ExternalDecoder_OpenDecoderAsyncCallback ) ( void * instance ) ;
808 typedef void ( * ExternalDecoder_CleanupCallback ) ( void * instance , MediaFrame * frame ) ;
809 typedef void ( * ExternalDecoder_CleanStateCallback ) ( void * instance ) ;
810 typedef bool ( * ExternalDecoder_HasDelayedFrameCallback ) ( void * instance ) ;
811 typedef void ( * ExternalDecoder_DisposeCallback ) ( void * instance ) ;
812 typedef void ( * ExternalDecoder_DtorCallback ) ( void * instance ) ;
813 typedef bool ( * ExternalDecoderInfo_SupportsCallback ) ( void * instance , const char * codec ) ;
814 typedef IMediaDecoder * ( * ExternalDecoderInfo_Create ) ( void * instance , Media * media , IMediaStream * stream ) ;
815 typedef void ( * ExternalDecoderInfo_dtor ) ( void * instance ) ;
816 typedef bool ( * get_image_uri_func ) ( int level , int posX , int posY , Uri * uri , void * user_data ) ;
817 typedef gint64 TimeSpan ;
820 G_BEGIN_DECLS
823 * Application
825 /* @GeneratePInvoke */
826 Application *application_new (void);
828 /* @GeneratePInvoke */
829 Application *application_get_current (void);
831 /* @GeneratePInvoke */
832 void application_register_callbacks (Application *instance, ApplyDefaultStyleCallback apply_default_style_cb, ApplyStyleCallback apply_style_cb, GetResourceCallback get_resource_cb, ConvertKeyframeValueCallback convert_keyframe_callback, GetDefaultTemplateRootCallback get_default_template_root_cb);
834 /* @GeneratePInvoke */
835 void application_set_current (Application *current);
838 * ArcSegment
840 /* @GeneratePInvoke */
841 ArcSegment *arc_segment_new (void);
844 * AssemblyPart
846 /* @GeneratePInvoke */
847 AssemblyPart *assembly_part_new (void);
850 * AssemblyPartCollection
852 /* @GeneratePInvoke */
853 AssemblyPartCollection *assembly_part_collection_new (void);
856 * AudioStream
858 /* @GeneratePInvoke */
859 AudioStream *audio_stream_new (Media *media, int codec_id, int bits_per_sample, int block_align, int sample_rate, int channels, int bit_rate, gpointer extra_data, guint32 extra_data_size);
861 int audio_stream_get_bit_rate (AudioStream *instance);
863 int audio_stream_get_bits_per_sample (AudioStream *instance);
865 int audio_stream_get_block_align (AudioStream *instance);
867 int audio_stream_get_channels (AudioStream *instance);
869 int audio_stream_get_input_bit_rate (AudioStream *instance);
871 int audio_stream_get_input_bits_per_sample (AudioStream *instance);
873 int audio_stream_get_input_block_align (AudioStream *instance);
875 int audio_stream_get_input_channels (AudioStream *instance);
877 int audio_stream_get_input_sample_rate (AudioStream *instance);
879 int audio_stream_get_output_bit_rate (AudioStream *instance);
881 int audio_stream_get_output_bits_per_sample (AudioStream *instance);
883 int audio_stream_get_output_block_align (AudioStream *instance);
885 int audio_stream_get_output_channels (AudioStream *instance);
887 int audio_stream_get_output_sample_rate (AudioStream *instance);
889 int audio_stream_get_sample_rate (AudioStream *instance);
891 void audio_stream_set_bit_rate (AudioStream *instance, int value);
893 void audio_stream_set_bits_per_sample (AudioStream *instance, int value);
895 void audio_stream_set_block_align (AudioStream *instance, int value);
897 void audio_stream_set_channels (AudioStream *instance, int value);
899 void audio_stream_set_input_bit_rate (AudioStream *instance, int value);
901 void audio_stream_set_input_bits_per_sample (AudioStream *instance, int value);
903 void audio_stream_set_input_block_align (AudioStream *instance, int value);
905 void audio_stream_set_input_channels (AudioStream *instance, int value);
907 void audio_stream_set_input_sample_rate (AudioStream *instance, int value);
909 void audio_stream_set_output_bit_rate (AudioStream *instance, int value);
911 void audio_stream_set_output_bits_per_sample (AudioStream *instance, int value);
913 void audio_stream_set_output_block_align (AudioStream *instance, int value);
915 void audio_stream_set_output_channels (AudioStream *instance, int value);
917 void audio_stream_set_output_sample_rate (AudioStream *instance, int value);
919 void audio_stream_set_sample_rate (AudioStream *instance, int value);
922 * BackEase
924 /* @GeneratePInvoke */
925 BackEase *back_ease_new (void);
927 /* @GeneratePInvoke */
928 double back_ease_ease_in_core (BackEase *instance, double normalizedTime);
931 * BeginStoryboard
933 /* @GeneratePInvoke */
934 BeginStoryboard *begin_storyboard_new (void);
937 * BezierSegment
939 /* @GeneratePInvoke */
940 BezierSegment *bezier_segment_new (void);
943 * BitmapImage
945 /* @GeneratePInvoke */
946 BitmapImage *bitmap_image_new (void);
948 /* @GeneratePInvoke */
949 void bitmap_image_pixbuf_write (BitmapImage *instance, gpointer buffer, gint32 offset, gint32 n);
951 /* @GeneratePInvoke */
952 void bitmap_image_pixmap_complete (BitmapImage *instance);
955 * BitmapSource
957 /* @GeneratePInvoke */
958 BitmapSource *bitmap_source_new (void);
960 /* @GeneratePInvoke */
961 gpointer bitmap_source_get_bitmap_data (BitmapSource *instance);
963 /* @GeneratePInvoke */
964 void bitmap_source_invalidate (BitmapSource *instance);
966 /* @GeneratePInvoke */
967 void bitmap_source_set_bitmap_data (BitmapSource *instance, gpointer data, bool own);
970 * Border
972 /* @GeneratePInvoke */
973 Border *border_new (void);
976 * BounceEase
978 /* @GeneratePInvoke */
979 BounceEase *bounce_ease_new (void);
981 /* @GeneratePInvoke */
982 double bounce_ease_ease_in_core (BounceEase *instance, double normalizedTime);
985 * Brush
987 /* @GeneratePInvoke */
988 Brush *brush_new (void);
991 * Canvas
993 /* @GeneratePInvoke */
994 Canvas *canvas_new (void);
997 * CircleEase
999 /* @GeneratePInvoke */
1000 CircleEase *circle_ease_new (void);
1002 /* @GeneratePInvoke */
1003 double circle_ease_ease_in_core (CircleEase *instance, double normalizedTime);
1006 * Collection
1008 /* @GeneratePInvoke */
1009 int collection_add_with_error (Collection *instance, Value *value, MoonError *error);
1011 /* @GeneratePInvoke */
1012 bool collection_clear (Collection *instance);
1014 /* @GeneratePInvoke */
1015 bool collection_contains (Collection *instance, Value *value);
1017 /* @GeneratePInvoke */
1018 int collection_get_count (Collection *instance);
1020 /* @GeneratePInvoke */
1021 int collection_get_element_type (Collection *instance);
1023 /* @GeneratePInvoke */
1024 CollectionIterator *collection_get_iterator (Collection *instance);
1026 /* @GeneratePInvoke */
1027 Value *collection_get_value_at_with_error (Collection *instance, int index, MoonError *error);
1029 /* @GeneratePInvoke */
1030 int collection_index_of (Collection *instance, Value *value);
1032 /* @GeneratePInvoke */
1033 bool collection_insert_with_error (Collection *instance, int index, Value *value, MoonError *error);
1035 /* @GeneratePInvoke */
1036 bool collection_remove (Collection *instance, Value *value);
1038 /* @GeneratePInvoke */
1039 bool collection_remove_at_with_error (Collection *instance, int index, MoonError *error);
1041 /* @GeneratePInvoke */
1042 bool collection_set_value_at_with_error (Collection *instance, int index, Value *value, MoonError *error);
1045 * CollectionChangedEventArgs
1047 /* @GeneratePInvoke */
1048 CollectionChangedEventArgs *collection_changed_event_args_new (void);
1050 /* @GeneratePInvoke */
1051 int collection_changed_event_args_get_changed_action (CollectionChangedEventArgs *instance);
1053 /* @GeneratePInvoke */
1054 int collection_changed_event_args_get_index (CollectionChangedEventArgs *instance);
1056 /* @GeneratePInvoke */
1057 Value *collection_changed_event_args_get_new_item (CollectionChangedEventArgs *instance);
1059 /* @GeneratePInvoke */
1060 Value *collection_changed_event_args_get_old_item (CollectionChangedEventArgs *instance);
1062 /* @GeneratePInvoke */
1063 void collection_changed_event_args_set_changed_action (CollectionChangedEventArgs *instance, int action);
1065 /* @GeneratePInvoke */
1066 void collection_changed_event_args_set_index (CollectionChangedEventArgs *instance, int index);
1068 /* @GeneratePInvoke */
1069 void collection_changed_event_args_set_new_item (CollectionChangedEventArgs *instance, Value *item);
1071 /* @GeneratePInvoke */
1072 void collection_changed_event_args_set_old_item (CollectionChangedEventArgs *instance, Value *item);
1075 * CollectionIterator
1077 /* @GeneratePInvoke */
1078 void collection_iterator_destroy (CollectionIterator *iterator);
1080 /* @GeneratePInvoke */
1081 Value *collection_iterator_get_current (CollectionIterator *instance, int *error);
1083 /* @GeneratePInvoke */
1084 int collection_iterator_next (CollectionIterator *instance);
1086 /* @GeneratePInvoke */
1087 bool collection_iterator_reset (CollectionIterator *instance);
1090 * ColorAnimation
1092 /* @GeneratePInvoke */
1093 ColorAnimation *color_animation_new (void);
1096 * ColorAnimationUsingKeyFrames
1098 /* @GeneratePInvoke */
1099 ColorAnimationUsingKeyFrames *color_animation_using_key_frames_new (void);
1102 * ColorKeyFrame
1104 /* @GeneratePInvoke */
1105 ColorKeyFrame *color_key_frame_new (void);
1108 * ColorKeyFrameCollection
1110 /* @GeneratePInvoke */
1111 ColorKeyFrameCollection *color_key_frame_collection_new (void);
1114 * ColumnDefinition
1116 /* @GeneratePInvoke */
1117 ColumnDefinition *column_definition_new (void);
1120 * ColumnDefinitionCollection
1122 /* @GeneratePInvoke */
1123 ColumnDefinitionCollection *column_definition_collection_new (void);
1126 * ContentChangedEventArgs
1128 /* @GeneratePInvoke */
1129 Value *content_changed_event_args_get_new_content (ContentChangedEventArgs *instance);
1131 /* @GeneratePInvoke */
1132 Value *content_changed_event_args_get_old_content (ContentChangedEventArgs *instance);
1135 * ContentControl
1137 /* @GeneratePInvoke */
1138 ContentControl *content_control_new (void);
1140 /* @GeneratePInvoke */
1141 bool content_control_get_content_sets_parent (ContentControl *instance);
1143 /* @GeneratePInvoke */
1144 void content_control_set_content_sets_parent (ContentControl *instance, bool value);
1147 * Control
1149 /* @GeneratePInvoke */
1150 bool control_apply_template (Control *instance);
1152 /* @GeneratePInvoke */
1153 Control *control_new (void);
1155 /* @GeneratePInvoke */
1156 DependencyObject *control_get_template_child (Control *instance, const char *name);
1159 * ControlTemplate
1161 /* @GeneratePInvoke */
1162 ControlTemplate *control_template_new (void);
1165 * CubicEase
1167 /* @GeneratePInvoke */
1168 CubicEase *cubic_ease_new (void);
1170 /* @GeneratePInvoke */
1171 double cubic_ease_ease_in_core (CubicEase *instance, double normalizedTime);
1174 * CursorPositionChangedEventArgs
1176 /* @GeneratePInvoke */
1177 CursorPositionChangedEventArgs *cursor_position_changed_event_args_new (void);
1179 /* @GeneratePInvoke */
1180 double cursor_position_changed_event_args_get_cursor_height (CursorPositionChangedEventArgs *instance);
1182 /* @GeneratePInvoke */
1183 double cursor_position_changed_event_args_get_cursor_x (CursorPositionChangedEventArgs *instance);
1185 /* @GeneratePInvoke */
1186 double cursor_position_changed_event_args_get_cursor_y (CursorPositionChangedEventArgs *instance);
1189 * DataTemplate
1191 /* @GeneratePInvoke */
1192 DataTemplate *data_template_new (void);
1195 * DeepZoomImageTileSource
1197 /* @GeneratePInvoke */
1198 DeepZoomImageTileSource *deep_zoom_image_tile_source_new (void);
1200 /* @GeneratePInvoke */
1201 void deep_zoom_image_tile_source_strip_and_set_uri (DeepZoomImageTileSource *instance, Uri *uri);
1204 * DependencyObject
1206 /* @GeneratePInvoke */
1207 void dependency_object_add_property_change_handler (DependencyObject *instance, DependencyProperty *property, PropertyChangeHandler cb, gpointer closure);
1209 /* @GeneratePInvoke */
1210 void dependency_object_clear_value (DependencyObject *instance, DependencyProperty *property, bool notify_listeners, MoonError *error);
1212 /* @GeneratePInvoke */
1213 DependencyObject *dependency_object_new (void);
1215 /* @GeneratePInvoke */
1216 DependencyObject *dependency_object_find_name (DependencyObject *instance, const char *name, int *element_kind);
1218 /* @GeneratePInvoke */
1219 const char *dependency_object_get_name (DependencyObject *instance);
1221 /* @GeneratePInvoke */
1222 Value *dependency_object_get_value_no_default_with_error (DependencyObject *instance, DependencyProperty *property, MoonError *error);
1224 /* @GeneratePInvoke */
1225 Value *dependency_object_get_value_with_error (DependencyObject *instance, int whatami, DependencyProperty *property, MoonError *error);
1227 /* @GeneratePInvoke */
1228 Value *dependency_object_read_local_value_with_error (DependencyObject *instance, DependencyProperty *property, MoonError *error);
1230 /* @GeneratePInvoke */
1231 void dependency_object_remove_property_change_handler (DependencyObject *instance, DependencyProperty *property, PropertyChangeHandler cb);
1233 /* @GeneratePInvoke */
1234 void dependency_object_set_name (DependencyObject *instance, const char *name);
1236 /* @GeneratePInvoke */
1237 void dependency_object_set_parent (DependencyObject *instance, DependencyObject *parent, MoonError *error);
1239 /* @GeneratePInvoke */
1240 bool dependency_object_set_value_with_error (DependencyObject *instance, DependencyProperty *property, Value *value, MoonError *error);
1243 * DependencyObjectCollection
1245 /* @GeneratePInvoke */
1246 DependencyObjectCollection *dependency_object_collection_new (void);
1249 * DependencyProperty
1251 /* @GeneratePInvoke */
1252 Value *dependency_property_get_default_value (DependencyProperty *instance);
1254 /* @GeneratePInvoke */
1255 DependencyProperty *dependency_property_get_dependency_property (int type, const char *name);
1257 /* @GeneratePInvoke */
1258 DependencyProperty *dependency_property_get_dependency_property_full (int type, const char *name, bool inherits);
1260 /* @GeneratePInvoke */
1261 const char *dependency_property_get_name (DependencyProperty *instance);
1263 /* @GeneratePInvoke */
1264 int dependency_property_get_property_type (DependencyProperty *instance);
1266 /* @GeneratePInvoke */
1267 bool dependency_property_is_attached (DependencyProperty *instance);
1269 /* @GeneratePInvoke */
1270 bool dependency_property_is_nullable (DependencyProperty *instance);
1272 /* @GeneratePInvoke */
1273 bool dependency_property_is_read_only (DependencyProperty *instance);
1275 /* @GeneratePInvoke */
1276 DependencyProperty *dependency_property_register_core_property (const char *name, int property_type, int owner_type, Value *defaultValue, bool attached, bool read_only, PropertyChangeHandler callback);
1278 /* @GeneratePInvoke */
1279 DependencyProperty *dependency_property_register_custom_property (const char *name, int property_type, int owner_type, Value *defaultValue, bool attached, bool read_only, PropertyChangeHandler callback);
1281 /* @GeneratePInvoke */
1282 void dependency_property_set_is_nullable (DependencyProperty *instance, bool value);
1284 /* @GeneratePInvoke */
1285 void dependency_property_set_property_changed_callback (DependencyProperty *instance, PropertyChangeHandler changed_callback);
1288 * Deployment
1290 /* @GeneratePInvoke */
1291 Deployment *deployment_new (void);
1293 /* @GeneratePInvoke */
1294 Deployment *deployment_get_current (void);
1296 /* @GeneratePInvoke */
1297 Types *deployment_get_types (Deployment *instance);
1299 /* @GeneratePInvoke */
1300 void deployment_set_current (Deployment *value);
1302 /* @GeneratePInvoke */
1303 void deployment_set_current_application (Deployment *instance, Application *value);
1305 /* @GeneratePInvoke */
1306 void deployment_set_is_loaded_from_xap (Deployment *instance, bool flag);
1309 * DiscreteColorKeyFrame
1311 /* @GeneratePInvoke */
1312 DiscreteColorKeyFrame *discrete_color_key_frame_new (void);
1315 * DiscreteDoubleKeyFrame
1317 /* @GeneratePInvoke */
1318 DiscreteDoubleKeyFrame *discrete_double_key_frame_new (void);
1321 * DiscreteObjectKeyFrame
1323 /* @GeneratePInvoke */
1324 DiscreteObjectKeyFrame *discrete_object_key_frame_new (void);
1327 * DiscretePointKeyFrame
1329 /* @GeneratePInvoke */
1330 DiscretePointKeyFrame *discrete_point_key_frame_new (void);
1333 * DispatcherTimer
1335 /* @GeneratePInvoke */
1336 DispatcherTimer *dispatcher_timer_new (void);
1338 /* @GeneratePInvoke */
1339 void dispatcher_timer_start (DispatcherTimer *instance);
1341 /* @GeneratePInvoke */
1342 void dispatcher_timer_stop (DispatcherTimer *instance);
1345 * DoubleAnimation
1347 /* @GeneratePInvoke */
1348 DoubleAnimation *double_animation_new (void);
1351 * DoubleAnimationUsingKeyFrames
1353 /* @GeneratePInvoke */
1354 DoubleAnimationUsingKeyFrames *double_animation_using_key_frames_new (void);
1357 * DoubleCollection
1359 /* @GeneratePInvoke */
1360 DoubleCollection *double_collection_new (void);
1363 * DoubleKeyFrame
1365 /* @GeneratePInvoke */
1366 DoubleKeyFrame *double_key_frame_new (void);
1369 * DoubleKeyFrameCollection
1371 /* @GeneratePInvoke */
1372 DoubleKeyFrameCollection *double_key_frame_collection_new (void);
1375 * Downloader
1377 /* @GeneratePInvoke */
1378 void *downloader_create_web_request (Downloader *instance, const char *method, const char *uri);
1380 /* @GeneratePInvoke */
1381 Downloader *downloader_new (void);
1383 /* @GeneratePInvoke */
1384 void downloader_notify_failed (Downloader *instance, const char *msg);
1386 /* @GeneratePInvoke */
1387 void downloader_notify_finished (Downloader *instance, const char *final_uri);
1389 /* @GeneratePInvoke */
1390 void downloader_notify_size (Downloader *instance, gint64 size);
1392 /* @GeneratePInvoke */
1393 void downloader_set_functions (DownloaderCreateStateFunc create_state, DownloaderDestroyStateFunc destroy_state, DownloaderOpenFunc open, DownloaderSendFunc send, DownloaderAbortFunc abort, DownloaderHeaderFunc header, DownloaderBodyFunc body, DownloaderCreateWebRequestFunc request, DownloaderSetResponseHeaderCallbackFunc response_header_callback, DownloaderGetResponseFunc get_response);
1395 /* @GeneratePInvoke */
1396 void downloader_write (Downloader *instance, void *buf, gint32 offset, gint32 n);
1399 * DownloaderRequest
1401 /* @GeneratePInvoke */
1402 void downloader_request_free (DownloaderRequest *instance);
1404 /* @GeneratePInvoke */
1405 void downloader_request_abort (DownloaderRequest *instance);
1407 /* @GeneratePInvoke */
1408 DownloaderResponse *downloader_request_get_downloader_response (DownloaderRequest *instance);
1410 /* @GeneratePInvoke */
1411 bool downloader_request_get_response (DownloaderRequest *instance, DownloaderResponseStartedHandler started, DownloaderResponseDataAvailableHandler available, DownloaderResponseFinishedHandler finished, gpointer context);
1413 /* @GeneratePInvoke */
1414 const bool downloader_request_is_aborted (DownloaderRequest *instance);
1416 /* @GeneratePInvoke */
1417 void downloader_request_set_body (DownloaderRequest *instance, void *body, int size);
1419 /* @GeneratePInvoke */
1420 void downloader_request_set_http_header (DownloaderRequest *instance, const char *name, const char *value);
1423 * DownloaderResponse
1425 /* @GeneratePInvoke */
1426 void downloader_response_free (DownloaderResponse *instance);
1428 /* @GeneratePInvoke */
1429 void downloader_response_abort (DownloaderResponse *instance);
1431 /* @GeneratePInvoke */
1432 int downloader_response_get_response_status (DownloaderResponse *instance);
1434 /* @GeneratePInvoke */
1435 const char *downloader_response_get_response_status_text (DownloaderResponse *instance);
1437 /* @GeneratePInvoke */
1438 void downloader_response_set_header_visitor (DownloaderResponse *instance, DownloaderResponseHeaderCallback visitor, gpointer context);
1441 * DownloadProgressEventArgs
1443 /* @GeneratePInvoke */
1444 double download_progress_event_args_get_progress (DownloadProgressEventArgs *instance);
1447 * DrawingAttributes
1449 /* @GeneratePInvoke */
1450 DrawingAttributes *drawing_attributes_new (void);
1453 * EasingColorKeyFrame
1455 /* @GeneratePInvoke */
1456 EasingColorKeyFrame *easing_color_key_frame_new (void);
1459 * EasingDoubleKeyFrame
1461 /* @GeneratePInvoke */
1462 EasingDoubleKeyFrame *easing_double_key_frame_new (void);
1465 * EasingFunctionBase
1467 /* @GeneratePInvoke */
1468 EasingFunctionBase *easing_function_base_new (void);
1470 /* @GeneratePInvoke */
1471 void easing_function_base_set_easing_function (EasingFunctionBase *instance, EasingFunction value);
1474 * EasingPointKeyFrame
1476 /* @GeneratePInvoke */
1477 EasingPointKeyFrame *easing_point_key_frame_new (void);
1480 * ElasticEase
1482 /* @GeneratePInvoke */
1483 double elastic_ease_ease_in_core (ElasticEase *instance, double normalizedTime);
1485 /* @GeneratePInvoke */
1486 ElasticEase *elastic_ease_new (void);
1489 * Ellipse
1491 /* @GeneratePInvoke */
1492 Ellipse *ellipse_new (void);
1495 * EllipseGeometry
1497 /* @GeneratePInvoke */
1498 EllipseGeometry *ellipse_geometry_new (void);
1501 * ErrorEventArgs
1503 /* @GeneratePInvoke */
1504 int error_event_args_get_error_code (ErrorEventArgs *instance);
1506 /* @GeneratePInvoke */
1507 const char *error_event_args_get_error_message (ErrorEventArgs *instance);
1509 /* @GeneratePInvoke */
1510 int error_event_args_get_error_type (ErrorEventArgs *instance);
1512 /* @GeneratePInvoke */
1513 gpointer error_event_args_get_moon_error (ErrorEventArgs *instance);
1516 * EventObject
1518 /* @GeneratePInvoke */
1519 int event_object_add_handler (EventObject *instance, int event_id, EventHandler handler, gpointer data, GDestroyNotify data_dtor);
1521 /* @GeneratePInvoke */
1522 void event_object_add_on_event_handler (EventObject *instance, int event_id, EventHandler handler, gpointer data, GDestroyNotify data_dtor);
1524 /* @GeneratePInvoke */
1525 void event_object_add_toggle_ref_notifier (EventObject *instance, ToggleNotifyHandler tr);
1527 /* @GeneratePInvoke */
1528 int event_object_add_xaml_handler (EventObject *instance, int event_id, EventHandler handler, gpointer data, GDestroyNotify data_dtor);
1530 /* @GeneratePInvoke */
1531 void event_object_do_emit_current_context (EventObject *instance, int event_id, EventArgs *calldata);
1533 /* @GeneratePInvoke */
1534 int event_object_get_object_type (EventObject *instance);
1536 /* @GeneratePInvoke */
1537 Surface *event_object_get_surface (EventObject *instance);
1539 /* @GeneratePInvoke */
1540 const char *event_object_get_type_name (EventObject *instance);
1542 /* @GeneratePInvoke */
1543 void event_object_ref (EventObject *instance);
1545 /* @GeneratePInvoke */
1546 void event_object_remove_handler (EventObject *instance, int event_id, EventHandler handler, gpointer data);
1548 /* @GeneratePInvoke */
1549 void event_object_remove_on_event_handler (EventObject *instance, int event_id, EventHandler handler, gpointer data);
1551 /* @GeneratePInvoke */
1552 void event_object_remove_toggle_ref_notifier (EventObject *instance);
1554 /* @GeneratePInvoke */
1555 void event_object_set_object_type (EventObject *instance, int value);
1557 /* @GeneratePInvoke */
1558 void event_object_unref (EventObject *instance);
1561 * EventTrigger
1563 /* @GeneratePInvoke */
1564 EventTrigger *event_trigger_new (void);
1567 * ExponentialEase
1569 /* @GeneratePInvoke */
1570 double exponential_ease_ease_in_core (ExponentialEase *instance, double normalizedTime);
1572 /* @GeneratePInvoke */
1573 ExponentialEase *exponential_ease_new (void);
1576 * ExtensionPart
1578 /* @GeneratePInvoke */
1579 ExtensionPart *extension_part_new (void);
1582 * ExternalDecoder
1584 ExternalDecoder *external_decoder_new (Media *media, IMediaStream *stream, void *instance, const char *name, ExternalDecoder_DecodeFrameAsyncCallback decode_frame_async, ExternalDecoder_OpenDecoderAsyncCallback open_decoder_async, ExternalDecoder_CleanupCallback cleanup, ExternalDecoder_CleanStateCallback clean_state, ExternalDecoder_HasDelayedFrameCallback has_delayed_frame, ExternalDecoder_DisposeCallback dispose, ExternalDecoder_DtorCallback dtor);
1587 * ExternalDecoderInfo
1589 ExternalDecoderInfo *external_decoder_info_new (void *instance, const char *name, ExternalDecoderInfo_SupportsCallback supports, ExternalDecoderInfo_Create create, ExternalDecoderInfo_dtor dtor);
1592 * ExternalDemuxer
1594 /* @GeneratePInvoke */
1595 gint32 external_demuxer_add_stream (ExternalDemuxer *instance, IMediaStream *stream);
1597 /* @GeneratePInvoke */
1598 void external_demuxer_clear_callbacks (ExternalDemuxer *instance);
1600 /* @GeneratePInvoke */
1601 void external_demuxer_set_can_seek (ExternalDemuxer *instance, bool value);
1604 * ExternalPart
1606 /* @GeneratePInvoke */
1607 ExternalPart *external_part_new (void);
1610 * ExternalPartCollection
1612 /* @GeneratePInvoke */
1613 ExternalPartCollection *external_part_collection_new (void);
1616 * FrameworkElement
1618 /* @GeneratePInvoke */
1619 Size framework_element_arrange_override (FrameworkElement *instance, Size finalSize);
1621 /* @GeneratePInvoke */
1622 FrameworkElement *framework_element_new (void);
1624 /* @GeneratePInvoke */
1625 DependencyObject *framework_element_get_logical_parent (FrameworkElement *instance);
1627 /* @GeneratePInvoke */
1628 Size framework_element_measure_override (FrameworkElement *instance, Size availableSize);
1630 /* @GeneratePInvoke */
1631 void framework_element_register_managed_overrides (FrameworkElement *instance, MeasureOverrideCallback measure_cb, ArrangeOverrideCallback arrange_cb);
1633 /* @GeneratePInvoke */
1634 void framework_element_set_default_style (FrameworkElement *instance, Style *value);
1636 /* @GeneratePInvoke */
1637 void framework_element_set_logical_parent (FrameworkElement *instance, DependencyObject *logical_parent, MoonError *error);
1640 * FrameworkTemplate
1642 /* @GeneratePInvoke */
1643 FrameworkTemplate *framework_template_new (void);
1645 /* @GeneratePInvoke */
1646 DependencyObject *framework_template_get_visual_tree (FrameworkTemplate *instance, FrameworkElement *templateBindingSource);
1649 * GeneralTransform
1651 /* @GeneratePInvoke */
1652 GeneralTransform *general_transform_new (void);
1654 /* @GeneratePInvoke */
1655 Matrix *general_transform_get_matrix (GeneralTransform *instance);
1658 * Geometry
1660 /* @GeneratePInvoke */
1661 Geometry *geometry_new (void);
1663 /* @GeneratePInvoke */
1664 Rect geometry_get_bounds (Geometry *instance);
1667 * GeometryCollection
1669 /* @GeneratePInvoke */
1670 GeometryCollection *geometry_collection_new (void);
1673 * GeometryGroup
1675 /* @GeneratePInvoke */
1676 GeometryGroup *geometry_group_new (void);
1679 * Glyphs
1681 /* @GeneratePInvoke */
1682 Glyphs *glyphs_new (void);
1685 * GradientBrush
1687 /* @GeneratePInvoke */
1688 GradientBrush *gradient_brush_new (void);
1691 * GradientStop
1693 /* @GeneratePInvoke */
1694 GradientStop *gradient_stop_new (void);
1697 * GradientStopCollection
1699 /* @GeneratePInvoke */
1700 GradientStopCollection *gradient_stop_collection_new (void);
1703 * Grid
1705 /* @GeneratePInvoke */
1706 Grid *grid_new (void);
1709 * HitTestCollection
1711 /* @GeneratePInvoke */
1712 HitTestCollection *hit_test_collection_new (void);
1715 * Image
1717 /* @GeneratePInvoke */
1718 Image *image_new (void);
1720 /* @GeneratePInvoke */
1721 void image_set_source (Image *instance, ImageSource *source);
1724 * ImageBrush
1726 /* @GeneratePInvoke */
1727 ImageBrush *image_brush_new (void);
1730 * ImageSource
1732 /* @GeneratePInvoke */
1733 ImageSource *image_source_new (void);
1736 * IMediaDecoder
1738 void imedia_decoder_report_decode_frame_completed (IMediaDecoder *instance, MediaFrame *frame);
1740 void imedia_decoder_report_open_decoder_completed (IMediaDecoder *instance);
1742 void imedia_decoder_set_pixel_format (IMediaDecoder *instance, int value);
1745 * IMediaDemuxer
1747 /* @GeneratePInvoke */
1748 void imedia_demuxer_report_get_diagnostic_completed (IMediaDemuxer *instance, int diagnosticKind, gint64 diagnosticValue);
1750 /* @GeneratePInvoke */
1751 void imedia_demuxer_report_get_frame_completed (IMediaDemuxer *instance, MediaFrame *frame);
1753 /* @GeneratePInvoke */
1754 void imedia_demuxer_report_get_frame_progress (IMediaDemuxer *instance, double bufferingProgress);
1756 /* @GeneratePInvoke */
1757 void imedia_demuxer_report_open_demuxer_completed (IMediaDemuxer *instance);
1759 /* @GeneratePInvoke */
1760 void imedia_demuxer_report_seek_completed (IMediaDemuxer *instance, guint64 pts);
1762 /* @GeneratePInvoke */
1763 void imedia_demuxer_report_switch_media_stream_completed (IMediaDemuxer *instance, IMediaStream *stream);
1766 * IMediaObject
1768 /* @GeneratePInvoke */
1769 Media *imedia_object_get_media_reffed (IMediaObject *instance);
1771 void imedia_object_report_error_occurred (IMediaObject *instance, const char *message);
1774 * IMediaStream
1776 const char *imedia_stream_get_codec (IMediaStream *instance);
1778 int imedia_stream_get_codec_id (IMediaStream *instance);
1780 guint64 imedia_stream_get_duration (IMediaStream *instance);
1782 void *imedia_stream_get_extra_data (IMediaStream *instance);
1784 int imedia_stream_get_extra_data_size (IMediaStream *instance);
1786 int imedia_stream_get_stream_type (IMediaStream *instance);
1788 void imedia_stream_set_codec_id (IMediaStream *instance, int value);
1790 void imedia_stream_set_duration (IMediaStream *instance, guint64 value);
1792 void imedia_stream_set_extra_data (IMediaStream *instance, void *value);
1794 void imedia_stream_set_extra_data_size (IMediaStream *instance, int value);
1797 * InkPresenter
1799 /* @GeneratePInvoke */
1800 InkPresenter *ink_presenter_new (void);
1803 * Inline
1805 /* @GeneratePInvoke */
1806 Inline *inline_new (void);
1809 * InlineCollection
1811 /* @GeneratePInvoke */
1812 InlineCollection *inline_collection_new (void);
1815 * InputMethod
1817 /* @GeneratePInvoke */
1818 InputMethod *input_method_new (void);
1821 * ItemCollection
1823 /* @GeneratePInvoke */
1824 ItemCollection *item_collection_new (void);
1827 * Keyboard
1829 /* @GeneratePInvoke */
1830 int keyboard_get_modifiers (void);
1833 * KeyEventArgs
1835 /* @GeneratePInvoke */
1836 int key_event_args_get_key (KeyEventArgs *instance);
1838 /* @GeneratePInvoke */
1839 int key_event_args_get_platform_key_code (KeyEventArgs *instance);
1841 /* @GeneratePInvoke */
1842 KeyEventArgs *key_event_args_new (void);
1845 * KeyFrameCollection
1847 /* @GeneratePInvoke */
1848 KeyFrameCollection *key_frame_collection_new (void);
1851 * KeySpline
1853 /* @GeneratePInvoke */
1854 KeySpline *key_spline_new (void);
1857 * Line
1859 /* @GeneratePInvoke */
1860 Line *line_new (void);
1863 * LinearColorKeyFrame
1865 /* @GeneratePInvoke */
1866 LinearColorKeyFrame *linear_color_key_frame_new (void);
1869 * LinearDoubleKeyFrame
1871 /* @GeneratePInvoke */
1872 LinearDoubleKeyFrame *linear_double_key_frame_new (void);
1875 * LinearGradientBrush
1877 /* @GeneratePInvoke */
1878 LinearGradientBrush *linear_gradient_brush_new (void);
1881 * LinearPointKeyFrame
1883 /* @GeneratePInvoke */
1884 LinearPointKeyFrame *linear_point_key_frame_new (void);
1887 * LineBreak
1889 /* @GeneratePInvoke */
1890 LineBreak *line_break_new (void);
1893 * LineGeometry
1895 /* @GeneratePInvoke */
1896 LineGeometry *line_geometry_new (void);
1899 * LineSegment
1901 /* @GeneratePInvoke */
1902 LineSegment *line_segment_new (void);
1905 * MarkerReachedEventArgs
1907 /* @GeneratePInvoke */
1908 TimelineMarker *marker_reached_event_args_get_marker (MarkerReachedEventArgs *instance);
1911 * Matrix
1913 /* @GeneratePInvoke */
1914 cairo_matrix_t *matrix_get_matrix_values (Matrix *instance);
1916 /* @GeneratePInvoke */
1917 Matrix *matrix_new (void);
1920 * MatrixTransform
1922 /* @GeneratePInvoke */
1923 MatrixTransform *matrix_transform_new (void);
1926 * Media
1928 void media_register_decoder (DecoderInfo *info);
1931 * MediaAttribute
1933 /* @GeneratePInvoke */
1934 MediaAttribute *media_attribute_new (void);
1937 * MediaAttributeCollection
1939 /* @GeneratePInvoke */
1940 MediaAttribute *media_attribute_collection_get_item_by_name (MediaAttributeCollection *instance, const char *name);
1942 /* @GeneratePInvoke */
1943 MediaAttributeCollection *media_attribute_collection_new (void);
1946 * MediaBase
1948 /* @GeneratePInvoke */
1949 MediaBase *media_base_new (void);
1951 /* @GeneratePInvoke */
1952 void media_base_set_source (MediaBase *instance, const char *uri);
1955 * MediaElement
1957 /* @GeneratePInvoke */
1958 MediaElement *media_element_new (void);
1960 /* @GeneratePInvoke */
1961 void media_element_pause (MediaElement *instance);
1963 /* @GeneratePInvoke */
1964 void media_element_play (MediaElement *instance);
1966 /* @GeneratePInvoke */
1967 void media_element_report_error_occurred (MediaElement *instance, const char *args);
1969 /* @GeneratePInvoke */
1970 IMediaDemuxer *media_element_set_demuxer_source (MediaElement *instance, void *context, CloseDemuxerCallback close_demuxer, GetDiagnosticAsyncCallback get_diagnostic, GetFrameAsyncCallback get_sample, OpenDemuxerAsyncCallback open_demuxer, SeekAsyncCallback seek, SwitchMediaStreamAsyncCallback switch_media_stream);
1972 /* @GeneratePInvoke */
1973 void media_element_set_stream_source (MediaElement *instance, ManagedStreamCallbacks *stream);
1975 /* @GeneratePInvoke */
1976 void media_element_stop (MediaElement *instance);
1979 * MediaFrame
1981 void media_frame_add_state (MediaFrame *instance, int state);
1983 guint8 *media_frame_get_buffer (MediaFrame *instance);
1985 guint32 media_frame_get_buf_len (MediaFrame *instance);
1987 gint32 media_frame_get_height (MediaFrame *instance);
1989 guint64 media_frame_get_pts (MediaFrame *instance);
1991 gint32 media_frame_get_width (MediaFrame *instance);
1993 bool media_frame_is_key_frame (MediaFrame *instance);
1995 /* @GeneratePInvoke */
1996 MediaFrame *media_frame_new (IMediaStream *stream, guint8 *buffer, guint32 buflen, guint64 pts, bool keyframe);
1998 void media_frame_set_buffer (MediaFrame *instance, guint8 *value);
2000 void media_frame_set_buf_len (MediaFrame *instance, guint32 value);
2002 void media_frame_set_data_stride (MediaFrame *instance, guint8 *a, guint8 *b, guint8 *c, guint8 *d);
2004 void media_frame_set_decoder_specific_data (MediaFrame *instance, void *value);
2006 void media_frame_set_height (MediaFrame *instance, gint32 value);
2008 void media_frame_set_pts (MediaFrame *instance, guint64 value);
2010 void media_frame_set_src_slide_h (MediaFrame *instance, int value);
2012 void media_frame_set_src_slide_y (MediaFrame *instance, int value);
2014 void media_frame_set_src_stride (MediaFrame *instance, int a, int b, int c, int d);
2016 void media_frame_set_width (MediaFrame *instance, gint32 value);
2019 * MoonWindow
2021 /* @GeneratePInvoke */
2022 bool moon_window_get_transparent (MoonWindow *instance);
2024 /* @GeneratePInvoke */
2025 void moon_window_set_transparent (MoonWindow *instance, bool flag);
2028 * MoonWindowGtk
2030 /* @GeneratePInvoke */
2031 void *moon_window_gtk_get_native_widget (MoonWindowGtk *instance);
2033 /* @GeneratePInvoke */
2034 MoonWindowGtk *moon_window_gtk_new (bool fullscreen, int w, int h, MoonWindow *parent);
2037 * MouseButtonEventArgs
2039 /* @GeneratePInvoke */
2040 MouseButtonEventArgs *mouse_button_event_args_new (void);
2043 * MouseEventArgs
2045 /* @GeneratePInvoke */
2046 void mouse_event_args_get_position (MouseEventArgs *instance, UIElement *relative_to, double *x, double *y);
2048 /* @GeneratePInvoke */
2049 StylusInfo *mouse_event_args_get_stylus_info (MouseEventArgs *instance);
2051 /* @GeneratePInvoke */
2052 StylusPointCollection *mouse_event_args_get_stylus_points (MouseEventArgs *instance, UIElement *ink_presenter);
2054 /* @GeneratePInvoke */
2055 MouseEventArgs *mouse_event_args_new (void);
2058 * MouseWheelEventArgs
2060 /* @GeneratePInvoke */
2061 int mouse_wheel_event_args_get_wheel_delta (MouseWheelEventArgs *instance);
2063 /* @GeneratePInvoke */
2064 MouseWheelEventArgs *mouse_wheel_event_args_new (void);
2067 * MultiScaleImage
2069 /* @GeneratePInvoke */
2070 Point multi_scale_image_element_to_logical_point (MultiScaleImage *instance, Point elementPoint);
2072 void multi_scale_image_emit_image_failed (MultiScaleImage *instance);
2074 void multi_scale_image_emit_image_open_failed (MultiScaleImage *instance);
2076 void multi_scale_image_emit_motion_finished (MultiScaleImage *instance);
2078 void multi_scale_image_handle_dz_parsed (MultiScaleImage *instance);
2080 void multi_scale_image_invalidate_tile_layer (MultiScaleImage *instance, int level, int tilePositionX, int tilePositionY, int tileLayer);
2082 /* @GeneratePInvoke */
2083 Point multi_scale_image_logical_to_element_point (MultiScaleImage *instance, Point logicalPoint);
2085 /* @GeneratePInvoke */
2086 MultiScaleImage *multi_scale_image_new (void);
2088 void multi_scale_image_on_source_property_changed (MultiScaleImage *instance);
2090 /* @GeneratePInvoke */
2091 void multi_scale_image_zoom_about_logical_point (MultiScaleImage *instance, double zoomIncrementFactor, double zoomCenterLogicalX, double zoomCenterLogicalY);
2094 * MultiScaleSubImage
2096 gint32 multi_scale_sub_image_get_zindex (MultiScaleSubImage *instance);
2098 /* @GeneratePInvoke */
2099 MultiScaleSubImage *multi_scale_sub_image_new (void);
2102 * MultiScaleSubImageCollection
2104 /* @GeneratePInvoke */
2105 MultiScaleSubImageCollection *multi_scale_sub_image_collection_new (void);
2108 * MultiScaleTileSource
2110 /* @GeneratePInvoke */
2111 void multi_scale_tile_source_invalidate_tile_layer (MultiScaleTileSource *instance, int level, int tilePositionX, int tilePositionY, int tileLayer);
2113 /* @GeneratePInvoke */
2114 MultiScaleTileSource *multi_scale_tile_source_new (void);
2116 /* @GeneratePInvoke */
2117 void multi_scale_tile_source_set_image_uri_func (MultiScaleTileSource *instance, get_image_uri_func func);
2120 * NameScope
2122 NameScope *name_scope_new (void);
2125 * ObjectAnimationUsingKeyFrames
2127 /* @GeneratePInvoke */
2128 ObjectAnimationUsingKeyFrames *object_animation_using_key_frames_new (void);
2131 * ObjectKeyFrame
2133 /* @GeneratePInvoke */
2134 ObjectKeyFrame *object_key_frame_new (void);
2137 * ObjectKeyFrameCollection
2139 /* @GeneratePInvoke */
2140 ObjectKeyFrameCollection *object_key_frame_collection_new (void);
2143 * OutOfBrowserSettings
2145 /* @GeneratePInvoke */
2146 OutOfBrowserSettings *out_of_browser_settings_new (void);
2149 * Panel
2151 /* @GeneratePInvoke */
2152 Panel *panel_new (void);
2155 * ParallelTimeline
2157 /* @GeneratePInvoke */
2158 ParallelTimeline *parallel_timeline_new (void);
2161 * PasswordBox
2163 /* @GeneratePInvoke */
2164 PasswordBox *password_box_new (void);
2167 * Path
2169 /* @GeneratePInvoke */
2170 Path *path_new (void);
2173 * PathFigure
2175 /* @GeneratePInvoke */
2176 PathFigure *path_figure_new (void);
2179 * PathFigureCollection
2181 /* @GeneratePInvoke */
2182 PathFigureCollection *path_figure_collection_new (void);
2185 * PathGeometry
2187 /* @GeneratePInvoke */
2188 PathGeometry *path_geometry_new (void);
2191 * PathSegment
2193 /* @GeneratePInvoke */
2194 PathSegment *path_segment_new (void);
2197 * PathSegmentCollection
2199 /* @GeneratePInvoke */
2200 PathSegmentCollection *path_segment_collection_new (void);
2203 * PointAnimation
2205 /* @GeneratePInvoke */
2206 PointAnimation *point_animation_new (void);
2209 * PointAnimationUsingKeyFrames
2211 /* @GeneratePInvoke */
2212 PointAnimationUsingKeyFrames *point_animation_using_key_frames_new (void);
2215 * PointCollection
2217 /* @GeneratePInvoke */
2218 PointCollection *point_collection_new (void);
2221 * PointKeyFrame
2223 /* @GeneratePInvoke */
2224 PointKeyFrame *point_key_frame_new (void);
2227 * PointKeyFrameCollection
2229 /* @GeneratePInvoke */
2230 PointKeyFrameCollection *point_key_frame_collection_new (void);
2233 * PolyBezierSegment
2235 /* @GeneratePInvoke */
2236 PolyBezierSegment *poly_bezier_segment_new (void);
2238 void poly_bezier_segment_set_points (PolyBezierSegment *instance, PointCollection *points);
2241 * Polygon
2243 /* @GeneratePInvoke */
2244 Polygon *polygon_new (void);
2247 * Polyline
2249 /* @GeneratePInvoke */
2250 Polyline *polyline_new (void);
2253 * PolyLineSegment
2255 /* @GeneratePInvoke */
2256 PolyLineSegment *poly_line_segment_new (void);
2259 * PolyQuadraticBezierSegment
2261 /* @GeneratePInvoke */
2262 PolyQuadraticBezierSegment *poly_quadratic_bezier_segment_new (void);
2265 * Popup
2267 /* @GeneratePInvoke */
2268 Popup *popup_new (void);
2271 * PowerEase
2273 /* @GeneratePInvoke */
2274 double power_ease_ease_in_core (PowerEase *instance, double normalizedTime);
2276 /* @GeneratePInvoke */
2277 PowerEase *power_ease_new (void);
2280 * PropertyChangedEventArgs
2282 /* @GeneratePInvoke */
2283 int property_changed_event_args_get_id (PropertyChangedEventArgs *instance);
2285 /* @GeneratePInvoke */
2286 Value *property_changed_event_args_get_new_value (PropertyChangedEventArgs *instance);
2288 /* @GeneratePInvoke */
2289 Value *property_changed_event_args_get_old_value (PropertyChangedEventArgs *instance);
2291 /* @GeneratePInvoke */
2292 DependencyProperty *property_changed_event_args_get_property (PropertyChangedEventArgs *instance);
2295 * QuadraticBezierSegment
2297 /* @GeneratePInvoke */
2298 QuadraticBezierSegment *quadratic_bezier_segment_new (void);
2301 * QuadraticEase
2303 /* @GeneratePInvoke */
2304 double quadratic_ease_ease_in_core (QuadraticEase *instance, double normalizedTime);
2306 /* @GeneratePInvoke */
2307 QuadraticEase *quadratic_ease_new (void);
2310 * QuarticEase
2312 /* @GeneratePInvoke */
2313 double quartic_ease_ease_in_core (QuarticEase *instance, double normalizedTime);
2315 /* @GeneratePInvoke */
2316 QuarticEase *quartic_ease_new (void);
2319 * QuinticEase
2321 /* @GeneratePInvoke */
2322 double quintic_ease_ease_in_core (QuinticEase *instance, double normalizedTime);
2324 /* @GeneratePInvoke */
2325 QuinticEase *quintic_ease_new (void);
2328 * RadialGradientBrush
2330 /* @GeneratePInvoke */
2331 RadialGradientBrush *radial_gradient_brush_new (void);
2334 * Rectangle
2336 /* @GeneratePInvoke */
2337 Rectangle *rectangle_new (void);
2340 * RectangleGeometry
2342 /* @GeneratePInvoke */
2343 RectangleGeometry *rectangle_geometry_new (void);
2346 * RenderingEventArgs
2348 /* @GeneratePInvoke */
2349 TimeSpan rendering_event_args_get_rendering_time (RenderingEventArgs *instance);
2352 * ResourceDictionary
2354 /* @GeneratePInvoke */
2355 bool resource_dictionary_add_with_error (ResourceDictionary *instance, const char *key, Value *value, MoonError *error);
2357 /* @GeneratePInvoke */
2358 bool resource_dictionary_clear (ResourceDictionary *instance);
2360 /* @GeneratePInvoke */
2361 bool resource_dictionary_contains_key (ResourceDictionary *instance, const char *key);
2363 /* @GeneratePInvoke */
2364 Value *resource_dictionary_get (ResourceDictionary *instance, const char *key, bool *exists);
2366 /* @GeneratePInvoke */
2367 bool resource_dictionary_remove (ResourceDictionary *instance, const char *key);
2369 /* @GeneratePInvoke */
2370 ResourceDictionary *resource_dictionary_new (void);
2372 /* @GeneratePInvoke */
2373 bool resource_dictionary_set (ResourceDictionary *instance, const char *key, Value *value);
2376 * ResourceDictionaryCollection
2378 /* @GeneratePInvoke */
2379 ResourceDictionaryCollection *resource_dictionary_collection_new (void);
2382 * RotateTransform
2384 /* @GeneratePInvoke */
2385 RotateTransform *rotate_transform_new (void);
2388 * RoutedEventArgs
2390 /* @GeneratePInvoke */
2391 bool routed_event_args_get_handled (RoutedEventArgs *instance);
2393 /* @GeneratePInvoke */
2394 DependencyObject *routed_event_args_get_source (RoutedEventArgs *instance);
2396 /* @GeneratePInvoke */
2397 RoutedEventArgs *routed_event_args_new (void);
2399 /* @GeneratePInvoke */
2400 void routed_event_args_set_handled (RoutedEventArgs *instance, bool handled);
2402 /* @GeneratePInvoke */
2403 void routed_event_args_set_source (RoutedEventArgs *instance, DependencyObject *el);
2406 * RowDefinition
2408 /* @GeneratePInvoke */
2409 RowDefinition *row_definition_new (void);
2412 * RowDefinitionCollection
2414 /* @GeneratePInvoke */
2415 RowDefinitionCollection *row_definition_collection_new (void);
2418 * Run
2420 /* @GeneratePInvoke */
2421 Run *run_new (void);
2424 * ScaleTransform
2426 /* @GeneratePInvoke */
2427 ScaleTransform *scale_transform_new (void);
2430 * Setter
2432 /* @GeneratePInvoke */
2433 Setter *setter_new (void);
2436 * SetterBase
2438 /* @GeneratePInvoke */
2439 SetterBase *setter_base_new (void);
2442 * SetterBaseCollection
2444 /* @GeneratePInvoke */
2445 SetterBaseCollection *setter_base_collection_new (void);
2448 * Shape
2450 /* @GeneratePInvoke */
2451 Transform *shape_get_geometry_transform (Shape *instance);
2453 /* @GeneratePInvoke */
2454 Shape *shape_new (void);
2457 * SineEase
2459 /* @GeneratePInvoke */
2460 double sine_ease_ease_in_core (SineEase *instance, double normalizedTime);
2462 /* @GeneratePInvoke */
2463 SineEase *sine_ease_new (void);
2466 * SizeChangedEventArgs
2468 /* @GeneratePInvoke */
2469 SizeChangedEventArgs *size_changed_event_args_new (void);
2472 * SkewTransform
2474 /* @GeneratePInvoke */
2475 SkewTransform *skew_transform_new (void);
2478 * SolidColorBrush
2480 /* @GeneratePInvoke */
2481 SolidColorBrush *solid_color_brush_new (void);
2484 * SplineColorKeyFrame
2486 /* @GeneratePInvoke */
2487 SplineColorKeyFrame *spline_color_key_frame_new (void);
2490 * SplineDoubleKeyFrame
2492 /* @GeneratePInvoke */
2493 SplineDoubleKeyFrame *spline_double_key_frame_new (void);
2496 * SplinePointKeyFrame
2498 /* @GeneratePInvoke */
2499 SplinePointKeyFrame *spline_point_key_frame_new (void);
2502 * Storyboard
2504 /* @GeneratePInvoke */
2505 bool storyboard_begin_with_error (Storyboard *instance, MoonError *error);
2507 /* @GeneratePInvoke */
2508 int storyboard_get_current_state (Storyboard *instance);
2510 /* @GeneratePInvoke */
2511 TimeSpan storyboard_get_current_time (Storyboard *instance);
2513 /* @GeneratePInvoke */
2514 DependencyProperty *storyboard_get_target_dependency_property (Storyboard *instance);
2516 /* @GeneratePInvoke */
2517 void storyboard_pause_with_error (Storyboard *instance, MoonError *error);
2519 /* @GeneratePInvoke */
2520 void storyboard_resume_with_error (Storyboard *instance, MoonError *error);
2522 /* @GeneratePInvoke */
2523 void storyboard_seek_aligned_to_last_tick_with_error (Storyboard *instance, TimeSpan timespan, MoonError *error);
2525 /* @GeneratePInvoke */
2526 void storyboard_seek_with_error (Storyboard *instance, TimeSpan timespan, MoonError *error);
2528 /* @GeneratePInvoke */
2529 void storyboard_skip_to_fill_with_error (Storyboard *instance, MoonError *error);
2531 /* @GeneratePInvoke */
2532 void storyboard_stop_with_error (Storyboard *instance, MoonError *error);
2534 /* @GeneratePInvoke */
2535 Storyboard *storyboard_new (void);
2538 * Stroke
2540 /* @GeneratePInvoke */
2541 bool stroke_hit_test (Stroke *instance, StylusPointCollection *stylusPoints);
2543 /* @GeneratePInvoke */
2544 Stroke *stroke_new (void);
2547 * StrokeCollection
2549 /* @GeneratePInvoke */
2550 StrokeCollection *stroke_collection_hit_test (StrokeCollection *instance, StylusPointCollection *stylusPoints);
2552 /* @GeneratePInvoke */
2553 StrokeCollection *stroke_collection_new (void);
2556 * Style
2558 /* @GeneratePInvoke */
2559 void style_seal (Style *instance);
2561 /* @GeneratePInvoke */
2562 Style *style_new (void);
2565 * StylusInfo
2567 /* @GeneratePInvoke */
2568 StylusInfo *stylus_info_new (void);
2571 * StylusPoint
2573 /* @GeneratePInvoke */
2574 double stylus_point_get_pressure_factor (StylusPoint *instance);
2576 /* @GeneratePInvoke */
2577 double stylus_point_get_x (StylusPoint *instance);
2579 /* @GeneratePInvoke */
2580 double stylus_point_get_y (StylusPoint *instance);
2582 /* @GeneratePInvoke */
2583 void stylus_point_set_pressure_factor (StylusPoint *instance, double factor);
2585 /* @GeneratePInvoke */
2586 void stylus_point_set_x (StylusPoint *instance, double x);
2588 /* @GeneratePInvoke */
2589 void stylus_point_set_y (StylusPoint *instance, double y);
2591 /* @GeneratePInvoke */
2592 StylusPoint *stylus_point_new (void);
2595 * StylusPointCollection
2597 /* @GeneratePInvoke */
2598 double stylus_point_collection_add_stylus_points (StylusPointCollection *instance, StylusPointCollection *stylusPointCollection);
2600 /* @GeneratePInvoke */
2601 StylusPointCollection *stylus_point_collection_new (void);
2604 * Surface
2606 /* @GeneratePInvoke */
2607 void surface_attach (Surface *instance, UIElement *toplevel);
2609 /* @GeneratePInvoke */
2610 Downloader *surface_create_downloader (Surface *instance);
2612 /* @GeneratePInvoke */
2613 void surface_emit_error (Surface *instance, int number, int code, const char *message);
2615 /* @GeneratePInvoke */
2616 Color *surface_get_background_color (Surface *instance);
2618 /* @GeneratePInvoke */
2619 UIElement *surface_get_focused_element (Surface *instance);
2621 /* @GeneratePInvoke */
2622 bool surface_get_full_screen (Surface *instance);
2624 /* @GeneratePInvoke */
2625 TimeManager *surface_get_time_manager (Surface *instance);
2627 /* @GeneratePInvoke */
2628 UIElement *surface_get_toplevel (Surface *instance);
2630 MoonWindow *surface_get_window (Surface *instance);
2632 /* @GeneratePInvoke */
2633 bool surface_in_main_thread (void);
2635 /* @GeneratePInvoke */
2636 bool surface_is_loaded (Surface *instance);
2638 /* @GeneratePInvoke */
2639 bool surface_is_user_initiated_event (Surface *instance);
2641 /* @GeneratePInvoke */
2642 bool surface_is_version_supported (const char *version);
2644 /* @GeneratePInvoke */
2645 void surface_paint (Surface *instance, cairo_t *ctx, int x, int y, int width, int height);
2647 /* @GeneratePInvoke */
2648 void surface_resize (Surface *instance, int width, int height);
2650 /* @GeneratePInvoke */
2651 void surface_set_full_screen (Surface *instance, bool value);
2653 /* @GeneratePInvoke */
2654 Surface *surface_new (MoonWindow *window);
2657 * TabNavigationWalker
2659 /* @GeneratePInvoke */
2660 bool tab_navigation_walker_focus (UIElement *element, bool forwards);
2663 * TextBlock
2665 /* @GeneratePInvoke */
2666 TextBlock *text_block_new (void);
2669 * TextBox
2671 /* @GeneratePInvoke */
2672 TextBox *text_box_new (void);
2675 * TextBoxBase
2677 /* @GeneratePInvoke */
2678 void text_box_base_on_got_focus (TextBoxBase *instance, RoutedEventArgs *args);
2680 /* @GeneratePInvoke */
2681 void text_box_base_on_key_down (TextBoxBase *instance, KeyEventArgs *args);
2683 /* @GeneratePInvoke */
2684 void text_box_base_on_key_up (TextBoxBase *instance, KeyEventArgs *args);
2686 /* @GeneratePInvoke */
2687 void text_box_base_on_lost_focus (TextBoxBase *instance, RoutedEventArgs *args);
2689 /* @GeneratePInvoke */
2690 void text_box_base_on_mouse_left_button_down (TextBoxBase *instance, MouseButtonEventArgs *args);
2692 /* @GeneratePInvoke */
2693 void text_box_base_on_mouse_left_button_up (TextBoxBase *instance, MouseButtonEventArgs *args);
2695 /* @GeneratePInvoke */
2696 void text_box_base_on_mouse_move (TextBoxBase *instance, MouseEventArgs *args);
2698 /* @GeneratePInvoke */
2699 void text_box_base_post_on_key_down (TextBoxBase *instance, KeyEventArgs *args);
2701 /* @GeneratePInvoke */
2702 void text_box_base_select_all (TextBoxBase *instance);
2704 /* @GeneratePInvoke */
2705 bool text_box_base_select_with_error (TextBoxBase *instance, int start, int length, MoonError *error);
2708 * TextBoxView
2710 /* @GeneratePInvoke */
2711 TextBoxView *text_box_view_new (void);
2714 * TextChangedEventArgs
2716 /* @GeneratePInvoke */
2717 TextChangedEventArgs *text_changed_event_args_new (void);
2720 * TileBrush
2722 /* @GeneratePInvoke */
2723 TileBrush *tile_brush_new (void);
2726 * Timeline
2728 /* @GeneratePInvoke */
2729 DependencyObject *timeline_get_manual_target (Timeline *instance);
2731 /* @GeneratePInvoke */
2732 void timeline_set_manual_target (Timeline *instance, DependencyObject *o);
2734 /* @GeneratePInvoke */
2735 Timeline *timeline_new (void);
2738 * TimelineCollection
2740 /* @GeneratePInvoke */
2741 TimelineCollection *timeline_collection_new (void);
2744 * TimelineGroup
2746 /* @GeneratePInvoke */
2747 TimelineGroup *timeline_group_new (void);
2750 * TimelineMarker
2752 /* @GeneratePInvoke */
2753 TimelineMarker *timeline_marker_new (void);
2756 * TimelineMarkerCollection
2758 /* @GeneratePInvoke */
2759 TimelineMarkerCollection *timeline_marker_collection_new (void);
2762 * TimeManager
2764 /* @GeneratePInvoke */
2765 void time_manager_add_tick_call (TimeManager *instance, TickCallHandler handler, EventObject *tick_data);
2767 guint time_manager_add_timeout (TimeManager *instance, gint priority, guint ms_interval, GSourceFunc func, gpointer timeout_data);
2769 /* @GeneratePInvoke */
2770 int time_manager_get_maximum_refresh_rate (TimeManager *instance);
2772 /* @GeneratePInvoke */
2773 void time_manager_remove_tick_call (TimeManager *instance, TickCallHandler handler, EventObject *tick_data);
2775 void time_manager_remove_timeout (TimeManager *instance, guint timeout_id);
2777 /* @GeneratePInvoke */
2778 void time_manager_set_maximum_refresh_rate (TimeManager *instance, int hz);
2781 * Transform
2783 /* @GeneratePInvoke */
2784 Transform *transform_new (void);
2787 * TransformCollection
2789 /* @GeneratePInvoke */
2790 TransformCollection *transform_collection_new (void);
2793 * TransformGroup
2795 /* @GeneratePInvoke */
2796 TransformGroup *transform_group_new (void);
2799 * TranslateTransform
2801 /* @GeneratePInvoke */
2802 TranslateTransform *translate_transform_new (void);
2805 * TriggerAction
2807 void trigger_action_fire (TriggerAction *instance);
2809 /* @GeneratePInvoke */
2810 TriggerAction *trigger_action_new (void);
2813 * TriggerActionCollection
2815 /* @GeneratePInvoke */
2816 TriggerActionCollection *trigger_action_collection_new (void);
2819 * TriggerBase
2821 /* @GeneratePInvoke */
2822 TriggerBase *trigger_base_new (void);
2825 * TriggerCollection
2827 /* @GeneratePInvoke */
2828 TriggerCollection *trigger_collection_new (void);
2831 * Types
2833 /* @GeneratePInvoke */
2834 void types_free (Types *instance);
2836 /* @GeneratePInvoke */
2837 Type *types_find (Types *instance, int type);
2839 int types_register_type (Types *instance, const char *name, void *gc_handle, int parent, bool is_interface, bool ctor_visible, int *interfaces, int interface_count);
2841 /* @GeneratePInvoke */
2842 Types *types_new (void);
2845 * UIElement
2847 /* @GeneratePInvoke */
2848 void uielement_arrange (UIElement *instance, Rect finalRect);
2850 /* @GeneratePInvoke */
2851 bool uielement_capture_mouse (UIElement *instance);
2853 /* @GeneratePInvoke */
2854 void uielement_element_added (UIElement *instance, UIElement *obj);
2856 /* @GeneratePInvoke */
2857 void uielement_element_removed (UIElement *instance, UIElement *obj);
2859 /* @GeneratePInvoke */
2860 void uielement_find_elements_in_host_coordinates_p (UIElement *instance, Point p, HitTestCollection *uielement_list);
2862 /* @GeneratePInvoke */
2863 void uielement_find_elements_in_host_coordinates_r (UIElement *instance, Rect p, HitTestCollection *uielement_list);
2865 /* @GeneratePInvoke */
2866 bool uielement_focus (UIElement *instance, bool recurse);
2868 /* @GeneratePInvoke */
2869 Size uielement_get_desired_size (UIElement *instance);
2871 /* @GeneratePInvoke */
2872 Size uielement_get_render_size (UIElement *instance);
2874 /* @GeneratePInvoke */
2875 DependencyObject *uielement_get_subtree_object (UIElement *instance);
2877 /* @GeneratePInvoke */
2878 GeneralTransform *uielement_get_transform_to_uielement_with_error (UIElement *instance, UIElement *to_element, MoonError *error);
2880 /* @GeneratePInvoke */
2881 UIElement *uielement_get_visual_parent (UIElement *instance);
2883 void uielement_invalidate (UIElement *instance);
2885 /* @GeneratePInvoke */
2886 void uielement_invalidate_arrange (UIElement *instance);
2888 /* @GeneratePInvoke */
2889 void uielement_invalidate_measure (UIElement *instance);
2891 /* @GeneratePInvoke */
2892 void uielement_measure (UIElement *instance, Size availableSize);
2894 /* @GeneratePInvoke */
2895 void uielement_release_mouse_capture (UIElement *instance);
2897 /* @GeneratePInvoke */
2898 void uielement_set_subtree_object (UIElement *instance, DependencyObject *value);
2900 /* @GeneratePInvoke */
2901 void uielement_update_layout (UIElement *instance);
2904 * UIElementCollection
2906 /* @GeneratePInvoke */
2907 UIElementCollection *uielement_collection_new (void);
2910 * UnmanagedMatrix
2912 /* @GeneratePInvoke */
2913 UnmanagedMatrix *unmanaged_matrix_new (void);
2916 * Uri
2918 bool uri_equals (const Uri *left, const Uri *right);
2920 /* @GeneratePInvoke */
2921 void uri_free (Uri *instance);
2923 guint uri_get_hash_code (Uri *instance);
2925 /* @GeneratePInvoke */
2926 bool uri_parse (Uri *instance, const char *uri, bool allow_trailing_sep);
2929 * UserControl
2931 /* @GeneratePInvoke */
2932 UserControl *user_control_new (void);
2935 * VideoBrush
2937 /* @GeneratePInvoke */
2938 void video_brush_set_source (VideoBrush *instance, MediaElement *source);
2940 /* @GeneratePInvoke */
2941 VideoBrush *video_brush_new (void);
2944 * VideoStream
2946 guint32 video_stream_get_height (VideoStream *instance);
2948 guint32 video_stream_get_width (VideoStream *instance);
2950 /* @GeneratePInvoke */
2951 VideoStream *video_stream_new (Media *media, int codec_id, guint32 width, guint32 height, guint64 duration, gpointer extra_data, guint32 extra_data_size);
2954 * VisualBrush
2956 /* @GeneratePInvoke */
2957 VisualBrush *visual_brush_new (void);
2960 * WriteableBitmap
2962 /* @GeneratePInvoke */
2963 gpointer writeable_bitmap_initialize_from_bitmap_source (WriteableBitmap *instance, BitmapSource *source);
2965 /* @GeneratePInvoke */
2966 void writeable_bitmap_lock (WriteableBitmap *instance);
2968 /* @GeneratePInvoke */
2969 void writeable_bitmap_render (WriteableBitmap *instance, UIElement *element, Transform *transform);
2971 /* @GeneratePInvoke */
2972 void writeable_bitmap_unlock (WriteableBitmap *instance);
2974 /* @GeneratePInvoke */
2975 WriteableBitmap *writeable_bitmap_new (void);
2978 * XamlContext
2980 /* @GeneratePInvoke */
2981 DependencyObject *xaml_context_get_template_binding_source (XamlContext *instance);
2984 * XamlLoader
2986 /* @GeneratePInvoke */
2987 Value *xaml_loader_create_from_file_with_error (XamlLoader *instance, const char *xaml, bool create_namescope, int *element_type, MoonError *error);
2989 /* @GeneratePInvoke */
2990 Value *xaml_loader_create_from_string_with_error (XamlLoader *instance, const char *xaml, bool create_namescope, int *element_type, int flags, MoonError *error);
2992 /* @GeneratePInvoke */
2993 XamlContext *xaml_loader_get_context (XamlLoader *instance);
2995 /* @GeneratePInvoke */
2996 Value *xaml_loader_hydrate_from_string_with_error (XamlLoader *instance, const char *xaml, Value *obj, bool create_namescope, int *element_type, int flags, MoonError *error);
2999 * Xap
3001 /* @GeneratePInvoke */
3002 char *xap_unpack (const char *fname);
3005 G_END_DECLS
3007 #endif