virtualbox-com 0.9.9 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/LICENSE +339 -19
  2. data/examples/simple.rb +2 -0
  3. data/ext/virtualbox-com/4.1/extconf.rb +4 -0
  4. data/ext/virtualbox-com/4.1/generated.inc +17345 -0
  5. data/ext/virtualbox-com/4.1/vbox.c +858 -0
  6. data/ext/virtualbox-com/4.2/extconf.rb +4 -0
  7. data/ext/virtualbox-com/4.2/generated.inc +19751 -0
  8. data/ext/virtualbox-com/4.2/vbox.c +858 -0
  9. data/ext/virtualbox-com/helpers.h +62 -0
  10. data/ext/virtualbox-com/loader/extconf.rb +3 -0
  11. data/ext/virtualbox-com/loader/vbox-loader.c +187 -0
  12. data/ext/virtualbox-com/types.h +34 -0
  13. data/ext/virtualbox-com/vbox.c +858 -0
  14. data/lib/virtualbox/com.rb +4 -26
  15. data/lib/virtualbox/com/{abstract_enum.rb → abstracts.rb} +22 -18
  16. data/lib/virtualbox/com/exceptions.rb +29 -3
  17. data/lib/virtualbox/com/model/4.1-generated.rb +2141 -0
  18. data/lib/virtualbox/com/model/4.2-generated.rb +141 -432
  19. data/lib/virtualbox/com/model/4.2.rb +4 -4
  20. data/lib/virtualbox/com/util.rb +2 -1
  21. data/lib/virtualbox/com/version.rb +1 -1
  22. data/lib/virtualbox/com/xpcomc-ffi.rb +5 -19
  23. data/lib/virtualbox/com/xpcomc-ffi/abstracts.rb +103 -0
  24. data/lib/virtualbox/com/{iid.rb → xpcomc-ffi/iid.rb} +18 -0
  25. data/lib/virtualbox/com/xpcomc-ffi/lib.rb +6 -0
  26. data/lib/virtualbox/com/xpcomc-ffi/model-types.rb +1 -0
  27. data/lib/virtualbox/com/xpcomc-native.rb +8 -0
  28. data/scripts/abstracts.rb +84 -0
  29. data/scripts/sig.rb +201 -0
  30. data/scripts/spec.rb +56 -0
  31. data/scripts/to_c.rb +157 -0
  32. data/scripts/xidl-conv.rb +110 -50
  33. data/virtualbox-com.gemspec +18 -11
  34. metadata +49 -47
  35. data/.gitignore +0 -9
  36. data/README.md +0 -89
  37. data/Rakefile +0 -8
  38. data/lib/virtualbox/com/abstract_interface.rb +0 -144
  39. data/lib/virtualbox/com/abstract_model.rb +0 -14
@@ -1,19 +1,31 @@
1
1
  #
2
2
  # This file has been automatically generated from the VirtualBox.xidl
3
+ # NOTE: it is not always loaded.
3
4
  #
4
5
 
5
6
  module VirtualBox
6
7
  module COM
7
-
8
- MODEL_VERSION = "4.2"
9
-
10
8
  module Model
11
9
 
12
10
  class NSISupports < AbstractInterface
13
11
  iid "00000000-0000-0000-c000-000000000046"
14
- function :QueryInterface, :pointer, [ :pointer ], :hide => true
15
- function :AddRef, nil, [], :hide => true
16
- function :Release, nil, [], :hide => true
12
+ function :QueryInterface, PTR, [ PTR ], :hide => true
13
+ function :AddRef, nil, [], :hide => true
14
+ function :Release, nil, [], :hide => true
15
+ end
16
+
17
+ class NSIException < NSISupports
18
+ iid "f3a8d3b4-c424-4edc-8bf6-8974c983ba78"
19
+ property :message, WSTRING, :readonly => true
20
+ property :result, UINT32, :readonly => true
21
+ property :name, WSTRING, :readonly => true
22
+ property :filename, WSTRING, :readonly => true
23
+ property :line_number, UINT32, :readonly => true
24
+ property :column_number, UINT32, :readonly => true
25
+ property :location, PTR, :readonly => true
26
+ property :inner, :NSIException, :readonly => true
27
+ property :data, :NSISupports, :readonly => true
28
+ function :to_string, nil, [WSTRING]
17
29
  end
18
30
 
19
31
  class SettingsVersion < AbstractEnum
@@ -37,7 +49,6 @@ class SettingsVersion < AbstractEnum
37
49
  :v1_13 => 15,
38
50
  :future => 99999,
39
51
  })
40
- setup
41
52
  end
42
53
 
43
54
  class AccessMode < AbstractEnum
@@ -46,7 +57,6 @@ class AccessMode < AbstractEnum
46
57
  :read_only => 1,
47
58
  :read_write => 2,
48
59
  })
49
- setup
50
60
  end
51
61
 
52
62
  class MachineState < AbstractEnum
@@ -79,7 +89,6 @@ class MachineState < AbstractEnum
79
89
  :first_transient => 8,
80
90
  :last_transient => 21,
81
91
  })
82
- setup
83
92
  end
84
93
 
85
94
  class SessionState < AbstractEnum
@@ -91,7 +100,6 @@ class SessionState < AbstractEnum
91
100
  :spawning => 3,
92
101
  :unlocking => 4,
93
102
  })
94
- setup
95
103
  end
96
104
 
97
105
  class CPUPropertyType < AbstractEnum
@@ -101,7 +109,6 @@ class CPUPropertyType < AbstractEnum
101
109
  :pae => 1,
102
110
  :synthetic => 2,
103
111
  })
104
- setup
105
112
  end
106
113
 
107
114
  class HWVirtExPropertyType < AbstractEnum
@@ -115,7 +122,6 @@ class HWVirtExPropertyType < AbstractEnum
115
122
  :large_pages => 5,
116
123
  :force => 6,
117
124
  })
118
- setup
119
125
  end
120
126
 
121
127
  class FaultToleranceState < AbstractEnum
@@ -125,7 +131,6 @@ class FaultToleranceState < AbstractEnum
125
131
  :master => 2,
126
132
  :standby => 3,
127
133
  })
128
- setup
129
134
  end
130
135
 
131
136
  class LockType < AbstractEnum
@@ -135,7 +140,6 @@ class LockType < AbstractEnum
135
140
  :shared => 1,
136
141
  :vm => 3,
137
142
  })
138
- setup
139
143
  end
140
144
 
141
145
  class SessionType < AbstractEnum
@@ -146,7 +150,6 @@ class SessionType < AbstractEnum
146
150
  :remote => 2,
147
151
  :shared => 3,
148
152
  })
149
- setup
150
153
  end
151
154
 
152
155
  class DeviceType < AbstractEnum
@@ -160,7 +163,6 @@ class DeviceType < AbstractEnum
160
163
  :usb => 5,
161
164
  :shared_folder => 6,
162
165
  })
163
- setup
164
166
  end
165
167
 
166
168
  class DeviceActivity < AbstractEnum
@@ -171,7 +173,6 @@ class DeviceActivity < AbstractEnum
171
173
  :reading => 2,
172
174
  :writing => 3,
173
175
  })
174
- setup
175
176
  end
176
177
 
177
178
  class ClipboardMode < AbstractEnum
@@ -182,7 +183,6 @@ class ClipboardMode < AbstractEnum
182
183
  :guest_to_host => 2,
183
184
  :bidirectional => 3,
184
185
  })
185
- setup
186
186
  end
187
187
 
188
188
  class DragAndDropMode < AbstractEnum
@@ -193,7 +193,6 @@ class DragAndDropMode < AbstractEnum
193
193
  :guest_to_host => 2,
194
194
  :bidirectional => 3,
195
195
  })
196
- setup
197
196
  end
198
197
 
199
198
  class Scope < AbstractEnum
@@ -203,7 +202,6 @@ class Scope < AbstractEnum
203
202
  :machine => 1,
204
203
  :session => 2,
205
204
  })
206
- setup
207
205
  end
208
206
 
209
207
  class BIOSBootMenuMode < AbstractEnum
@@ -213,7 +211,6 @@ class BIOSBootMenuMode < AbstractEnum
213
211
  :menu_only => 1,
214
212
  :message_and_menu => 2,
215
213
  })
216
- setup
217
214
  end
218
215
 
219
216
  class ProcessorFeature < AbstractEnum
@@ -224,7 +221,6 @@ class ProcessorFeature < AbstractEnum
224
221
  :long_mode => 2,
225
222
  :nested_paging => 3,
226
223
  })
227
- setup
228
224
  end
229
225
 
230
226
  class FirmwareType < AbstractEnum
@@ -236,7 +232,6 @@ class FirmwareType < AbstractEnum
236
232
  :efi64 => 4,
237
233
  :efidual => 5,
238
234
  })
239
- setup
240
235
  end
241
236
 
242
237
  class PointingHIDType < AbstractEnum
@@ -248,7 +243,6 @@ class PointingHIDType < AbstractEnum
248
243
  :usb_tablet => 4,
249
244
  :combo_mouse => 5,
250
245
  })
251
- setup
252
246
  end
253
247
 
254
248
  class KeyboardHIDType < AbstractEnum
@@ -259,7 +253,6 @@ class KeyboardHIDType < AbstractEnum
259
253
  :usb_keyboard => 3,
260
254
  :combo_keyboard => 4,
261
255
  })
262
- setup
263
256
  end
264
257
 
265
258
  class VFSType < AbstractEnum
@@ -270,7 +263,6 @@ class VFSType < AbstractEnum
270
263
  :s3 => 3,
271
264
  :web_dav => 4,
272
265
  })
273
- setup
274
266
  end
275
267
 
276
268
  class VFSFileType < AbstractEnum
@@ -286,7 +278,6 @@ class VFSFileType < AbstractEnum
286
278
  :socket => 8,
287
279
  :white_out => 9,
288
280
  })
289
- setup
290
281
  end
291
282
 
292
283
  class ImportOptions < AbstractEnum
@@ -295,7 +286,6 @@ class ImportOptions < AbstractEnum
295
286
  :keep_all_macs => 1,
296
287
  :keep_nat_macs => 2,
297
288
  })
298
- setup
299
289
  end
300
290
 
301
291
  class VirtualSystemDescriptionType < AbstractEnum
@@ -326,7 +316,6 @@ class VirtualSystemDescriptionType < AbstractEnum
326
316
  :sound_card => 23,
327
317
  :settings_file => 24,
328
318
  })
329
- setup
330
319
  end
331
320
 
332
321
  class VirtualSystemDescriptionValueType < AbstractEnum
@@ -337,7 +326,6 @@ class VirtualSystemDescriptionValueType < AbstractEnum
337
326
  :auto => 3,
338
327
  :extra_config => 4,
339
328
  })
340
- setup
341
329
  end
342
330
 
343
331
  class CleanupMode < AbstractEnum
@@ -348,7 +336,6 @@ class CleanupMode < AbstractEnum
348
336
  :detach_all_return_hard_disks_only => 3,
349
337
  :full => 4,
350
338
  })
351
- setup
352
339
  end
353
340
 
354
341
  class CloneMode < AbstractEnum
@@ -358,7 +345,6 @@ class CloneMode < AbstractEnum
358
345
  :machine_and_child_states => 2,
359
346
  :all_states => 3,
360
347
  })
361
- setup
362
348
  end
363
349
 
364
350
  class CloneOptions < AbstractEnum
@@ -369,7 +355,6 @@ class CloneOptions < AbstractEnum
369
355
  :keep_nat_macs => 3,
