a few minor font fixes
[moon.git] / plugin / cbinding.h
blob610cb4a69f4af970713428a054a861a4dae59a12
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 AlsaSource;
14 class Animation;
15 class AnimationClock;
16 class Application;
17 class ArcSegment;
18 class ASFDemuxer;
19 class ASFMarkerDecoder;
20 class ASFPacket;
21 class ASFParser;
22 class AssemblyPart;
23 class AssemblyPartCollection;
24 class ASXDemuxer;
25 class AudioSource;
26 class AudioStream;
27 class BackEase;
28 class BeginStoryboard;
29 class BezierSegment;
30 class BitmapImage;
31 class BitmapSource;
32 class Border;
33 class BounceEase;
34 class Brush;
35 class Canvas;
36 class CircleEase;
37 class Clock;
38 class ClockGroup;
39 class CodecDownloader;
40 class Collection;
41 class CollectionChangedEventArgs;
42 class CollectionItemChangedEventArgs;
43 class ColorAnimation;
44 class ColorAnimationUsingKeyFrames;
45 class ColorKeyFrame;
46 class ColorKeyFrameCollection;
47 class ColumnDefinition;
48 class ColumnDefinitionCollection;
49 class ContentChangedEventArgs;
50 class ContentControl;
51 class Control;
52 class ControlTemplate;
53 class CubicEase;
54 class CursorPositionChangedEventArgs;
55 class DataTemplate;
56 class DeepZoomImageTileSource;
57 class DependencyObject;
58 class DependencyObjectCollection;
59 class Deployment;
60 class DiscreteColorKeyFrame;
61 class DiscreteDoubleKeyFrame;
62 class DiscreteObjectKeyFrame;
63 class DiscretePointKeyFrame;
64 class DispatcherTimer;
65 class DoubleCollection;
66 class DoubleAnimation;
67 class DoubleAnimationUsingKeyFrames;
68 class DoubleKeyFrame;
69 class DoubleKeyFrameCollection;
70 class Downloader;
71 class DownloadProgressEventArgs;
72 class DrawingAttributes;
73 class EasingColorKeyFrame;
74 class EasingDoubleKeyFrame;
75 class EasingFunctionBase;
76 class EasingPointKeyFrame;
77 class ElasticEase;
78 class Ellipse;
79 class EllipseGeometry;
80 class ErrorEventArgs;
81 class EventArgs;
82 class EventListenerProxy;
83 class EventObject;
84 class EventTrigger;
85 class ExceptionRoutedEventArgs;
86 class ExponentialEase;
87 class ExternalDecoder;
88 class ExternalDemuxer;
89 class FfmpegDecoder;
90 class FfmpegDemuxer;
91 class FileDownloader;
92 class FileSource;
93 class FrameworkElement;
94 class FrameworkTemplate;
95 class GeneralTransform;
96 class Geometry;
97 class GeometryCollection;
98 class GeometryGroup;
99 class Glyphs;
100 class GradientBrush;
101 class GradientStop;
102 class GradientStopCollection;
103 class Grid;
104 class HitTestCollection;
105 class IImageConverter;
106 class Image;
107 class ImageBrush;
108 class ImageErrorEventArgs;
109 class ImageSource;
110 class IMediaDecoder;
111 class IMediaDemuxer;
112 class IMediaObject;
113 class IMediaSource;
114 class IMediaStream;
115 class InkPresenter;
116 class Inline;
117 class InlineCollection;
118 class InputMethod;
119 class InternalDownloader;
120 class ItemCollection;
121 class KeyEventArgs;
122 class KeyFrame;
123 class KeyFrameCollection;
124 class KeySpline;
125 class LayoutInformation;
126 class Line;
127 class LinearColorKeyFrame;
128 class LinearDoubleKeyFrame;
129 class LinearGradientBrush;
130 class LinearPointKeyFrame;
131 class LineBreak;
132 class LineGeometry;
133 class LineSegment;
134 class ManagedStreamSource;
135 class ManualTimeSource;
136 class MarkerReachedEventArgs;
137 class MarkerStream;
138 class Matrix;
139 class MatrixTransform;
140 class Media;
141 class MediaAttribute;
142 class MediaAttributeCollection;
143 class MediaBase;
144 class MediaClosure;
145 class MediaDecodeFrameClosure;
146 class MediaElement;
147 class MediaFrame;
148 class MediaGetFrameClosure;
149 class MediaMarker;
150 class MediaMarkerFoundClosure;
151 class MediaPlayer;
152 class MediaReportSeekCompletedClosure;
153 class MediaSeekClosure;
154 class MemoryNestedSource;
155 class MemorySource;
156 class MmsDemuxer;
157 class MmsDownloader;
158 class MmsPlaylistEntry;
159 class MmsSecondDownloader;
160 class MmsSource;
161 class MouseEventArgs;
162 class MouseWheelEventArgs;
163 class Mp3Demuxer;
164 class MultiScaleImage;
165 class MultiScaleSubImage;
166 class MultiScaleSubImageCollection;
167 class MultiScaleTileSource;
168 class NameScope;
169 class NullDecoder;
170 class ObjectAnimationUsingKeyFrames;
171 class ObjectKeyFrame;
172 class ObjectKeyFrameCollection;
173 class Panel;
174 class ParallelTimeline;
175 class ParserErrorEventArgs;
176 class PassThroughDecoder;
177 class PasswordBox;
178 class Path;
179 class PathFigure;
180 class PathFigureCollection;
181 class PathGeometry;
182 class PathSegment;
183 class PathSegmentCollection;
184 class Playlist;
185 class PlaylistEntry;
186 class PlaylistRoot;
187 class PointCollection;
188 class PointAnimation;
189 class PointAnimationUsingKeyFrames;
190 class PointKeyFrame;
191 class PointKeyFrameCollection;
192 class PolyBezierSegment;
193 class Polygon;
194 class Polyline;
195 class PolyLineSegment;
196 class PolyQuadraticBezierSegment;
197 class Popup;
198 class PowerEase;
199 class ProgressEventArgs;
200 class ProgressiveSource;
201 class PulseSource;
202 class QuadraticBezierSegment;
203 class QuadraticEase;
204 class QuarticEase;
205 class QuinticEase;
206 class RadialGradientBrush;
207 class Rectangle;
208 class RectangleGeometry;
209 class RenderingEventArgs;
210 class ResourceDictionary;
211 class RotateTransform;
212 class RoutedEventArgs;
213 class RowDefinition;
214 class RowDefinitionCollection;
215 class Run;
216 class ScaleTransform;
217 class Setter;
218 class SetterBase;
219 class SetterBaseCollection;
220 class Shape;
221 class SineEase;
222 class SizeChangedEventArgs;
223 class SkewTransform;
224 class SolidColorBrush;
225 class SplineColorKeyFrame;
226 class SplineDoubleKeyFrame;
227 class SplinePointKeyFrame;
228 class Storyboard;
229 class Stroke;
230 class StrokeCollection;
231 class Style;
232 class StylusInfo;
233 class StylusPoint;
234 class StylusPointCollection;
235 class Surface;
236 class SystemTimeSource;
237 class TextBlock;
238 class TextBox;
239 class TextBoxBase;
240 class TextBoxModelChangedEventArgs;
241 class TextBoxView;
242 class TextChangedEventArgs;
243 class TileBrush;
244 class Timeline;
245 class TimelineCollection;
246 class TimelineGroup;
247 class TimelineMarker;
248 class TimelineMarkerCollection;
249 class TimeManager;
250 class TimeSource;
251 class Transform;
252 class TransformCollection;
253 class TransformGroup;
254 class TranslateTransform;
255 class TriggerCollection;
256 class TriggerAction;
257 class TriggerActionCollection;
258 class TriggerBase;
259 class UIElement;
260 class UIElementCollection;
261 class UnmanagedMatrix;
262 class UserControl;
263 class VideoBrush;
264 class VideoStream;
265 class VisualBrush;
266 class WriteableBitmap;
267 class YUVConverter;
270 class AlsaPlayer;
271 class AlsaSource;
272 class Animation;
273 class AnimationClock;
274 class AnimationStorage;
275 class Application;
276 class Applier;
277 class ArcSegment;
278 class ArrayList;
279 class ASFDemuxer;
280 class ASFDemuxerInfo;
281 class ASFFrameReader;
282 class ASFMarkerDecoder;
283 class ASFMarkerDecoderInfo;
284 class ASFPacket;
285 class ASFParser;
286 class ASFReader;
287 class AssemblyPart;
288 class AssemblyPartCollection;
289 class ASXDemuxer;
290 class ASXDemuxerInfo;
291 class AudioListNode;
292 class AudioPlayer;
293 class AudioSource;
294 class AudioSources;
295 class AudioStream;
296 class AutoCreatePropertyValueProvider;
297 class AutoCreators;
298 class BackEase;
299 class BeginStoryboard;
300 class BezierSegment;
301 class BitmapImage;
302 class BitmapSource;
303 class Border;
304 class BounceEase;
305 class BrowserBridge;
306 class Brush;
307 class Canvas;
308 class CircleEase;
309 class Clock;
310 class ClockGroup;
311 class CodecDownloader;
312 class Collection;
313 class CollectionChangedEventArgs;
314 class CollectionItemChangedEventArgs;
315 class CollectionIterator;
316 class ColorAnimation;
317 class ColorAnimationUsingKeyFrames;
318 class ColorKeyFrame;
319 class ColorKeyFrameCollection;
320 class ColumnDefinition;
321 class ColumnDefinitionCollection;
322 class ContentChangedEventArgs;
323 class ContentControl;
324 class ContentDescription;
325 class ContentDescriptionList;
326 class Control;
327 class ControlTemplate;
328 class ConverterInfo;
329 class CubicEase;
330 class CursorPositionChangedEventArgs;
331 class DataTemplate;
332 class DecoderInfo;
333 class DeepTreeWalker;
334 class DeepZoomImageTileSource;
335 class DefaultValuePropertyValueProvider;
336 class DemuxerInfo;
337 class DependencyObject;
338 class DependencyObjectCollection;
339 class DependencyProperty;
340 class Deployment;
341 class DirtyLists;
342 class DiscreteColorKeyFrame;
343 class DiscreteDoubleKeyFrame;
344 class DiscreteObjectKeyFrame;
345 class DiscretePointKeyFrame;
346 class DispatcherTimer;
347 class DoubleAnimation;
348 class DoubleAnimationUsingKeyFrames;
349 class DoubleCollection;
350 class DoubleKeyFrame;
351 class DoubleKeyFrameCollection;
352 class Downloader;
353 class DownloaderRequest;
354 class DownloaderResponse;
355 class DownloadProgressEventArgs;
356 class DrawingAttributes;
357 class EasingColorKeyFrame;
358 class EasingDoubleKeyFrame;
359 class EasingFunctionBase;
360 class EasingPointKeyFrame;
361 class ElasticEase;
362 class Ellipse;
363 class EllipseGeometry;
364 class ErrorEventArgs;
365 class EventArgs;
366 class EventListenerProxy;
367 class EventObject;
368 class EventTrigger;
369 class ExceptionRoutedEventArgs;
370 class ExponentialEase;
371 class ExternalDecoder;
372 class ExternalDecoderInfo;
373 class ExternalDemuxer;
374 class FfmpegDecoder;
375 class FfmpegDecoderInfo;
376 class FfmpegDemuxer;
377 class FileDownloader;
378 class FileSource;
379 class FontFace;
380 class FontManager;
381 class FrameworkElement;
382 class FrameworkElementProvider;
383 class FrameworkTemplate;
384 class GeneralTransform;
385 class Geometry;
386 class GeometryCollection;
387 class GeometryGroup;
388 class Glyphs;
389 class GradientBrush;
390 class GradientStop;
391 class GradientStopCollection;
392 class Grid;
393 class HitTestCollection;
394 class IDownloader;
395 class IImageConverter;
396 class Image;
397 class ImageBrush;
398 class ImageErrorEventArgs;
399 class ImageSource;
400 class IMediaDecoder;
401 class IMediaDemuxer;
402 class IMediaObject;
403 class IMediaSource;
404 class IMediaStream;
405 class InheritedPropertyValueProvider;
406 class InkPresenter;
407 class Inline;
408 class InlineCollection;
409 class InputMethod;
410 class InternalDownloader;
411 class ItemCollection;
412 class ITextAttributes;
413 class Keyboard;
414 class KeyEventArgs;
415 class KeyFrame;
416 class KeyFrameCollection;
417 class KeySpline;
418 class LayoutInformation;
419 class Line;
420 class LinearColorKeyFrame;
421 class LinearDoubleKeyFrame;
422 class LinearGradientBrush;
423 class LinearPointKeyFrame;
424 class LineBreak;
425 class LineGeometry;
426 class LineSegment;
427 class List;
428 class LocalPropertyValueProvider;
429 class ManagedStreamSource;
430 class ManualTimeSource;
431 class MarkerReachedEventArgs;
432 class MarkerStream;
433 class Matrix;
434 class MatrixTransform;
435 class Media;
436 class MediaAttribute;
437 class MediaAttributeCollection;
438 class MediaBase;
439 class MediaClosure;
440 class MediaDecodeFrameClosure;
441 class MediaElement;
442 class MediaElementPropertyValueProvider;
443 class MediaFrame;
444 class MediaGetFrameClosure;
445 class MediaInfo;
446 class MediaMarker;
447 class MediaMarkerFoundClosure;
448 class MediaPlayer;
449 class MediaReportSeekCompletedClosure;
450 class MediaSeekClosure;
451 class MediaWork;
452 class MemoryNestedSource;
453 class MemorySource;
454 class MmsDemuxer;
455 class MmsDownloader;
456 class MmsPlaylistEntry;
457 class MmsSecondDownloader;
458 class MmsSource;
459 class MoonError;
460 class MoonlightConfiguration;
461 class MoonWindow;
462 class MoonWindowGtk;
463 class MoonWindowless;
464 class MouseEventArgs;
465 class MouseWheelEventArgs;
466 class Mp3Demuxer;
467 class Mp3DemuxerInfo;
468 class Mp3FrameReader;
469 class MultiScaleImage;
470 class MultiScaleSubImage;
471 class MultiScaleSubImageCollection;
472 class MultiScaleTileSource;
473 class Mutex;
474 class NameScope;
475 class NPStreamRequest;
476 class NullDecoder;
477 class NullDecoderInfo;
478 class ObjectAnimationUsingKeyFrames;
479 class ObjectKeyFrame;
480 class ObjectKeyFrameCollection;
481 class ObjectTracker;
482 class Panel;
483 class ParallelTimeline;
484 class ParserErrorEventArgs;
485 class PassThroughDecoder;
486 class PassThroughDecoderInfo;
487 class PasswordBox;
488 class Path;
489 class PathFigure;
490 class PathFigureCollection;
491 class PathGeometry;
492 class PathSegment;
493 class PathSegmentCollection;
494 class Playlist;
495 class PlaylistEntry;
496 class PlaylistKind;
497 class PlaylistNode;
498 class PlaylistParser;
499 class PlaylistParserInternal;
500 class PlaylistRoot;
501 class PluginDownloader;
502 class PluginInstance;
503 class PluginXamlLoader;
504 class PointAnimation;
505 class PointAnimationUsingKeyFrames;
506 class PointCollection;
507 class PointKeyFrame;
508 class PointKeyFrameCollection;
509 class PolyBezierSegment;
510 class Polygon;
511 class Polyline;
512 class PolyLineSegment;
513 class PolyQuadraticBezierSegment;
514 class Popup;
515 class PowerEase;
516 class ProgressEventArgs;
517 class ProgressiveSource;
518 class PropertyValueProvider;
519 class PulsePlayer;
520 class PulseSource;
521 class QuadraticBezierSegment;
522 class QuadraticEase;
523 class QuarticEase;
524 class Queue;
525 class QuinticEase;
526 class RadialGradientBrush;
527 class Rectangle;
528 class RectangleGeometry;
529 class Region;
530 class RenderingEventArgs;
531 class RenderNode;
532 class ResourceDictionary;
533 class RotateTransform;
534 class RoutedEventArgs;
535 class RowDefinition;
536 class RowDefinitionCollection;
537 class Run;
538 class ScaleTransform;
539 class Setter;
540 class SetterBase;
541 class SetterBaseCollection;
542 class Shape;
543 class SineEase;
544 class SizeChangedEventArgs;
545 class SkewTransform;
546 class SolidColorBrush;
547 class SplineColorKeyFrame;
548 class SplineDoubleKeyFrame;
549 class SplinePointKeyFrame;
550 class Storyboard;
551 class StreamNotify;
552 class Stroke;
553 class StrokeCollection;
554 class Style;
555 class StylePropertyValueProvider;
556 class StylusInfo;
557 class StylusPoint;
558 class StylusPointCollection;
559 class Surface;
560 class SystemTimeSource;
561 class TextBlock;
562 class TextBox;
563 class TextBoxBase;
564 class TextBoxModelChangedEventArgs;
565 class TextBoxView;
566 class TextChangedEventArgs;
567 class TextFont;
568 class TextFontDescription;
569 class TextLayout;
570 class TextLayoutAttributes;
571 class TextStream;
572 class TileBrush;
573 class Timeline;
574 class TimelineCollection;
575 class TimelineGroup;
576 class TimelineMarker;
577 class TimelineMarkerCollection;
578 class TimeManager;
579 class TimeSource;
580 class ToggleNotifyListener;
581 class Transform;
582 class TransformCollection;
583 class TransformGroup;
584 class TranslateTransform;
585 class TriggerAction;
586 class TriggerActionCollection;
587 class TriggerBase;
588 class TriggerCollection;
589 class Type;
590 class Types;
591 class UIElement;
592 class UIElementCollection;
593 class UIElementNode;
594 class UnmanagedMatrix;
595 class UserControl;
596 class Validators;
597 class VideoBrush;
598 class VideoStream;
599 class VisualBrush;
600 class VisualTreeWalker;
601 class WriteableBitmap;
602 class XamlContext;
603 class XamlLoader;
604 class Xap;
605 class YUVConverter;
606 class YUVConverterInfo;
608 struct asf_bitrate_mutual_exclusion;
609 struct asf_codec_list;
610 struct asf_content_description;
611 struct asf_data;
612 struct asf_error_correction;
613 struct asf_error_correction_data;
614 struct asf_extended_content_description;
615 struct asf_extended_stream_name;
616 struct asf_extended_stream_properties;
617 struct asf_file_properties;
618 struct asf_guid;
619 struct asf_header;
620 struct asf_header_extension;
621 struct asf_marker;
622 struct asf_marker_entry;
623 struct asf_multiple_payloads;
624 struct asf_object;
625 struct asf_payload_extension_system;
626 struct asf_payload_parsing_information;
627 struct asf_script_command;
628 struct asf_script_command_entry;
629 struct asf_single_payload;
630 struct asf_stream_bitrate_properties;
631 struct asf_stream_properties;
632 struct asf_video_stream_data;
633 struct ASFContext;
634 struct ASFFrameReaderData;
635 struct ASFFrameReaderIndex;
636 struct AudioData;
637 struct BITMAPINFOHEADER;
638 struct Color;
639 struct CornerRadius;
640 struct Duration;
641 struct FontFaceExtents;
642 struct FontFamily;
643 struct FontSource;
644 struct FontStretch;
645 struct FontStyle;
646 struct FontWeight;
647 struct GlyphInfo;
648 struct GlyphMetrics;
649 struct GridLength;
650 struct KeyTime;
651 struct ManagedStreamCallbacks;
652 struct ManagedTypeInfo;
653 struct MmsDataPacket;
654 struct MmsHeader;
655 struct MmsHeaderReason;
656 struct MmsPacket;
657 struct MoonlightCollectionObject;
658 struct MoonlightCollectionType;
659 struct MoonlightContentObject;
660 struct MoonlightContentType;
661 struct MoonlightControlObject;
662 struct MoonlightControlType;
663 struct MoonlightCornerRadius;
664 struct MoonlightCornerRadiusType;
665 struct MoonlightDependencyObjectObject;
666 struct MoonlightDependencyObjectType;
667 struct MoonlightDownloaderObject;
668 struct MoonlightDownloaderType;
669 struct MoonlightDownloadProgressEventArgs;
670 struct MoonlightDownloadProgressEventArgsType;
671 struct MoonlightDuration;
672 struct MoonlightDurationType;
673 struct MoonlightErrorEventArgs;
674 struct MoonlightErrorEventArgsType;
675 struct MoonlightEventArgs;
676 struct MoonlightEventArgsType;
677 struct MoonlightEventObjectObject;
678 struct MoonlightEventObjectType;
679 struct MoonlightImageBrushObject;
680 struct MoonlightImageBrushType;
681 struct MoonlightImageObject;
682 struct MoonlightImageType;
683 struct MoonlightKeyEventArgsObject;
684 struct MoonlightKeyEventArgsType;
685 struct MoonlightKeyTime;
686 struct MoonlightKeyTimeType;
687 struct MoonlightMarkerReachedEventArgsObject;
688 struct MoonlightMarkerReachedEventArgsType;
689 struct MoonlightMediaElementObject;
690 struct MoonlightMediaElementType;
691 struct MoonlightMouseEventArgsObject;
692 struct MoonlightMouseEventArgsType;
693 struct MoonlightMultiScaleImageObject;
694 struct MoonlightMultiScaleImageType;
695 struct MoonlightObject;
696 struct MoonlightObjectType;
697 struct MoonlightPasswordBoxObject;
698 struct MoonlightPasswordBoxType;
699 struct MoonlightPoint;
700 struct MoonlightPointType;
701 struct MoonlightRect;
702 struct MoonlightRectType;
703 struct MoonlightRoutedEventArgs;
704 struct MoonlightRoutedEventArgsType;
705 struct MoonlightScriptableObjectObject;
706 struct MoonlightScriptableObjectType;
707 struct MoonlightScriptControlObject;
708 struct MoonlightScriptControlType;
709 struct MoonlightSettingsObject;
710 struct MoonlightSettingsType;
711 struct MoonlightStoryboardObject;
712 struct MoonlightStoryboardType;
713 struct MoonlightStrokeCollectionObject;
714 struct MoonlightStrokeCollectionType;
715 struct MoonlightStrokeObject;
716 struct MoonlightStrokeType;
717 struct MoonlightStylusInfoObject;
718 struct MoonlightStylusInfoType;
719 struct MoonlightStylusPointCollectionObject;
720 struct MoonlightStylusPointCollectionType;
721 struct MoonlightTextBlockObject;
722 struct MoonlightTextBlockType;
723 struct MoonlightTextBoxObject;
724 struct MoonlightTextBoxType;
725 struct MoonlightThickness;
726 struct MoonlightThicknessType;
727 struct MoonlightTimeSpan;
728 struct MoonlightTimeSpanType;
729 struct MoonlightUIElementObject;
730 struct MoonlightUIElementType;
731 struct MoonNameIdMapping;
732 struct MpegFrame;
733 struct MpegFrameHeader;
734 struct MpegVBRHeader;
735 struct Point;
736 struct PropertyChangedEventArgs;
737 struct PropertyPath;
738 struct Rect;
739 struct RepeatBehavior;
740 struct Size;
741 struct TextLayoutGlyphCluster;
742 struct TextLayoutLine;
743 struct TextLayoutRun;
744 struct Thickness;
745 struct Uri;
746 struct Value;
747 struct WAVEFORMATEX;
748 struct WAVEFORMATEXTENSIBLE;
749 struct XamlLoaderCallbacks;
751 typedef void ( * ApplyDefaultStyleCallback ) ( FrameworkElement * fwe , ManagedTypeInfo * key ) ;
752 typedef void ( * ApplyStyleCallback ) ( FrameworkElement * fwe , Style * style ) ;
753 typedef void * ( * ConvertKeyframeValueCallback ) ( int kind , DependencyProperty * property , Value * original , Value * converted ) ;
754 typedef void * ( * GetResourceCallback ) ( const char * name , int * size ) ;
755 typedef void ( * TickCallHandler ) ( EventObject * object ) ;
756 typedef void ( * EventHandler ) ( EventObject * sender , EventArgs * args , gpointer closure ) ;
757 typedef void ( * ToggleNotifyHandler ) ( EventObject * sender , bool isLastRef ) ;
758 typedef void ( * PropertyChangeHandler ) ( DependencyObject * sender , PropertyChangedEventArgs * args , MoonError * error , gpointer closure ) ;
759 typedef void ( * DownloaderResponseHeaderCallback ) ( gpointer context , const char * header , const char * value ) ;
760 typedef void ( * DownloaderWriteFunc ) ( void * buf , gint32 offset , gint32 n , gpointer cb_data ) ;
761 typedef void ( * DownloaderNotifySizeFunc ) ( gint64 size , gpointer cb_data ) ;
762 typedef gpointer ( * DownloaderCreateStateFunc ) ( Downloader * dl ) ;
763 typedef void ( * DownloaderDestroyStateFunc ) ( gpointer state ) ;
764 typedef void ( * DownloaderOpenFunc ) ( gpointer state , const char * verb , const char * uri , bool custom_header_support , bool disable_cache ) ;
765 typedef void ( * DownloaderSendFunc ) ( gpointer state ) ;
766 typedef void ( * DownloaderAbortFunc ) ( gpointer state ) ;
767 typedef void ( * DownloaderHeaderFunc ) ( gpointer state , const char * header , const char * value ) ;
768 typedef void ( * DownloaderBodyFunc ) ( gpointer state , void * body , guint32 length ) ;
769 typedef gpointer ( * DownloaderCreateWebRequestFunc ) ( const char * method , const char * uri , gpointer context ) ;
770 typedef void ( * DownloaderSetResponseHeaderCallbackFunc ) ( gpointer state , DownloaderResponseHeaderCallback callback , gpointer context ) ;
771 typedef guint32 ( * DownloaderResponseStartedHandler ) ( DownloaderResponse * response , gpointer context ) ;
772 typedef guint32 ( * DownloaderResponseDataAvailableHandler ) ( DownloaderResponse * response , gpointer context , char * buffer , guint32 length ) ;
773 typedef guint32 ( * DownloaderResponseFinishedHandler ) ( DownloaderResponse * response , gpointer context , bool success , gpointer data , const char * uri ) ;
774 typedef double ( * EasingFunction ) ( double normalizedTime ) ;
775 typedef Size ( * MeasureOverrideCallback ) ( Size availableSize ) ;
776 typedef Size ( * ArrangeOverrideCallback ) ( Size finalSize ) ;
777 typedef void ( * CloseDemuxerCallback ) ( void * instance ) ;
778 typedef void ( * GetDiagnosticAsyncCallback ) ( void * instance , int diagnosticKind ) ;
779 typedef void ( * GetFrameAsyncCallback ) ( void * instance , int mediaStreamType ) ;
780 typedef void ( * OpenDemuxerAsyncCallback ) ( void * instance , IMediaDemuxer * demuxer ) ;
781 typedef void ( * SeekAsyncCallback ) ( void * instance , guint64 seekToTime ) ;
782 typedef void ( * SwitchMediaStreamAsyncCallback ) ( void * instance , IMediaStream * mediaStreamDescription ) ;
783 typedef void ( * ExternalDecoder_DecodeFrameAsyncCallback ) ( void * instance , MediaFrame * frame ) ;
784 typedef void ( * ExternalDecoder_OpenDecoderAsyncCallback ) ( void * instance ) ;
785 typedef void ( * ExternalDecoder_CleanupCallback ) ( void * instance , MediaFrame * frame ) ;
786 typedef void ( * ExternalDecoder_CleanStateCallback ) ( void * instance ) ;
787 typedef bool ( * ExternalDecoder_HasDelayedFrameCallback ) ( void * instance ) ;
788 typedef void ( * ExternalDecoder_DisposeCallback ) ( void * instance ) ;
789 typedef void ( * ExternalDecoder_DtorCallback ) ( void * instance ) ;
790 typedef bool ( * ExternalDecoderInfo_SupportsCallback ) ( void * instance , const char * codec ) ;
791 typedef IMediaDecoder * ( * ExternalDecoderInfo_Create ) ( void * instance , Media * media , IMediaStream * stream ) ;
792 typedef void ( * ExternalDecoderInfo_dtor ) ( void * instance ) ;
793 typedef bool ( * get_image_uri_func ) ( int level , int posX , int posY , Uri * uri , void * user_data ) ;
794 typedef gint64 TimeSpan ;
797 G_BEGIN_DECLS
800 * PluginInstance
802 /* @GeneratePInvoke */
803 void *plugin_instance_evaluate (PluginInstance *instance, const char *code);
805 /* @GeneratePInvoke */
806 gint32 plugin_instance_get_actual_height (PluginInstance *instance);
808 /* @GeneratePInvoke */
809 gint32 plugin_instance_get_actual_width (PluginInstance *instance);
811 /* @GeneratePInvoke */
812 bool plugin_instance_get_allow_html_popup_window (PluginInstance *instance);
814 /* @GeneratePInvoke */
815 void *plugin_instance_get_browser_host (PluginInstance *instance);
817 /* @GeneratePInvoke */
818 bool plugin_instance_get_enable_html_access (PluginInstance *instance);
820 /* @GeneratePInvoke */
821 const char *plugin_instance_get_init_params (PluginInstance *instance);
823 /* @GeneratePInvoke */
824 const char *plugin_instance_get_source (PluginInstance *instance);
826 /* @GeneratePInvoke */
827 const char *plugin_instance_get_source_location (PluginInstance *instance);
829 /* @GeneratePInvoke */
830 const char *plugin_instance_get_source_location_original (PluginInstance *instance);
832 /* @GeneratePInvoke */
833 const char *plugin_instance_get_source_original (PluginInstance *instance);
835 /* @GeneratePInvoke */
836 Surface *plugin_instance_get_surface (PluginInstance *instance);
838 /* @GeneratePInvoke */
839 bool plugin_instance_get_windowless (PluginInstance *instance);
841 /* @GeneratePInvoke */
842 void plugin_instance_report_exception (PluginInstance *instance, char *msg, char *details, char* *stack_trace, int num_frames);
845 G_END_DECLS
847 #endif