370
356
  :keep_disk_names => 4,
371
357
  })
372
- setup
373
358
  end
374
359
 
375
360
  class AutostopType < AbstractEnum
@@ -380,7 +365,6 @@ class AutostopType < AbstractEnum
380
365
  :power_off => 3,
381
366
  :acpi_shutdown => 4,
382
367
  })
383
- setup
384
368
  end
385
369
 
386
370
  class HostNetworkInterfaceMediumType < AbstractEnum
@@ -391,7 +375,6 @@ class HostNetworkInterfaceMediumType < AbstractEnum
391
375
  :ppp => 2,
392
376
  :slip => 3,
393
377
  })
394
- setup
395
378
  end
396
379
 
397
380
  class HostNetworkInterfaceStatus < AbstractEnum
@@ -401,7 +384,6 @@ class HostNetworkInterfaceStatus < AbstractEnum
401
384
  :up => 1,
402
385
  :down => 2,
403
386
  })
404
- setup
405
387
  end
406
388
 
407
389
  class HostNetworkInterfaceType < AbstractEnum
@@ -410,7 +392,6 @@ class HostNetworkInterfaceType < AbstractEnum
410
392
  :bridged => 1,
411
393
  :host_only => 2,
412
394
  })
413
- setup
414
395
  end
415
396
 
416
397
  class AdditionsFacilityType < AbstractEnum
@@ -425,7 +406,6 @@ class AdditionsFacilityType < AbstractEnum
425
406
  :graphics => 1100,
426
407
  :all => 2147483646,
427
408
  })
428
- setup
429
409
  end
430
410
 
431
411
  class AdditionsFacilityClass < AbstractEnum
@@ -439,7 +419,6 @@ class AdditionsFacilityClass < AbstractEnum
439
419
  :third_party => 999,
440
420
  :all => 2147483646,
441
421
  })
442
- setup
443
422
  end
444
423
 
445
424
  class AdditionsFacilityStatus < AbstractEnum
@@ -455,7 +434,6 @@ class AdditionsFacilityStatus < AbstractEnum
455
434
  :failed => 800,
456
435
  :unknown => 999,
457
436
  })
458
- setup
459
437
  end
460
438
 
461
439
  class AdditionsRunLevelType < AbstractEnum
@@ -466,7 +444,6 @@ class AdditionsRunLevelType < AbstractEnum
466
444
  :userland => 2,
467
445
  :desktop => 3,
468
446
  })
469
- setup
470
447
  end
471
448
 
472
449
  class AdditionsUpdateFlag < AbstractEnum
@@ -475,7 +452,6 @@ class AdditionsUpdateFlag < AbstractEnum
475
452
  :none => 0,
476
453
  :wait_for_update_start_only => 1,
477
454
  })
478
- setup
479
455
  end
480
456
 
481
457
  class FileSeekType < AbstractEnum
@@ -484,7 +460,6 @@ class FileSeekType < AbstractEnum
484
460
  :set => 0,
485
461
  :current => 1,
486
462
  })
487
- setup
488
463
  end
489
464
 
490
465
  class ProcessInputFlag < AbstractEnum
@@ -493,7 +468,6 @@ class ProcessInputFlag < AbstractEnum
493
468
  :none => 0,
494
469
  :end_of_file => 1,
495
470
  })
496
- setup
497
471
  end
498
472
 
499
473
  class ProcessOutputFlag < AbstractEnum
@@ -502,7 +476,6 @@ class ProcessOutputFlag < AbstractEnum
502
476
  :none => 0,
503
477
  :std_err => 1,
504
478
  })
505
- setup
506
479
  end
507
480
 
508
481
  class ProcessWaitForFlag < AbstractEnum
@@ -515,7 +488,6 @@ class ProcessWaitForFlag < AbstractEnum
515
488
  :std_out => 8,
516
489
  :std_err => 16,
517
490
  })
518
- setup
519
491
  end
520
492
 
521
493
  class ProcessWaitResult < AbstractEnum
@@ -532,7 +504,6 @@ class ProcessWaitResult < AbstractEnum
532
504
  :std_err => 8,
533
505
  :wait_flag_not_supported => 9,
534
506
  })
535
- setup
536
507
  end
537
508
 
538
509
  class CopyFileFlag < AbstractEnum
@@ -543,7 +514,6 @@ class CopyFileFlag < AbstractEnum
543
514
  :update => 2,
544
515
  :follow_links => 4,
545
516
  })
546
- setup
547
517
  end
548
518
 
549
519
  class DirectoryCreateFlag < AbstractEnum
@@ -552,7 +522,6 @@ class DirectoryCreateFlag < AbstractEnum
552
522
  :none => 0,
553
523
  :parents => 1,
554
524
  })
555
- setup
556
525
  end
557
526
 
558
527
  class DirectoryRemoveRecFlag < AbstractEnum
@@ -562,7 +531,6 @@ class DirectoryRemoveRecFlag < AbstractEnum
562
531
  :content_and_dir => 1,
563
532
  :content_only => 2,
564
533
  })
565
- setup
566
534
  end
567
535
 
568
536
  class PathRenameFlag < AbstractEnum
@@ -573,7 +541,6 @@ class PathRenameFlag < AbstractEnum
573
541
  :replace => 2,
574
542
  :no_symlinks => 4,
575
543
  })
576
- setup
577
544
  end
578
545
 
579
546
  class ProcessCreateFlag < AbstractEnum
@@ -588,7 +555,6 @@ class ProcessCreateFlag < AbstractEnum
588
555
  :wait_for_std_err => 32,
589
556
  :expand_arguments => 64,
590
557
  })
591
- setup
592
558
  end
593
559
 
594
560
  class ProcessPriority < AbstractEnum
@@ -597,7 +563,6 @@ class ProcessPriority < AbstractEnum
597
563
  :invalid => 0,
598
564
  :default => 1,
599
565
  })
600
- setup
601
566
  end
602
567
 
603
568
  class SymlinkType < AbstractEnum
@@ -607,7 +572,6 @@ class SymlinkType < AbstractEnum
607
572
  :directory => 1,
608
573
  :file => 2,
609
574
  })
610
- setup
611
575
  end
612
576
 
613
577
  class SymlinkReadFlag < AbstractEnum
@@ -616,7 +580,6 @@ class SymlinkReadFlag < AbstractEnum
616
580
  :none => 0,
617
581
  :no_symlinks => 1,
618
582
  })
619
- setup
620
583
  end
621
584
 
622
585
  class ProcessStatus < AbstractEnum
@@ -635,7 +598,6 @@ class ProcessStatus < AbstractEnum
635
598
  :down => 600,
636
599
  :error => 800,
637
600
  })
638
- setup
639
601
  end
640
602
 
641
603
  class FsObjType < AbstractEnum
@@ -651,7 +613,6 @@ class FsObjType < AbstractEnum
651
613
  :socket => 200,
652
614
  :whiteout => 400,
653
615
  })
654
- setup
655
616
  end
656
617
 
657
618
  class DragAndDropAction < AbstractEnum
@@ -662,7 +623,6 @@ class DragAndDropAction < AbstractEnum
662
623
  :move => 2,
663
624
  :link => 3,
664
625
  })
665
- setup
666
626
  end
667
627
 
668
628
  class DirectoryOpenFlag < AbstractEnum
@@ -671,7 +631,6 @@ class DirectoryOpenFlag < AbstractEnum
671
631
  :none => 0,
672
632
  :no_symlinks => 1,
673
633
  })
674
- setup
675
634
  end
676
635
 
677
636
  class MediumState < AbstractEnum
@@ -685,7 +644,6 @@ class MediumState < AbstractEnum
685
644
  :creating => 5,
686
645
  :deleting => 6,
687
646
  })
688
- setup
689
647
  end
690
648
 
691
649
  class MediumType < AbstractEnum
@@ -698,7 +656,6 @@ class MediumType < AbstractEnum
698
656
  :readonly => 4,
699
657
  :multi_attach => 5,
700
658
  })
701
- setup
702
659
  end
703
660
 
704
661
  class MediumVariant < AbstractEnum
@@ -713,7 +670,6 @@ class MediumVariant < AbstractEnum
713
670
  :diff => 0x20000,
714
671
  :no_create_dir => 0x40000000,
715
672
  })
716
- setup
717
673
  end
718
674
 
719
675
  class DataType < AbstractEnum
@@ -723,7 +679,6 @@ class DataType < AbstractEnum
723
679
  :int8 => 1,
724
680
  :string => 2,
725
681
  })
726
- setup
727
682
  end
728
683
 
729
684
  class DataFlags < AbstractEnum
@@ -735,7 +690,6 @@ class DataFlags < AbstractEnum
735
690
  :array => 0x04,
736
691
  :flag_mask => 0x07,
737
692
  })
738
- setup
739
693
  end
740
694
 
741
695
  class MediumFormatCapabilities < AbstractEnum
@@ -753,7 +707,6 @@ class MediumFormatCapabilities < AbstractEnum
753
707
  :vfs => 0x200,
754
708
  :capability_mask => 0x3FF,
755
709
  })
756
- setup
757
710
  end
758
711
 
759
712
  class MouseButtonState < AbstractEnum
@@ -768,7 +721,6 @@ class MouseButtonState < AbstractEnum
768
721
  :x_button2 => 0x40,
769
722
  :mouse_state_mask => 0x7F,
770
723
  })
771
- setup
772
724
  end
773
725
 
774
726
  class FramebufferPixelFormat < AbstractEnum
@@ -777,7 +729,6 @@ class FramebufferPixelFormat < AbstractEnum
777
729
  :opaque => 0,
778
730
  :fourcc_rgb => 0x32424752,
779
731
  })
780
- setup
781
732
  end
782
733
 
783
734
  class NetworkAttachmentType < AbstractEnum
@@ -790,7 +741,6 @@ class NetworkAttachmentType < AbstractEnum
790
741
  :host_only => 4,
791
742
  :generic => 5,
792
743
  })
793
- setup
794
744
  end
795
745
 
796
746
  class NetworkAdapterType < AbstractEnum
@@ -804,7 +754,6 @@ class NetworkAdapterType < AbstractEnum
804
754
  :i82545em => 5,
805
755
  :virtio => 6,
806
756
  })
807
- setup
808
757
  end
809
758
 
810
759
  class NetworkAdapterPromiscModePolicy < AbstractEnum
@@ -814,7 +763,6 @@ class NetworkAdapterPromiscModePolicy < AbstractEnum
814
763
  :allow_network => 2,
815
764
  :allow_all => 3,
816
765
  })
817
- setup
818
766
  end
819
767
 
820
768
  class PortMode < AbstractEnum
@@ -825,7 +773,6 @@ class PortMode < AbstractEnum
825
773
  :host_device => 2,
826
774
  :raw_file => 3,
827
775
  })
828
- setup
829
776
  end
830
777
 
831
778
  class USBDeviceState < AbstractEnum
@@ -838,7 +785,6 @@ class USBDeviceState < AbstractEnum
838
785
  :held => 4,
839
786
  :captured => 5,
840
787
  })
841
- setup
842
788
  end
843
789
 
844
790
  class USBDeviceFilterAction < AbstractEnum
@@ -848,7 +794,6 @@ class USBDeviceFilterAction < AbstractEnum
848
794
  :ignore => 1,
849
795
  :hold => 2,
850
796
  })
851
- setup
852
797
  end
853
798
 
854
799
  class AudioDriverType < AbstractEnum
@@ -864,7 +809,6 @@ class AudioDriverType < AbstractEnum
864
809
  :pulse => 7,
865
810
  :sol_audio => 8,
866
811
  })
867
- setup
868
812
  end
869
813
 
870
814
  class AudioControllerType < AbstractEnum
@@ -874,7 +818,6 @@ class AudioControllerType < AbstractEnum
874
818
  :sb16 => 1,
875
819
  :hda => 2,
876
820
  })
877
- setup
878
821
  end
879
822
 
880
823
  class AuthType < AbstractEnum
@@ -884,7 +827,6 @@ class AuthType < AbstractEnum
884
827
  :external => 1,
885
828
  :guest => 2,
886
829
  })
887
- setup
888
830
  end
889
831
 
890
832
  class StorageBus < AbstractEnum
@@ -897,7 +839,6 @@ class StorageBus < AbstractEnum
897
839
  :floppy => 4,
898
840
  :sas => 5,
899
841
  })
900
- setup
901
842
  end
902
843
 
903
844
  class StorageControllerType < AbstractEnum
@@ -913,7 +854,6 @@ class StorageControllerType < AbstractEnum
913
854
  :i82078 => 7,
914
855
  :lsi_logic_sas => 8,
915
856
  })
916
- setup
917
857
  end
918
858
 
919
859
  class ChipsetType < AbstractEnum
@@ -923,7 +863,6 @@ class ChipsetType < AbstractEnum
923
863
  :piix3 => 1,
924
864
  :ich9 => 2,
925
865
  })
926
- setup
927
866
  end
928
867
 
929
868
  class NATAliasMode < AbstractEnum
@@ -933,7 +872,6 @@ class NATAliasMode < AbstractEnum
933
872
  :alias_proxy_only => 0x02,
934
873
  :alias_use_same_ports => 0x04,
935
874
  })
936
- setup
937
875
  end
938
876
 
939
877
  class NATProtocol < AbstractEnum
@@ -942,7 +880,6 @@ class NATProtocol < AbstractEnum
942
880
  :udp => 0,
943
881
  :tcp => 1,
944
882
  })
945
- setup
946
883
  end
947
884
 
948
885
  class BandwidthGroupType < AbstractEnum
@@ -952,7 +889,6 @@ class BandwidthGroupType < AbstractEnum
952
889
  :disk => 1,
953
890
  :network => 2,
954
891
  })
955
- setup
956
892
  end
957
893
 
958
894
  class VBoxEventType < AbstractEnum
@@ -1009,7 +945,6 @@ class VBoxEventType < AbstractEnum
1009
945
  :on_drag_and_drop_mode_changed => 73,
1010
946
  :last => 74,
1011
947
  })
1012
- setup
1013
948
  end
1014
949
 
1015
950
  class GuestMonitorChangedEventType < AbstractEnum
@@ -1019,22 +954,19 @@ class GuestMonitorChangedEventType < AbstractEnum
1019
954
  :disabled => 1,
1020
955
  :new_origin => 2,
1021
956
  })
1022
- setup
1023
957
  end
1024
958
 
1025
- class VirtualBoxErrorInfo < AbstractInterface
959
+ class VirtualBoxErrorInfo < NSIException
1026
960
  iid "f91e6e91-49e1-4fd2-b21e-269003350d06"
1027
961
  property :result_code, INT32, :readonly => true
1028
962
  property :interface_i_d, WSTRING, :readonly => true
1029
963
  property :component, WSTRING, :readonly => true
1030
964
  property :text, WSTRING, :readonly => true
1031
965
  property :next, :VirtualBoxErrorInfo, :readonly => true
1032
- setup
1033
966
  end
1034
967
 
1035
- class DHCPServer < AbstractInterface
968
+ class DHCPServer < NSISupports
1036
969
  iid "6cfe387c-74fb-4ca7-bff6-973bec8af7a3"
1037
- extends :NSISupports
1038
970
  property :enabled, BOOL
1039
971
  property :ip_address, WSTRING, :readonly => true
1040
972
  property :network_mask, WSTRING, :readonly => true
@@ -1044,12 +976,10 @@ class DHCPServer < AbstractInterface
1044
976
  function :set_configuration, nil, [WSTRING, WSTRING, WSTRING, WSTRING]
1045
977
  function :start, nil, [WSTRING, WSTRING, WSTRING]
1046
978
  function :stop, nil, []
1047
- setup
1048
979
  end
1049
980
 
1050
- class VirtualBox < AbstractInterface
981
+ class VirtualBox < NSISupports
1051
982
  iid "3b2f08eb-b810-4715-bee0-bb06b9880ad2"
1052
- extends :NSISupports
1053
983
  property :version, WSTRING, :readonly => true
1054
984
  property :version_normalized, WSTRING, :readonly => true
1055
985
  property :revision, UINT32, :readonly => true
@@ -1094,12 +1024,10 @@ class VirtualBox < AbstractInterface
1094
1024
  function :find_dhcp_server_by_network_name, :DHCPServer, [WSTRING]
1095
1025
  function :remove_dhcp_server, nil, [:DHCPServer]
1096
1026
  function :check_firmware_present, BOOL, [:FirmwareType, WSTRING, [:out, WSTRING], [:out, WSTRING]]
1097
- setup
1098
1027
  end
1099
1028
 
1100
- class VFSExplorer < AbstractInterface
1029
+ class VFSExplorer < NSISupports
1101
1030
  iid "003d7f92-d38e-487f-b790-8c5e8631cb2f"
1102
- extends :NSISupports
1103
1031
  property :path, WSTRING, :readonly => true
1104
1032
  property :type, :VFSType, :readonly => true
1105
1033
  function :update, :Progress, []
@@ -1108,40 +1036,34 @@ class VFSExplorer < AbstractInterface
1108
1036
  function :entry_list, nil, [[:out, [WSTRING]], [:out, [UINT32]], [:out, [UINT32]], [:out, [UINT32]]]
1109
1037
  function :exists, [WSTRING], [[WSTRING]]
1110
1038
  function :remove, :Progress, [[WSTRING]]
1111
- setup
1112
1039
  end
1113
1040
 
1114
- class Appliance < AbstractInterface
1041
+ class Appliance < NSISupports
1115
1042
  iid "3059cf9e-25c7-4f0b-9fa5-3c42e441670b"
1116
- extends :NSISupports
1117
1043
  property :path, WSTRING, :readonly => true
1118
1044
  property :disks, [WSTRING], :readonly => true
1119
1045
  property :virtual_system_descriptions, [:VirtualSystemDescription], :readonly => true
1120
1046
  property :machines, [WSTRING], :readonly => true
1121
1047
  function :read, :Progress, [WSTRING]
1122
1048
  function :interpret, nil, []
1123
- function :import_machines, :Progress, [[:mportOptions]]
1049
+ function :import_machines, :Progress, [[:ImportOptions]]
1124
1050
  function :create_vfs_explorer, :VFSExplorer, [WSTRING]
1125
1051
  function :write, :Progress, [WSTRING, BOOL, WSTRING]
1126
1052
  function :get_warnings, [WSTRING], []
1127
- setup
1128
1053
  end
1129
1054
 
1130
- class VirtualSystemDescription < AbstractInterface
1055
+ class VirtualSystemDescription < NSISupports
1131
1056
  iid "d7525e6c-531a-4c51-8e04-41235083a3d8"
1132
- extends :NSISupports
1133
1057
  property :count, UINT32, :readonly => true
1134
1058
  function :get_description, nil, [[:out, [:VirtualSystemDescriptionType]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]]]
1135
1059
  function :get_description_by_type, nil, [:VirtualSystemDescriptionType, [:out, [:VirtualSystemDescriptionType]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]], [:out, [WSTRING]]]
1136
1060
  function :get_values_by_type, [WSTRING], [:VirtualSystemDescriptionType, :VirtualSystemDescriptionValueType]
1137
1061
  function :set_final_values, nil, [[BOOL], [WSTRING], [WSTRING]]
1138
1062
  function :add_description, nil, [:VirtualSystemDescriptionType, WSTRING, WSTRING]
1139
- setup
1140
1063
  end
1141
1064
 
1142
- class InternalMachineControl < AbstractInterface
1065
+ class InternalMachineControl < NSISupports
1143
1066
  iid "dca36a92-703c-4649-98a4-f40c1ef0c336"
1144
- extends :NSISupports
1145
1067
  function :set_remove_saved_state_file, nil, [BOOL]
1146
1068
  function :update_state, nil, [:MachineState]
1147
1069
  function :get_ipcid, WSTRING, []
@@ -1169,12 +1091,10 @@ class InternalMachineControl < AbstractInterface
1169
1091
  function :unlock_media, nil, []
1170
1092
  function :eject_medium, :MediumAttachment, [:MediumAttachment]
1171
1093
  function :report_vm_statistics, nil, [UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32, UINT32]
1172
- setup
1173
1094
  end
1174
1095
 
1175
- class BIOSSettings < AbstractInterface
1096
+ class BIOSSettings < NSISupports
1176
1097
  iid "38b54279-dc35-4f5e-a431-835b867c6b5e"
1177
- extends :NSISupports
1178
1098
  property :logo_fade_in, BOOL
1179
1099
  property :logo_fade_out, BOOL
1180
1100
  property :logo_display_time, UINT32
@@ -1184,33 +1104,27 @@ class BIOSSettings < AbstractInterface
1184
1104
  property :io_apic_enabled, BOOL
1185
1105
  property :time_offset, INT64
1186
1106
  property :pxe_debug_enabled, BOOL
1187
- setup
1188
1107
  end
1189
1108
 
1190
- class PCIAddress < AbstractInterface
1109
+ class PCIAddress < NSISupports
1191
1110
  iid "D88B324F-DB19-4D3B-A1A9-BF5B127199A8"
1192
- extends :NSISupports
1193
1111
  property :bus, INT16
1194
1112
  property :device, INT16
1195
1113
  property :dev_function, INT16
1196
1114
  function :as_long, INT32, []
1197
1115
  function :from_long, nil, [INT32]
1198
- setup
1199
1116
  end
1200
1117
 
1201
- class PCIDeviceAttachment < AbstractInterface
1118
+ class PCIDeviceAttachment < NSISupports
1202
1119
  iid "91f33d6f-e621-4f70-a77e-15f0e3c714d5"
1203
- extends :NSISupports
1204
1120
  property :name, WSTRING, :readonly => true
1205
1121
  property :is_physical_device, BOOL, :readonly => true
1206
1122
  property :host_address, INT32, :readonly => true
1207
1123
  property :guest_address, INT32, :readonly => true
1208
- setup
1209
1124
  end
1210
1125
 
1211
- class Machine < AbstractInterface
1126
+ class Machine < NSISupports
1212
1127
  iid "22781af3-1c96-4126-9edf-67a020e0e858"
1213
- extends :NSISupports
1214
1128
  property :parent, :VirtualBox, :readonly => true
1215
1129
  property :accessible, BOOL, :readonly => true
1216
1130
  property :access_error, :VirtualBoxErrorInfo, :readonly => true
@@ -1353,12 +1267,10 @@ class Machine < AbstractInterface
1353
1267
  function :query_log_filename, WSTRING, [UINT32]
1354
1268
  function :read_log, [OCTET], [UINT32, INT64, INT64]
1355
1269
  function :clone_to, :Progress, [:Machine, :CloneMode, [:CloneOptions]]
1356
- setup
1357
1270
  end
1358
1271
 
1359
- class VRDEServerInfo < AbstractInterface
1272
+ class VRDEServerInfo < NSISupports
1360
1273
  iid "714434a1-58c3-4aab-9049-7652c5df113b"
1361
- extends :NSISupports
1362
1274
  property :active, BOOL, :readonly => true
1363
1275
  property :port, INT32, :readonly => true
1364
1276
  property :number_of_clients, UINT32, :readonly => true
@@ -1374,12 +1286,10 @@ class VRDEServerInfo < AbstractInterface
1374
1286
  property :client_ip, WSTRING, :readonly => true
1375
1287
  property :client_version, UINT32, :readonly => true
1376
1288
  property :encryption_style, UINT32, :readonly => true
1377
- setup
1378
1289
  end
1379
1290
 
1380
- class Console < AbstractInterface
1291
+ class Console < NSISupports
1381
1292
  iid "db7ab4ca-2a3f-4183-9243-c1208da92392"
1382
- extends :NSISupports
1383
1293
  property :machine, :Machine, :readonly => true
1384
1294
  property :state, :MachineState, :readonly => true
1385
1295
  property :guest, :Guest, :readonly => true
@@ -1420,12 +1330,10 @@ class Console < AbstractInterface
1420
1330
  function :delete_snapshot_range, :Progress, [WSTRING, WSTRING]
1421
1331
  function :restore_snapshot, :Progress, [:Snapshot]
1422
1332
  function :teleport, :Progress, [WSTRING, UINT32, WSTRING, UINT32]
1423
- setup
1424
1333
  end
1425
1334
 
1426
- class HostNetworkInterface < AbstractInterface
1335
+ class HostNetworkInterface < NSISupports
1427
1336
  iid "87a4153d-6889-4dd6-9654-2e9ff0ae8dec"
1428
- extends :NSISupports
1429
1337
  property :name, WSTRING, :readonly => true
1430
1338
  property :id, WSTRING, :readonly => true
1431
1339
  property :network_name, WSTRING, :readonly => true
@@ -1443,12 +1351,10 @@ class HostNetworkInterface < AbstractInterface
1443
1351
  function :enable_static_ip_config_v6, nil, [WSTRING, UINT32]
1444
1352
  function :enable_dynamic_ip_config, nil, []
1445
1353
  function :dhcp_rediscover, nil, []
1446
- setup
1447
1354
  end
1448
1355
 
1449
- class Host < AbstractInterface
1356
+ class Host < NSISupports
1450
1357
  iid "30678943-32df-4830-b413-931b25ac86a0"
1451
- extends :NSISupports
1452
1358
  property :dvd_drives, [:Medium], :readonly => true
1453
1359
  property :floppy_drives, [:Medium], :readonly => true
1454
1360
  property :usb_devices, [:HostUSBDevice], :readonly => true
@@ -1480,12 +1386,10 @@ class Host < AbstractInterface
1480
1386
  function :find_usb_device_by_id, :HostUSBDevice, [WSTRING]
1481
1387
  function :find_usb_device_by_address, :HostUSBDevice, [WSTRING]
1482
1388
  function :generate_mac_address, WSTRING, []
1483
- setup
1484
1389
  end
1485
1390
 
1486
- class SystemProperties < AbstractInterface
1391
+ class SystemProperties < NSISupports
1487
1392
  iid "1d7aca29-97f0-4287-9874-a60ec4f80ea6"
1488
- extends :NSISupports
1489
1393
  property :min_guest_ram, UINT32, :readonly => true
1490
1394
  property :max_guest_ram, UINT32, :readonly => true
1491
1395
  property :min_guest_vram, UINT32, :readonly => true
@@ -1519,12 +1423,10 @@ class SystemProperties < AbstractInterface
1519
1423
  function :get_max_instances_of_storage_bus, UINT32, [:ChipsetType, :StorageBus]
1520
1424
  function :get_device_types_for_storage_bus, [:DeviceType], [:StorageBus]
1521
1425
  function :get_default_io_cache_setting_for_storage_controller, BOOL, [:StorageControllerType]
1522
- setup
1523
1426
  end
1524
1427
 
1525
- class GuestOSType < AbstractInterface
1428
+ class GuestOSType < NSISupports
1526
1429
  iid "6d968f9a-858b-4c50-bf17-241f069e94c2"
1527
- extends :NSISupports
1528
1430
  property :family_id, WSTRING, :readonly => true
1529
1431
  property :family_description, WSTRING, :readonly => true
1530
1432
  property :id, WSTRING, :readonly => true
@@ -1552,23 +1454,19 @@ class GuestOSType < AbstractInterface
1552
1454
  property :recommended_audio_controller, :AudioControllerType, :readonly => true
1553
1455
  property :recommended_floppy, BOOL, :readonly => true
1554
1456
  property :recommended_usb, BOOL, :readonly => true
1555
- setup
1556
1457
  end
1557
1458
 
1558
- class AdditionsFacility < AbstractInterface
1459
+ class AdditionsFacility < NSISupports
1559
1460
  iid "54992946-6af1-4e49-98ec-58b558b7291e"
1560
- extends :NSISupports
1561
1461
  property :class_type, :AdditionsFacilityClass, :readonly => true
1562
1462
  property :last_updated, INT64, :readonly => true
1563
1463
  property :name, WSTRING, :readonly => true
1564
1464
  property :status, :AdditionsFacilityStatus, :readonly => true
1565
1465
  property :type, :AdditionsFacilityType, :readonly => true
1566
- setup
1567
1466
  end
1568
1467
 
1569
- class GuestSession < AbstractInterface
1468
+ class GuestSession < NSISupports
1570
1469
  iid "57eb82a8-822b-42c1-9d1c-5c54bc3d3250"
1571
- extends :NSISupports
1572
1470
  property :user, WSTRING, :readonly => true
1573
1471
  property :domain, WSTRING, :readonly => true
1574
1472
  property :name, WSTRING, :readonly => true
@@ -1610,12 +1508,10 @@ class GuestSession < AbstractInterface
1610
1508
  function :symlink_read, WSTRING, [WSTRING, [:SymlinkReadFlag]]
1611
1509
  function :symlink_remove_directory, nil, [WSTRING]
1612
1510
  function :symlink_remove_file, nil, [WSTRING]
1613
- setup
1614
1511
  end
1615
1512
 
1616
- class Process < AbstractInterface
1513
+ class Process < NSISupports
1617
1514
  iid "08864d56-96ab-418b-adbc-5a679532aeb0"
1618
- extends :NSISupports
1619
1515
  property :pid, UINT32, :readonly => true
1620
1516
  property :status, :ProcessStatus, :readonly => true
1621
1517
  property :exit_code, INT32, :readonly => true
@@ -1629,34 +1525,26 @@ class Process < AbstractInterface
1629
1525
  function :write, UINT32, [UINT32, UINT32, [OCTET], UINT32]
1630
1526
  function :write_array, UINT32, [UINT32, [:ProcessInputFlag], [OCTET], UINT32]
1631
1527
  function :terminate, nil, []
1632
- setup
1633
1528
  end
1634
1529
 
1635
- class GuestProcess < AbstractInterface
1530
+ class GuestProcess < Process
1636
1531
  iid "dfa39a36-5d43-4840-a025-67ea956b3111"
1637
- extends :Process
1638
- setup
1639
1532
  end
1640
1533
 
1641
- class Directory < AbstractInterface
1534
+ class Directory < NSISupports
1642
1535
  iid "1b70dd03-26d7-483a-8877-89bbb0f87b70"
1643
- extends :NSISupports
1644
1536
  property :directory_name, WSTRING, :readonly => true
1645
1537
  property :filter, WSTRING, :readonly => true
1646
1538
  function :close, nil, []
1647
1539
  function :read, :FsObjInfo, []
1648
- setup
1649
1540
  end
1650
1541
 
1651
- class GuestDirectory < AbstractInterface
1542
+ class GuestDirectory < Directory
1652
1543
  iid "af4a8ce0-0725-42b7-8826-46e3c7ba7357"
1653
- extends :Directory
1654
- setup
1655
1544
  end
1656
1545
 
1657
- class File < AbstractInterface
1546
+ class File < NSISupports
1658
1547
  iid "b702a560-6139-4a8e-a892-bbf14b97bf97"
1659
- extends :NSISupports
1660
1548
  property :creation_mode, UINT32, :readonly => true
1661
1549
  property :disposition, UINT32, :readonly => true
1662
1550
  property :file_name, WSTRING, :readonly => true
@@ -1671,18 +1559,14 @@ class File < AbstractInterface
1671
1559
  function :set_acl, nil, [WSTRING]
1672
1560
  function :write, UINT32, [[OCTET], UINT32]
1673
1561
  function :write_at, UINT32, [INT64, [OCTET], UINT32]
1674
- setup
1675
1562
  end
1676
1563
 
1677
- class GuestFile < AbstractInterface
1564
+ class GuestFile < File
1678
1565
  iid "60661aec-145f-4d11-b80e-8ea151598093"
1679
- extends :File
1680
- setup
1681
1566
  end
1682
1567
 
1683
- class FsObjInfo < AbstractInterface
1568
+ class FsObjInfo < NSISupports
1684
1569
  iid "4047ba30-7006-4966-ae86-94164e5e20eb"
1685
- extends :NSISupports
1686
1570
  property :access_time, INT64, :readonly => true
1687
1571
  property :allocated_size, INT64, :readonly => true
1688
1572
  property :birth_time, INT64, :readonly => true
@@ -1702,18 +1586,14 @@ class FsObjInfo < AbstractInterface
1702
1586
  property :uid, UINT32, :readonly => true
1703
1587
  property :user_flags, UINT32, :readonly => true
1704
1588
  property :user_name, WSTRING, :readonly => true
1705
- setup
1706
1589
  end
1707
1590
 
1708
- class GuestFsObjInfo < AbstractInterface
1591
+ class GuestFsObjInfo < FsObjInfo
1709
1592
  iid "d5cf678e-3484-4e4a-ac55-329e15462e18"
1710
- extends :FsObjInfo
1711
- setup
1712
1593
  end
1713
1594
 
1714
- class Guest < AbstractInterface
1595
+ class Guest < NSISupports
1715
1596
  iid "19c32350-0618-4ede-b0c3-2b4311bf0d9b"
1716
- extends :NSISupports
1717
1597
  property :os_type_id, WSTRING, :readonly => true
1718
1598
  property :additions_run_level, :AdditionsRunLevelType, :readonly => true
1719
1599
  property :additions_version, WSTRING, :readonly => true
@@ -1737,12 +1617,10 @@ class Guest < AbstractInterface
1737
1617
  function :create_session, :GuestSession, [WSTRING, WSTRING, WSTRING, WSTRING]
1738
1618
  function :find_session, [:GuestSession], [WSTRING]
1739
1619
  function :update_guest_additions, :Progress, [WSTRING, [:AdditionsUpdateFlag]]
1740
- setup
1741
1620
  end
1742
1621
 
1743
- class Progress < AbstractInterface
1622
+ class Progress < NSISupports
1744
1623
  iid "c20238e4-3221-4d3f-8891-81ce92d9f913"
1745
- extends :NSISupports
1746
1624
  property :id, WSTRING, :readonly => true
1747
1625
  property :description, WSTRING, :readonly => true
1748
1626
  property :initiator, :NSISupports, :readonly => true
@@ -1765,12 +1643,10 @@ class Progress < AbstractInterface
1765
1643
  function :wait_for_operation_completion, nil, [UINT32, INT32]
1766
1644
  function :wait_for_async_progress_completion, nil, [:Progress]
1767
1645
  function :cancel, nil, []
1768
- setup
1769
1646
  end
1770
1647
 
1771
- class Snapshot < AbstractInterface
1648
+ class Snapshot < NSISupports
1772
1649
  iid "0472823b-c6e7-472a-8e9f-d732e86b8463"
1773
- extends :NSISupports
1774
1650
  property :id, WSTRING, :readonly => true
1775
1651
  property :name, WSTRING
1776
1652
  property :description, WSTRING
@@ -1780,12 +1656,10 @@ class Snapshot < AbstractInterface
1780
1656
  property :parent, :Snapshot, :readonly => true
1781
1657
  property :children, [:Snapshot], :readonly => true
1782
1658
  function :get_children_count, UINT32, []
1783
- setup
1784
1659
  end
1785
1660
 
1786
- class MediumAttachment < AbstractInterface
1661
+ class MediumAttachment < NSISupports
1787
1662
  iid "5ee464d6-0613-4331-b154-7ce12170ef9f"
1788
- extends :NSISupports
1789
1663
  property :medium, :Medium, :readonly => true
1790
1664
  property :controller, WSTRING, :readonly => true
1791
1665
  property :port, INT32, :readonly => true
@@ -1797,12 +1671,10 @@ class MediumAttachment < AbstractInterface
1797
1671
  property :non_rotational, BOOL, :readonly => true
1798
1672
  property :discard, BOOL, :readonly => true
1799
1673
  property :bandwidth_group, :BandwidthGroup, :readonly => true
1800
- setup
1801
1674
  end
1802
1675
 
1803
- class Medium < AbstractInterface
1676
+ class Medium < NSISupports
1804
1677
  iid "29989373-b111-4654-8493-2e1176cba890"
1805
- extends :NSISupports
1806
1678
  property :id, WSTRING, :readonly => true
1807
1679
  property :description, WSTRING
1808
1680
  property :state, :MediumState, :readonly => true
@@ -1845,46 +1717,38 @@ class Medium < AbstractInterface
1845
1717
  function :compact, :Progress, []
1846
1718
  function :resize, :Progress, [INT64]
1847
1719
  function :reset, :Progress, []
1848
- setup
1849
1720
  end
1850
1721
 
1851
- class MediumFormat < AbstractInterface
1722
+ class MediumFormat < NSISupports
1852
1723
  iid "9bd5b655-ea47-4637-99f3-aad0948be35b"
1853
- extends :NSISupports
1854
1724
  property :id, WSTRING, :readonly => true
1855
1725
  property :name, WSTRING, :readonly => true
1856
1726
  property :capabilities, UINT32, :readonly => true
1857
1727
  function :describe_file_extensions, nil, [[:out, [WSTRING]], [:out, [:DeviceType]]]
1858
1728
  function :describe_properties, nil, [[:out, [WSTRING]], [:out, [WSTRING]], [:out, [:DataType]], [:out, [UINT32]], [:out, [WSTRING]]]
1859
- setup
1860
1729
  end
1861
1730
 
1862
- class Keyboard < AbstractInterface
1731
+ class Keyboard < NSISupports
1863
1732
  iid "f6916ec5-a881-4237-898f-7de58cf88672"
1864
- extends :NSISupports
1865
1733
  property :event_source, :EventSource, :readonly => true
1866
1734
  function :put_scancode, nil, [INT32]
1867
1735
  function :put_scancodes, UINT32, [[INT32]]
1868
1736
  function :put_cad, nil, []
1869
- setup
1870
1737
  end
1871
1738
 
1872
- class Mouse < AbstractInterface
1739
+ class Mouse < NSISupports
1873
1740
  iid "05044a52-7811-4f00-ae3a-0ab7ff707b10"
1874
- extends :NSISupports
1875
1741
  property :absolute_supported, BOOL, :readonly => true
1876
1742
  property :relative_supported, BOOL, :readonly => true
1877
1743
  property :needs_host_cursor, BOOL, :readonly => true
1878
1744
  property :event_source, :EventSource, :readonly => true
1879
1745
  function :put_mouse_event, nil, [INT32, INT32, INT32, INT32, INT32]
1880
1746
  function :put_mouse_event_absolute, nil, [INT32, INT32, INT32, INT32, INT32]
1881
- setup
1882
1747
  end
1883
1748
 
1884
- class Framebuffer < AbstractInterface
1749
+ class Framebuffer < NSISupports
1885
1750
  iid "b7ed347a-5765-40a0-ae1c-f543eb4ddeaf"
1886
- extends :NSISupports
1887
- property :address, OCTET, :readonly => true
1751
+ property :address, PTR, :readonly => true
1888
1752
  property :width, UINT32, :readonly => true
1889
1753
  property :height, UINT32, :readonly => true
1890
1754
  property :bits_per_pixel, UINT32, :readonly => true
@@ -1897,47 +1761,41 @@ class Framebuffer < AbstractInterface
1897
1761
  function :lock, nil, []
1898
1762
  function :unlock, nil, []
1899
1763
  function :notify_update, nil, [UINT32, UINT32, UINT32, UINT32]
1900
- function :request_resize, BOOL, [UINT32, UINT32, :pointer, UINT32, UINT32, UINT32, UINT32]
1764
+ function :request_resize, BOOL, [UINT32, UINT32, PTR, UINT32, UINT32, UINT32, UINT32]
1901
1765
  function :video_mode_supported, BOOL, [UINT32, UINT32, UINT32]
1902
- function :get_visible_region, UINT32, [:pointer, UINT32]
1903
- function :set_visible_region, nil, [:pointer, UINT32]
1904
- function :process_v_hw_a_command, nil, [:pointer]
1905
- setup
1766
+ function :get_visible_region, UINT32, [PTR, UINT32]
1767
+ function :set_visible_region, nil, [PTR, UINT32]
1768
+ function :process_vhwa_command, nil, [PTR]
1906
1769
  end
1907
1770
 
1908
- class FramebufferOverlay < AbstractInterface
1771
+ class FramebufferOverlay < Framebuffer
1909
1772
  iid "0bcc1c7e-e415-47d2-bfdb-e4c705fb0f47"
1910
- extends :Framebuffer
1911
1773
  property :x, UINT32, :readonly => true
1912
1774
  property :y, UINT32, :readonly => true
1913
1775
  property :visible, BOOL, :readonly => true
1914
1776
  property :alpha, UINT32, :readonly => true
1915
1777
  function :move, nil, [UINT32, UINT32]
1916
- setup
1917
1778
  end
1918
1779
 
1919
- class Display < AbstractInterface
1780
+ class Display < NSISupports
1920
1781
  iid "b83ee395-8679-40ca-8d60-1a0cbe724930"
1921
- extends :NSISupports
1922
1782
  function :get_screen_resolution, nil, [UINT32, [:out, UINT32], [:out, UINT32], [:out, UINT32]]
1923
1783
  function :set_framebuffer, nil, [UINT32, :Framebuffer]
1924
1784
  function :get_framebuffer, nil, [UINT32, [:out, :Framebuffer], [:out, INT32], [:out, INT32]]
1925
1785
  function :set_video_mode_hint, nil, [UINT32, BOOL, BOOL, INT32, INT32, UINT32, UINT32, UINT32]
1926
1786
  function :set_seamless_mode, nil, [BOOL]
1927
- function :take_screenshot, nil, [UINT32, :pointer, UINT32, UINT32]
1787
+ function :take_screenshot, nil, [UINT32, PTR, UINT32, UINT32]
1928
1788
  function :take_screenshot_to_array, [OCTET], [UINT32, UINT32, UINT32]
1929
1789
  function :take_screenshot_png_to_array, [OCTET], [UINT32, UINT32, UINT32]
1930
- function :draw_to_screen, nil, [UINT32, :pointer, UINT32, UINT32, UINT32, UINT32]
1790
+ function :draw_to_screen, nil, [UINT32, PTR, UINT32, UINT32, UINT32, UINT32]
1931
1791
  function :invalidate_and_update, nil, []
1932
1792
  function :resize_completed, nil, [UINT32]
1933
- function :complete_v_hw_a_command, nil, [:pointer]
1793
+ function :complete_vhwa_command, nil, [PTR]
1934
1794
  function :viewport_changed, nil, [UINT32, UINT32, UINT32, UINT32, UINT32]
1935
- setup
1936
1795
  end
1937
1796
 
1938
- class NetworkAdapter < AbstractInterface
1797
+ class NetworkAdapter < NSISupports
1939
1798
  iid "efa0f965-63c7-4c60-afdf-b1cc9943b9c0"
1940
- extends :NSISupports
1941
1799
  property :adapter_type, :NetworkAdapterType
1942
1800
  property :slot, UINT32, :readonly => true
1943
1801
  property :enabled, BOOL
@@ -1959,12 +1817,10 @@ class NetworkAdapter < AbstractInterface
1959
1817
  function :get_property, WSTRING, [WSTRING]
1960
1818
  function :set_property, nil, [WSTRING, WSTRING]
1961
1819
  function :get_properties, [WSTRING], [WSTRING, [:out, [WSTRING]]]
1962
- setup
1963
1820
  end
1964
1821
 
1965
- class SerialPort < AbstractInterface
1822
+ class SerialPort < NSISupports
1966
1823
  iid "937f6970-5103-4745-b78e-d28dcf1479a8"
1967
- extends :NSISupports
1968
1824
  property :slot, UINT32, :readonly => true
1969
1825
  property :enabled, BOOL
1970
1826
  property :io_base, UINT32
@@ -1972,23 +1828,19 @@ class SerialPort < AbstractInterface
1972
1828
  property :host_mode, :PortMode
1973
1829
  property :server, BOOL
1974
1830
  property :path, WSTRING
1975
- setup
1976
1831
  end
1977
1832
 
1978
- class ParallelPort < AbstractInterface
1833
+ class ParallelPort < NSISupports
1979
1834
  iid "0c925f06-dd10-4b77-8de8-294d738c3214"
1980
- extends :NSISupports
1981
1835
  property :slot, UINT32, :readonly => true
1982
1836
  property :enabled, BOOL
1983
1837
  property :io_base, UINT32
1984
1838
  property :irq, UINT32
1985
1839
  property :path, WSTRING
1986
- setup
1987
1840
  end
1988
1841
 
1989
- class MachineDebugger < AbstractInterface
1842
+ class MachineDebugger < NSISupports
1990
1843
  iid "a9abbb7c-d678-43b2-bed2-19ec0e32303d"
1991
- extends :NSISupports
1992
1844
  property :single_step, BOOL
1993
1845
  property :recompile_user, BOOL
1994
1846
  property :recompile_supervisor, BOOL
@@ -2029,26 +1881,22 @@ class MachineDebugger < AbstractInterface
2029
1881
  function :reset_stats, nil, [WSTRING]
2030
1882
  function :dump_stats, nil, [WSTRING]
2031
1883
  function :get_stats, nil, [WSTRING, BOOL, [:out, WSTRING]]
2032
- setup
2033
1884
  end
2034
1885
 
2035
- class USBController < AbstractInterface
1886
+ class USBController < NSISupports
2036
1887
  iid "01e6f13a-0580-452f-a40f-74e32a5e4921"
2037
- extends :NSISupports
2038
1888
  property :enabled, BOOL
2039
- property :enabled_e_h_c_i, BOOL
1889
+ property :enabled_ehci, BOOL
2040
1890
  property :proxy_available, BOOL, :readonly => true
2041
1891
  property :usb_standard, UINT16, :readonly => true
2042
1892
  property :device_filters, [:USBDeviceFilter], :readonly => true
2043
1893
  function :create_device_filter, :USBDeviceFilter, [WSTRING]
2044
1894
  function :insert_device_filter, nil, [UINT32, :USBDeviceFilter]
2045
1895
  function :remove_device_filter, :USBDeviceFilter, [UINT32]
2046
- setup
2047
1896
  end
2048
1897
 
2049
- class USBDevice < AbstractInterface
1898
+ class USBDevice < NSISupports
2050
1899
  iid "f8967b0b-4483-400f-92b5-8b675d98a85b"
2051
- extends :NSISupports
2052
1900
  property :id, WSTRING, :readonly => true
2053
1901
  property :vendor_id, UINT16, :readonly => true
2054
1902
  property :product_id, UINT16, :readonly => true
@@ -2061,12 +1909,10 @@ class USBDevice < AbstractInterface
2061
1909
  property :version, UINT16, :readonly => true
2062
1910
  property :port_version, UINT16, :readonly => true
2063
1911
  property :remote, BOOL, :readonly => true
2064
- setup
2065
1912
  end
2066
1913
 
2067
- class USBDeviceFilter < AbstractInterface
1914
+ class USBDeviceFilter < NSISupports
2068
1915
  iid "d6831fb4-1a94-4c2c-96ef-8d0d6192066d"
2069
- extends :NSISupports
2070
1916
  property :name, WSTRING
2071
1917
  property :active, BOOL
2072
1918
  property :vendor_id, WSTRING
@@ -2078,35 +1924,27 @@ class USBDeviceFilter < AbstractInterface
2078
1924
  property :port, WSTRING
2079
1925
  property :remote, WSTRING
2080
1926
  property :masked_interfaces, UINT32
2081
- setup
2082
1927
  end
2083
1928
 
2084
- class HostUSBDevice < AbstractInterface
1929
+ class HostUSBDevice < USBDevice
2085
1930
  iid "173b4b44-d268-4334-a00d-b6521c9a740a"
2086
- extends :USBDevice
2087
1931
  property :state, :USBDeviceState, :readonly => true
2088
- setup
2089
1932
  end
2090
1933
 
2091
- class HostUSBDeviceFilter < AbstractInterface
1934
+ class HostUSBDeviceFilter < USBDeviceFilter
2092
1935
  iid "4cc70246-d74a-400f-8222-3900489c0374"
2093
- extends :USBDeviceFilter
2094
1936
  property :action, :USBDeviceFilterAction
2095
- setup
2096
1937
  end
2097
1938
 
2098
- class AudioAdapter < AbstractInterface
1939
+ class AudioAdapter < NSISupports
2099
1940
  iid "921873db-5f3f-4b69-91f9-7be9e535a2cb"
2100
- extends :NSISupports
2101
1941
  property :enabled, BOOL
2102
1942
  property :audio_controller, :AudioControllerType
2103
1943
  property :audio_driver, :AudioDriverType
2104
- setup
2105
1944
  end
2106
1945
 
2107
- class VRDEServer < AbstractInterface
1946
+ class VRDEServer < NSISupports
2108
1947
  iid "d38de40a-c2c1-4e95-b5a4-167b05f5694c"
2109
- extends :NSISupports
2110
1948
  property :enabled, BOOL
2111
1949
  property :auth_type, :AuthType
2112
1950
  property :auth_timeout, UINT32
@@ -2117,24 +1955,20 @@ class VRDEServer < AbstractInterface
2117
1955
  property :vrde_properties, [WSTRING], :readonly => true
2118
1956
  function :set_vrde_property, nil, [WSTRING, WSTRING]
2119
1957
  function :get_vrde_property, WSTRING, [WSTRING]
2120
- setup
2121
1958
  end
2122
1959
 
2123
- class SharedFolder < AbstractInterface
1960
+ class SharedFolder < NSISupports
2124
1961
  iid "8388da11-b559-4574-a5b7-2bd7acd5cef8"
2125
- extends :NSISupports
2126
1962
  property :name, WSTRING, :readonly => true
2127
1963
  property :host_path, WSTRING, :readonly => true
2128
1964
  property :accessible, BOOL, :readonly => true
2129
1965
  property :writable, BOOL, :readonly => true
2130
1966
  property :auto_mount, BOOL, :readonly => true
2131
1967
  property :last_access_error, WSTRING, :readonly => true
2132
- setup
2133
1968
  end
2134
1969
 
2135
- class InternalSessionControl < AbstractInterface
1970
+ class InternalSessionControl < NSISupports
2136
1971
  iid "3e83963a-1c3b-400d-8c5f-f2d077b0a597"
2137
- extends :NSISupports
2138
1972
  function :get_pid, UINT32, []
2139
1973
  function :get_remote_console, :Console, []
2140
1974
  function :assign_machine, nil, [:Machine, :LockType]
@@ -2162,23 +1996,19 @@ class InternalSessionControl < AbstractInterface
2162
1996
  function :enumerate_guest_properties, nil, [WSTRING, [:out, [WSTRING]], [:out, [WSTRING]], [:out, [INT64]], [:out, [WSTRING]]]
2163
1997
  function :online_merge_medium, nil, [:MediumAttachment, UINT32, UINT32, :Medium, :Medium, BOOL, :Medium, [:Medium], :Progress]
2164
1998
  function :enable_vm_m_statistics, nil, [BOOL]
2165
- setup
2166
1999
  end
2167
2000
 
2168
- class Session < AbstractInterface
2001
+ class Session < NSISupports
2169
2002
  iid "12F4DCDB-12B2-4EC1-B7CD-DDD9F6C5BF4D"
2170
- extends :NSISupports
2171
2003
  property :state, :SessionState, :readonly => true
2172
2004
  property :type, :SessionType, :readonly => true
2173
2005
  property :machine, :Machine, :readonly => true
2174
2006
  property :console, :Console, :readonly => true
2175
2007
  function :unlock_machine, nil, []
2176
- setup
2177
2008
  end
2178
2009
 
2179
- class StorageController < AbstractInterface
2010
+ class StorageController < NSISupports
2180
2011
  iid "a1556333-09b6-46d9-bfb7-fc239b7fbe1e"
2181
- extends :NSISupports
2182
2012
  property :name, WSTRING, :readonly => true
2183
2013
  property :max_devices_per_port_count, UINT32, :readonly => true
2184
2014
  property :min_port_count, UINT32, :readonly => true
@@ -2189,12 +2019,10 @@ class StorageController < AbstractInterface
2189
2019
  property :controller_type, :StorageControllerType
2190
2020
  property :use_host_io_cache, BOOL
2191
2021
  property :bootable, BOOL, :readonly => true
2192
- setup
2193
2022
  end
2194
2023
 
2195
- class PerformanceMetric < AbstractInterface
2024
+ class PerformanceMetric < NSISupports
2196
2025
  iid "2a1a60ae-9345-4019-ad53-d34ba41cbfe9"
2197
- extends :NSISupports
2198
2026
  property :metric_name, WSTRING, :readonly => true
2199
2027
  property :object, :NSISupports, :readonly => true
2200
2028
  property :description, WSTRING, :readonly => true
@@ -2203,24 +2031,20 @@ class PerformanceMetric < AbstractInterface
2203
2031
  property :unit, WSTRING, :readonly => true
2204
2032
  property :minimum_value, INT32, :readonly => true
2205
2033
  property :maximum_value, INT32, :readonly => true
2206
- setup
2207
2034
  end
2208
2035
 
2209
- class PerformanceCollector < AbstractInterface
2036
+ class PerformanceCollector < NSISupports
2210
2037
  iid "e22e1acb-ac4a-43bb-a31c-17321659b0c6"
2211
- extends :NSISupports
2212
2038
  property :metric_names, [WSTRING], :readonly => true
2213
2039
  function :get_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports]]
2214
2040
  function :setup_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports], UINT32, UINT32]
2215
2041
  function :enable_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports]]
2216
2042
  function :disable_metrics, [:PerformanceMetric], [[WSTRING], [:NSISupports]]
2217
2043
  function :query_metrics_data, [INT32], [[WSTRING], [:NSISupports], [:out, [WSTRING]], [:out, [:NSISupports]], [:out, [WSTRING]], [:out, [UINT32]], [:out, [UINT32]], [:out, [UINT32]], [:out, [UINT32]]]
2218
- setup
2219
2044
  end
2220
2045
 
2221
- class NATEngine < AbstractInterface
2046
+ class NATEngine < NSISupports
2222
2047
  iid "26451b99-3b2d-4dcb-8e4b-d63654218175"
2223
- extends :NSISupports
2224
2048
  property :network, WSTRING
2225
2049
  property :host_ip, WSTRING
2226
2050
  property :tftp_prefix, WSTRING
@@ -2235,22 +2059,18 @@ class NATEngine < AbstractInterface
2235
2059
  function :get_network_settings, nil, [[:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32], [:out, UINT32]]
2236
2060
  function :add_redirect, nil, [WSTRING, :NATProtocol, WSTRING, UINT16, WSTRING, UINT16]
2237
2061
  function :remove_redirect, nil, [WSTRING]
2238
- setup
2239
2062
  end
2240
2063
 
2241
- class ExtPackPlugIn < AbstractInterface
2064
+ class ExtPackPlugIn < NSISupports
2242
2065
  iid "58000040-e718-4746-bbce-4b86d96da461"
2243
- extends :NSISupports
2244
2066
  property :name, WSTRING, :readonly => true
2245
2067
  property :description, WSTRING, :readonly => true
2246
2068
  property :frontend, WSTRING, :readonly => true
2247
2069
  property :module_path, WSTRING, :readonly => true
2248
- setup
2249
2070
  end
2250
2071
 
2251
- class ExtPackBase < AbstractInterface
2072
+ class ExtPackBase < NSISupports
2252
2073
  iid "f79b75d8-2890-4f34-ffff-ffffa144e82c"
2253
- extends :NSISupports
2254
2074
  property :name, WSTRING, :readonly => true
2255
2075
  property :description, WSTRING, :readonly => true
2256
2076
  property :version, WSTRING, :readonly => true
@@ -2263,27 +2083,21 @@ class ExtPackBase < AbstractInterface
2263
2083
  property :show_license, BOOL, :readonly => true
2264
2084
  property :license, WSTRING, :readonly => true
2265
2085
  function :query_license, WSTRING, [WSTRING, WSTRING, WSTRING]
2266
- setup
2267
2086
  end
2268
2087
 
2269
- class ExtPack < AbstractInterface
2088
+ class ExtPack < ExtPackBase
2270
2089
  iid "431685da-3618-4ebc-b038-833ba829b4b2"
2271
- extends :ExtPackBase
2272
2090
  function :query_object, :NSISupports, [WSTRING]
2273
- setup
2274
2091
  end
2275
2092
 
2276
- class ExtPackFile < AbstractInterface
2093
+ class ExtPackFile < ExtPackBase
2277
2094
  iid "b6b49f55-efcc-4f08-b486-56e8d8afb10b"
2278
- extends :ExtPackBase
2279
2095
  property :file_path, WSTRING, :readonly => true
2280
2096
  function :install, :Progress, [BOOL, WSTRING]
2281
- setup
2282
2097
  end
2283
2098
 
2284
- class ExtPackManager < AbstractInterface
2099
+ class ExtPackManager < NSISupports
2285
2100
  iid "3295e6ce-b051-47b2-9514-2c588bfe7554"
2286
- extends :NSISupports
2287
2101
  property :installed_ext_packs, [:ExtPack], :readonly => true
2288
2102
  function :find, :ExtPack, [WSTRING]
2289
2103
  function :open_ext_pack_file, :ExtPackFile, [WSTRING]
@@ -2291,42 +2105,34 @@ class ExtPackManager < AbstractInterface
2291
2105
  function :cleanup, nil, []
2292
2106
  function :query_all_plug_ins_for_frontend, [WSTRING], [WSTRING]
2293
2107
  function :is_ext_pack_usable, BOOL, [WSTRING]
2294
- setup
2295
2108
  end
2296
2109
 
2297
- class BandwidthGroup < AbstractInterface
2110
+ class BandwidthGroup < NSISupports
2298
2111
  iid "badea2d7-0261-4146-89f0-6a57cc34833d"
2299
- extends :NSISupports
2300
2112
  property :name, WSTRING, :readonly => true
2301
2113
  property :type, :BandwidthGroupType, :readonly => true
2302
2114
  property :reference, UINT32, :readonly => true
2303
2115
  property :max_bytes_per_sec, INT64
2304
- setup
2305
2116
  end
2306
2117
 
2307
- class BandwidthControl < AbstractInterface
2118
+ class BandwidthControl < NSISupports
2308
2119
  iid "e2eb3930-d2f4-4f87-be17-0707e30f019f"
2309
- extends :NSISupports
2310
2120
  property :num_groups, UINT32, :readonly => true
2311
2121
  function :create_bandwidth_group, nil, [WSTRING, :BandwidthGroupType, INT64]
2312
2122
  function :delete_bandwidth_group, nil, [WSTRING]
2313
2123
  function :get_bandwidth_group, :BandwidthGroup, [WSTRING]
2314
2124
  function :get_all_bandwidth_groups, [:BandwidthGroup], []
2315
- setup
2316
2125
  end
2317
2126
 
2318
- class VirtualBoxClient < AbstractInterface
2127
+ class VirtualBoxClient < NSISupports
2319
2128
  iid "5fe0bd48-1181-40d1-991f-3b02f269a823"
2320
- extends :NSISupports
2321
2129
  property :virtual_box, :VirtualBox, :readonly => true
2322
2130
  property :session, :Session, :readonly => true
2323
2131
  property :event_source, :EventSource, :readonly => true
2324
- setup
2325
2132
  end
2326
2133
 
2327
- class EventSource < AbstractInterface
2134
+ class EventSource < NSISupports
2328
2135
  iid "9b6e1aee-35f3-4f4d-b5bb-ed0ecefd8538"
2329
- extends :NSISupports
2330
2136
  function :create_listener, :EventListener, []
2331
2137
  function :create_aggregator, :EventSource, [[:EventSource]]
2332
2138
  function :register_listener, nil, [:EventListener, [:VBoxEventType], BOOL]
@@ -2334,116 +2140,86 @@ class EventSource < AbstractInterface
2334
2140
  function :fire_event, BOOL, [:Event, INT32]
2335
2141
  function :get_event, :Event, [:EventListener, INT32]
2336
2142
  function :event_processed, nil, [:EventListener, :Event]
2337
- setup
2338
2143
  end
2339
2144
 
2340
- class EventListener < AbstractInterface
2145
+ class EventListener < NSISupports
2341
2146
  iid "67099191-32e7-4f6c-85ee-422304c71b90"
2342
- extends :NSISupports
2343
2147
  function :handle_event, nil, [:Event]
2344
- setup
2345
2148
  end
2346
2149
 
2347
- class Event < AbstractInterface
2150
+ class Event < NSISupports
2348
2151
  iid "0ca2adba-8f30-401b-a8cd-fe31dbe839c0"
2349
- extends :NSISupports
2350
2152
  property :type, :VBoxEventType, :readonly => true
2351
2153
  property :source, :EventSource, :readonly => true
2352
2154
  property :waitable, BOOL, :readonly => true
2353
2155
  function :set_processed, nil, []
2354
2156
  function :wait_processed, BOOL, [INT32]
2355
- setup
2356
2157
  end
2357
2158
 
2358
- class ReusableEvent < AbstractInterface
2159
+ class ReusableEvent < Event
2359
2160
  iid "69bfb134-80f6-4266-8e20-16371f68fa25"
2360
- extends :Event
2361
2161
  property :generation, UINT32, :readonly => true
2362
2162
  function :reuse, nil, []
2363
- setup
2364
2163
  end
2365
2164
 
2366
- class MachineEvent < AbstractInterface
2165
+ class MachineEvent < Event
2367
2166
  iid "92ed7b1a-0d96-40ed-ae46-a564d484325e"
2368
- extends :Event
2369
2167
  property :machine_id, WSTRING, :readonly => true
2370
- setup
2371
2168
  end
2372
2169
 
2373
- class MachineStateChangedEvent < AbstractInterface
2170
+ class MachineStateChangedEvent < MachineEvent
2374
2171
  iid "5748F794-48DF-438D-85EB-98FFD70D18C9"
2375
- extends :MachineEvent
2376
2172
  property :state, :MachineState, :readonly => true
2377
- setup
2378
2173
  end
2379
2174
 
2380
- class MachineDataChangedEvent < AbstractInterface
2175
+ class MachineDataChangedEvent < MachineEvent
2381
2176
  iid "abe94809-2e88-4436-83d7-50f3e64d0503"
2382
- extends :MachineEvent
2383
2177
  property :temporary, BOOL, :readonly => true
2384
- setup
2385
2178
  end
2386
2179
 
2387
- class MediumRegisteredEvent < AbstractInterface
2180
+ class MediumRegisteredEvent < Event
2388
2181
  iid "53fac49a-b7f1-4a5a-a4ef-a11dd9c2a458"
2389
- extends :Event
2390
2182
  property :medium_id, WSTRING, :readonly => true
2391
2183
  property :medium_type, :DeviceType, :readonly => true
2392
2184
  property :registered, BOOL, :readonly => true
2393
- setup
2394
2185
  end
2395
2186
 
2396
- class MachineRegisteredEvent < AbstractInterface
2187
+ class MachineRegisteredEvent < MachineEvent
2397
2188
  iid "c354a762-3ff2-4f2e-8f09-07382ee25088"
2398
- extends :MachineEvent
2399
2189
  property :registered, BOOL, :readonly => true
2400
- setup
2401
2190
  end
2402
2191
 
2403
- class SessionStateChangedEvent < AbstractInterface
2192
+ class SessionStateChangedEvent < MachineEvent
2404
2193
  iid "714a3eef-799a-4489-86cd-fe8e45b2ff8e"
2405
- extends :MachineEvent
2406
2194
  property :state, :SessionState, :readonly => true
2407
- setup
2408
2195
  end
2409
2196
 
2410
- class GuestPropertyChangedEvent < AbstractInterface
2197
+ class GuestPropertyChangedEvent < MachineEvent
2411
2198
  iid "3f63597a-26f1-4edb-8dd2-6bddd0912368"
2412
- extends :MachineEvent
2413
2199
  property :name, WSTRING, :readonly => true
2414
2200
  property :value, WSTRING, :readonly => true
2415
2201
  property :flags, WSTRING, :readonly => true
2416
- setup
2417
2202
  end
2418
2203
 
2419
- class SnapshotEvent < AbstractInterface
2204
+ class SnapshotEvent < MachineEvent
2420
2205
  iid "21637b0e-34b8-42d3-acfb-7e96daf77c22"
2421
- extends :MachineEvent
2422
2206
  property :snapshot_id, WSTRING, :readonly => true
2423
- setup
2424
2207
  end
2425
2208
 
2426
- class SnapshotTakenEvent < AbstractInterface
2209
+ class SnapshotTakenEvent < SnapshotEvent
2427
2210
  iid "d27c0b3d-6038-422c-b45e-6d4a0503d9f1"
2428
- extends :SnapshotEvent
2429
- setup
2430
2211
  end
2431
2212
 
2432
- class SnapshotDeletedEvent < AbstractInterface
2213
+ class SnapshotDeletedEvent < SnapshotEvent
2433
2214
  iid "c48f3401-4a9e-43f4-b7a7-54bd285e22f4"
2434
- extends :SnapshotEvent
2435
- setup
2436
2215
  end
2437
2216
 
2438
- class SnapshotChangedEvent < AbstractInterface
2217
+ class SnapshotChangedEvent < SnapshotEvent
2439
2218
  iid "07541941-8079-447a-a33e-47a69c7980db"
2440
- extends :SnapshotEvent
2441
- setup
2442
2219
  end
2443
2220
 
2444
- class MousePointerShapeChangedEvent < AbstractInterface
2221
+ class MousePointerShapeChangedEvent < Event
2445
2222
  iid "a6dcf6e8-416b-4181-8c4a-45ec95177aef"
2446
- extends :Event
2447
2223
  property :visible, BOOL, :readonly => true
2448
2224
  property :alpha, BOOL, :readonly => true
2449
2225
  property :xhot, UINT32, :readonly => true
@@ -2451,216 +2227,160 @@ class MousePointerShapeChangedEvent < AbstractInterface
2451
2227
  property :width, UINT32, :readonly => true
2452
2228
  property :height, UINT32, :readonly => true
2453
2229
  property :shape, [OCTET], :readonly => true
2454
- setup
2455
2230
  end
2456
2231
 
2457
- class MouseCapabilityChangedEvent < AbstractInterface
2232
+ class MouseCapabilityChangedEvent < Event
2458
2233
  iid "d633ad48-820c-4207-b46c-6bd3596640d5"
2459
- extends :Event
2460
2234
  property :supports_absolute, BOOL, :readonly => true
2461
2235
  property :supports_relative, BOOL, :readonly => true
2462
2236
  property :needs_host_cursor, BOOL, :readonly => true
2463
- setup
2464
2237
  end
2465
2238
 
2466
- class KeyboardLedsChangedEvent < AbstractInterface
2239
+ class KeyboardLedsChangedEvent < Event
2467
2240
  iid "6DDEF35E-4737-457B-99FC-BC52C851A44F"
2468
- extends :Event
2469
2241
  property :num_lock, BOOL, :readonly => true
2470
2242
  property :caps_lock, BOOL, :readonly => true
2471
2243
  property :scroll_lock, BOOL, :readonly => true
2472
- setup
2473
2244
  end
2474
2245
 
2475
- class StateChangedEvent < AbstractInterface
2246
+ class StateChangedEvent < Event
2476
2247
  iid "4376693C-CF37-453B-9289-3B0F521CAF27"
2477
- extends :Event
2478
2248
  property :state, :MachineState, :readonly => true
2479
- setup
2480
2249
  end
2481
2250
 
2482
- class AdditionsStateChangedEvent < AbstractInterface
2251
+ class AdditionsStateChangedEvent < Event
2483
2252
  iid "D70F7915-DA7C-44C8-A7AC-9F173490446A"
2484
- extends :Event
2485
- setup
2486
2253
  end
2487
2254
 
2488
- class NetworkAdapterChangedEvent < AbstractInterface
2255
+ class NetworkAdapterChangedEvent < Event
2489
2256
  iid "08889892-1EC6-4883-801D-77F56CFD0103"
2490
- extends :Event
2491
2257
  property :network_adapter, :NetworkAdapter, :readonly => true
2492
- setup
2493
2258
  end
2494
2259
 
2495
- class SerialPortChangedEvent < AbstractInterface
2260
+ class SerialPortChangedEvent < Event
2496
2261
  iid "3BA329DC-659C-488B-835C-4ECA7AE71C6C"
2497
- extends :Event
2498
2262
  property :serial_port, :SerialPort, :readonly => true
2499
- setup
2500
2263
  end
2501
2264
 
2502
- class ParallelPortChangedEvent < AbstractInterface
2265
+ class ParallelPortChangedEvent < Event
2503
2266
  iid "813C99FC-9849-4F47-813E-24A75DC85615"
2504
- extends :Event
2505
2267
  property :parallel_port, :ParallelPort, :readonly => true
2506
- setup
2507
2268
  end
2508
2269
 
2509
- class StorageControllerChangedEvent < AbstractInterface
2270
+ class StorageControllerChangedEvent < Event
2510
2271
  iid "715212BF-DA59-426E-8230-3831FAA52C56"
2511
- extends :Event
2512
- setup
2513
2272
  end
2514
2273
 
2515
- class MediumChangedEvent < AbstractInterface
2274
+ class MediumChangedEvent < Event
2516
2275
  iid "0FE2DA40-5637-472A-9736-72019EABD7DE"
2517
- extends :Event
2518
2276
  property :medium_attachment, :MediumAttachment, :readonly => true
2519
- setup
2520
2277
  end
2521
2278
 
2522
- class ClipboardModeChangedEvent < AbstractInterface
2279
+ class ClipboardModeChangedEvent < Event
2523
2280
  iid "cac21692-7997-4595-a731-3a509db604e5"
2524
- extends :Event
2525
2281
  property :clipboard_mode, :ClipboardMode, :readonly => true
2526
- setup
2527
2282
  end
2528
2283
 
2529
- class DragAndDropModeChangedEvent < AbstractInterface
2284
+ class DragAndDropModeChangedEvent < Event
2530
2285
  iid "e90b8850-ac8e-4dff-8059-4100ae2c3c3d"
2531
- extends :Event
2532
2286
  property :drag_and_drop_mode, :DragAndDropMode, :readonly => true
2533
- setup
2534
2287
  end
2535
2288
 
2536
- class CPUChangedEvent < AbstractInterface
2289
+ class CPUChangedEvent < Event
2537
2290
  iid "4da2dec7-71b2-4817-9a64-4ed12c17388e"
2538
- extends :Event
2539
2291
  property :cpu, UINT32, :readonly => true
2540
2292
  property :add, BOOL, :readonly => true
2541
- setup
2542
2293
  end
2543
2294
 
2544
- class CPUExecutionCapChangedEvent < AbstractInterface
2295
+ class CPUExecutionCapChangedEvent < Event
2545
2296
  iid "dfa7e4f5-b4a4-44ce-85a8-127ac5eb59dc"
2546
- extends :Event
2547
2297
  property :execution_cap, UINT32, :readonly => true
2548
- setup
2549
2298
  end
2550
2299
 
2551
- class GuestKeyboardEvent < AbstractInterface
2300
+ class GuestKeyboardEvent < Event
2552
2301
  iid "88394258-7006-40d4-b339-472ee3801844"
2553
- extends :Event
2554
2302
  property :scancodes, [INT32], :readonly => true
2555
- setup
2556
2303
  end
2557
2304
 
2558
- class GuestMouseEvent < AbstractInterface
2305
+ class GuestMouseEvent < ReusableEvent
2559
2306
  iid "1f85d35c-c524-40ff-8e98-307000df0992"
2560
- extends :ReusableEvent
2561
2307
  property :absolute, BOOL, :readonly => true
2562
2308
  property :x, INT32, :readonly => true
2563
2309
  property :y, INT32, :readonly => true
2564
2310
  property :z, INT32, :readonly => true
2565
2311
  property :w, INT32, :readonly => true
2566
2312
  property :buttons, INT32, :readonly => true
2567
- setup
2568
2313
  end
2569
2314
 
2570
- class VRDEServerChangedEvent < AbstractInterface
2315
+ class VRDEServerChangedEvent < Event
2571
2316
  iid "a06fd66a-3188-4c8c-8756-1395e8cb691c"
2572
- extends :Event
2573
- setup
2574
2317
  end
2575
2318
 
2576
- class VRDEServerInfoChangedEvent < AbstractInterface
2319
+ class VRDEServerInfoChangedEvent < Event
2577
2320
  iid "dd6a1080-e1b7-4339-a549-f0878115596e"
2578
- extends :Event
2579
- setup
2580
2321
  end
2581
2322
 
2582
- class USBControllerChangedEvent < AbstractInterface
2323
+ class USBControllerChangedEvent < Event
2583
2324
  iid "93BADC0C-61D9-4940-A084-E6BB29AF3D83"
2584
- extends :Event
2585
- setup
2586
2325
  end
2587
2326
 
2588
- class USBDeviceStateChangedEvent < AbstractInterface
2327
+ class USBDeviceStateChangedEvent < Event
2589
2328
  iid "806da61b-6679-422a-b629-51b06b0c6d93"
2590
- extends :Event
2591
2329
  property :device, :USBDevice, :readonly => true
2592
2330
  property :attached, BOOL, :readonly => true
2593
2331
  property :error, :VirtualBoxErrorInfo, :readonly => true
2594
- setup
2595
2332
  end
2596
2333
 
2597
- class SharedFolderChangedEvent < AbstractInterface
2334
+ class SharedFolderChangedEvent < Event
2598
2335
  iid "B66349B5-3534-4239-B2DE-8E1535D94C0B"
2599
- extends :Event
2600
2336
  property :scope, :Scope, :readonly => true
2601
- setup
2602
2337
  end
2603
2338
 
2604
- class RuntimeErrorEvent < AbstractInterface
2339
+ class RuntimeErrorEvent < Event
2605
2340
  iid "883DD18B-0721-4CDE-867C-1A82ABAF914C"
2606
- extends :Event
2607
2341
  property :fatal, BOOL, :readonly => true
2608
2342
  property :id, WSTRING, :readonly => true
2609
2343
  property :message, WSTRING, :readonly => true
2610
- setup
2611
2344
  end
2612
2345
 
2613
- class EventSourceChangedEvent < AbstractInterface
2346
+ class EventSourceChangedEvent < Event
2614
2347
  iid "e7932cb8-f6d4-4ab6-9cbf-558eb8959a6a"
2615
- extends :Event
2616
2348
  property :listener, :EventListener, :readonly => true
2617
2349
  property :add, BOOL, :readonly => true
2618
- setup
2619
2350
  end
2620
2351
 
2621
- class ExtraDataChangedEvent < AbstractInterface
2352
+ class ExtraDataChangedEvent < Event
2622
2353
  iid "024F00CE-6E0B-492A-A8D0-968472A94DC7"
2623
- extends :Event
2624
2354
  property :machine_id, WSTRING, :readonly => true
2625
2355
  property :key, WSTRING, :readonly => true
2626
2356
  property :value, WSTRING, :readonly => true
2627
- setup
2628
2357
  end
2629
2358
 
2630
- class VetoEvent < AbstractInterface
2359
+ class VetoEvent < Event
2631
2360
  iid "9a1a4130-69fe-472f-ac10-c6fa25d75007"
2632
- extends :Event
2633
2361
  function :add_veto, nil, [WSTRING]
2634
2362
  function :is_vetoed, BOOL, []
2635
2363
  function :get_vetos, [WSTRING], []
2636
- setup
2637
2364
  end
2638
2365
 
2639
- class ExtraDataCanChangeEvent < AbstractInterface
2366
+ class ExtraDataCanChangeEvent < VetoEvent
2640
2367
  iid "245d88bd-800a-40f8-87a6-170d02249a55"
2641
- extends :VetoEvent
2642
2368
  property :machine_id, WSTRING, :readonly => true
2643
2369
  property :key, WSTRING, :readonly => true
2644
2370
  property :value, WSTRING, :readonly => true
2645
- setup
2646
2371
  end
2647
2372
 
2648
- class CanShowWindowEvent < AbstractInterface
2373
+ class CanShowWindowEvent < VetoEvent
2649
2374
  iid "adf292b0-92c9-4a77-9d35-e058b39fe0b9"
2650
- extends :VetoEvent
2651
- setup
2652
2375
  end
2653
2376
 
2654
- class ShowWindowEvent < AbstractInterface
2377
+ class ShowWindowEvent < Event
2655
2378
  iid "B0A0904D-2F05-4D28-855F-488F96BAD2B2"
2656
- extends :Event
2657
2379
  property :win_id, INT64
2658
- setup
2659
2380
  end
2660
2381
 
2661
- class NATRedirectEvent < AbstractInterface
2382
+ class NATRedirectEvent < MachineEvent
2662
2383
  iid "24eef068-c380-4510-bc7c-19314a7352f1"
2663
- extends :MachineEvent
2664
2384
  property :slot, UINT32, :readonly => true
2665
2385
  property :remove, BOOL, :readonly => true
2666
2386
  property :name, WSTRING, :readonly => true
@@ -2669,51 +2389,40 @@ class NATRedirectEvent < AbstractInterface
2669
2389
  property :host_port, INT32, :readonly => true
2670
2390
  property :guest_ip, WSTRING, :readonly => true
2671
2391
  property :guest_port, INT32, :readonly => true
2672
- setup
2673
2392
  end
2674
2393
 
2675
- class HostPCIDevicePlugEvent < AbstractInterface
2394
+ class HostPCIDevicePlugEvent < MachineEvent
2676
2395
  iid "a0bad6df-d612-47d3-89d4-db3992533948"
2677
- extends :MachineEvent
2678
2396
  property :plugged, BOOL, :readonly => true
2679
2397
  property :success, BOOL, :readonly => true
2680
2398
  property :attachment, :PCIDeviceAttachment, :readonly => true
2681
2399
  property :message, WSTRING, :readonly => true
2682
- setup
2683
2400
  end
2684
2401
 
2685
- class VBoxSVCAvailabilityChangedEvent < AbstractInterface
2402
+ class VBoxSVCAvailabilityChangedEvent < Event
2686
2403
  iid "97c78fcd-d4fc-485f-8613-5af88bfcfcdc"
2687
- extends :Event
2688
2404
  property :available, BOOL, :readonly => true
2689
- setup
2690
2405
  end
2691
2406
 
2692
- class BandwidthGroupChangedEvent < AbstractInterface
2407
+ class BandwidthGroupChangedEvent < Event
2693
2408
  iid "334df94a-7556-4cbc-8c04-043096b02d82"
2694
- extends :Event
2695
2409
  property :bandwidth_group, :BandwidthGroup, :readonly => true
2696
- setup
2697
2410
  end
2698
2411
 
2699
- class GuestMonitorChangedEvent < AbstractInterface
2412
+ class GuestMonitorChangedEvent < Event
2700
2413
  iid "0f7b8a22-c71f-4a36-8e5f-a77d01d76090"
2701
- extends :Event
2702
2414
  property :change_type, :GuestMonitorChangedEventType, :readonly => true
2703
2415
  property :screen_id, UINT32, :readonly => true
2704
2416
  property :origin_x, UINT32, :readonly => true
2705
2417
  property :origin_y, UINT32, :readonly => true
2706
2418
  property :width, UINT32, :readonly => true
2707
2419
  property :height, UINT32, :readonly => true
2708
- setup
2709
2420
  end
2710
2421
 
2711
- class StorageDeviceChangedEvent < AbstractInterface
2422
+ class StorageDeviceChangedEvent < Event
2712
2423
  iid "8a5c2dce-e341-49d4-afce-c95979f7d70c"
2713
- extends :Event
2714
2424
  property :storage_device, :MediumAttachment, :readonly => true
2715
2425
  property :removed, BOOL, :readonly => true
2716
- setup
2717
2426
  end
2718
2427
 
2719
2428
  end