virtualbox-com 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/simple.rb +10 -1
- data/ext/virtualbox-com/4.1/generated.inc +229 -229
- data/ext/virtualbox-com/4.1/vbox.c +81 -3
- data/ext/virtualbox-com/4.2/generated.inc +248 -248
- data/ext/virtualbox-com/4.2/vbox.c +81 -3
- data/ext/virtualbox-com/vbox.c +81 -3
- data/lib/virtualbox/com/model/4.1-generated.rb +31 -31
- data/lib/virtualbox/com/model/4.2-generated.rb +30 -30
- data/lib/virtualbox/com/version.rb +1 -1
- data/scripts/sig.rb +27 -10
- data/scripts/to_c.rb +14 -13
- data/scripts/xidl-conv.rb +1 -1
- metadata +4 -4
@@ -50,6 +50,7 @@ static VALUE oMin_s16 = Qundef;
|
|
50
50
|
static VALUE oMin_s32 = Qundef;
|
51
51
|
static VALUE oMin_s64 = Qundef;
|
52
52
|
static VALUE oExceptionMap = Qundef;
|
53
|
+
static VALUE oUUIDparser = Qnil;
|
53
54
|
|
54
55
|
static VALUE sYes = Qundef;
|
55
56
|
static VALUE sNo = Qundef;
|
@@ -78,6 +79,7 @@ static ID _symbol;
|
|
78
79
|
static ID _value;
|
79
80
|
static ID _const_get;
|
80
81
|
static ID _new;
|
82
|
+
static ID _call;
|
81
83
|
|
82
84
|
static rb_encoding * _UTF8;
|
83
85
|
|
@@ -105,12 +107,40 @@ static void ns_check(uint32_t rcode) {
|
|
105
107
|
}
|
106
108
|
}
|
107
109
|
|
110
|
+
|
111
|
+
static VALUE with_uuid_parser(VALUE self, VALUE val) {
|
112
|
+
if (!NIL_P(val) &&
|
113
|
+
rb_obj_is_instance_of(val, rb_cProc) != Qtrue)
|
114
|
+
rb_raise(rb_eArgError, "nil, proc, or lambda expected");
|
115
|
+
return oUUIDparser = val;
|
116
|
+
}
|
117
|
+
|
118
|
+
static VALUE uuid_parser_calling(VALUE arg) {
|
119
|
+
return rb_funcall(oUUIDparser, _call, 1, arg);
|
120
|
+
}
|
121
|
+
|
122
|
+
static VALUE to_uuid(VALUE val) {
|
123
|
+
int state = 0;
|
124
|
+
|
125
|
+
StringValue(val);
|
126
|
+
if (oUUIDparser != Qnil && oUUIDparser != Qundef) {
|
127
|
+
val = rb_protect(uuid_parser_calling, val, &state);
|
128
|
+
if (state) {
|
129
|
+
rb_warn("Returning nil for uuid and discarding exception raised during uuid parsing to avoid memory leak. Fix the parser so that no exception is raised.");
|
130
|
+
}
|
131
|
+
}
|
132
|
+
return val;
|
133
|
+
}
|
134
|
+
|
108
135
|
/* Forward definition */
|
109
136
|
static void nsISupports_free(struct obj *ptr);
|
110
137
|
|
111
138
|
|
112
139
|
|
113
140
|
|
141
|
+
|
142
|
+
|
143
|
+
|
114
144
|
/*======================================================================*
|
115
145
|
* Internal classes
|
116
146
|
* They are an intermediate to
|
@@ -118,10 +148,11 @@ static void nsISupports_free(struct obj *ptr);
|
|
118
148
|
* - perform garbage collection
|
119
149
|
*======================================================================*/
|
120
150
|
|
151
|
+
|
121
152
|
/* Class: IID
|
122
153
|
*/
|
123
154
|
#define IID_STR_MAX 36 /* 8+1+4+1+4+1+4+1+12 */
|
124
|
-
static VALUE
|
155
|
+
static VALUE iid_new(iid_t *iid) {
|
125
156
|
iid_t *a_iid = ALLOC(iid_t);
|
126
157
|
*a_iid = *iid;
|
127
158
|
return Data_Wrap_Struct(cIID, 0, free, a_iid);
|
@@ -136,11 +167,16 @@ static VALUE iid__to_s(VALUE self) {
|
|
136
167
|
iid->m3[4], iid->m3[5], iid->m3[6], iid->m3[7]);
|
137
168
|
return rb_str_new(str, IID_STR_MAX);
|
138
169
|
}
|
170
|
+
static void iid__to_raw(VALUE self) {
|
171
|
+
iid_t *iid = DATA_PTR(self);
|
172
|
+
return rb_str_new((char *)iid, sizeof(iid_t));
|
173
|
+
}
|
139
174
|
static void iid_init(VALUE under) {
|
140
175
|
cIID = rb_define_class_under(under, "IID", rb_cObject);
|
141
176
|
no_instantiation(cIID);
|
142
|
-
rb_define_method(cIID, "to_s",
|
143
|
-
rb_define_method(cIID, "to_str", iid__to_s,
|
177
|
+
rb_define_method(cIID, "to_s", iid__to_s, 0);
|
178
|
+
rb_define_method(cIID, "to_str", iid__to_s, 0);
|
179
|
+
rb_define_method(cIID, "to_raw", iid__to_raw, 0);
|
144
180
|
}
|
145
181
|
|
146
182
|
|
@@ -334,6 +370,10 @@ static inline VALUE prepare_wstring(VALUE val) {
|
|
334
370
|
return wstring__new(cWString, val);
|
335
371
|
}
|
336
372
|
|
373
|
+
static inline VALUE prepare_uuid(val) {
|
374
|
+
return wstring__new(cWString, val);
|
375
|
+
}
|
376
|
+
|
337
377
|
static VALUE prepare_enum(VALUE val, VALUE klass) {
|
338
378
|
switch(rb_type(val)) {
|
339
379
|
case T_FIXNUM:
|
@@ -531,6 +571,25 @@ static VALUE prepare_array_wstring(VALUE ary) {
|
|
531
571
|
return res;
|
532
572
|
}
|
533
573
|
|
574
|
+
static VALUE prepare_array_uuid(VALUE ary) {
|
575
|
+
VALUE res = Qundef;
|
576
|
+
wstring_t *data = NULL;
|
577
|
+
long len, i;
|
578
|
+
|
579
|
+
ary = rb_ary_dup(ensure_array(ary));
|
580
|
+
len = RARRAY_LEN(ary);
|
581
|
+
data = ALLOC_N(wstring_t, len);
|
582
|
+
res = carray_new(len, data, ary);
|
583
|
+
|
584
|
+
for (i = 0 ; i < len ; i++) {
|
585
|
+
VALUE val = prepare_uuid(rb_ary_entry(ary, i));
|
586
|
+
rb_ary_store(ary, i, val);
|
587
|
+
data[i] = (wstring_t)DATA_PTR(val);
|
588
|
+
}
|
589
|
+
OBJ_FREEZE(ary);
|
590
|
+
return res;
|
591
|
+
}
|
592
|
+
|
534
593
|
static VALUE prepare_array_enum(VALUE ary, VALUE klass) {
|
535
594
|
VALUE res = Qundef;
|
536
595
|
uint32_t *data = NULL;
|
@@ -587,9 +646,11 @@ static VALUE prepare_array_interface(VALUE ary, VALUE klass) {
|
|
587
646
|
#define extract_bool(val, data) *(data) = (val) == Qtrue ? ~0 : 0
|
588
647
|
#define extract_ptr(val, data) *(data) = NUM2PTR(val)
|
589
648
|
#define extract_wstring(val, data) *(data) = DATA_PTR(val)
|
649
|
+
#define extract_uuid(val, data) *(data) = DATA_PTR(val)
|
590
650
|
#define extract_enum(val, data, klass) *(data) = NUM2UINT32(val)
|
591
651
|
#define extract_interface(val, data, klass) *(data) = DATA_PTR(val)
|
592
652
|
|
653
|
+
|
593
654
|
static inline void extract_blob(VALUE val, uint32_t *size, void **data) {
|
594
655
|
struct blob_info * bi = ((struct blob_info *)DATA_PTR(val));
|
595
656
|
*size = bi->size;
|
@@ -621,6 +682,7 @@ static inline void extract_carray(VALUE val, uint32_t *size, void **data) {
|
|
621
682
|
#define convert_bool(v) ((v) ? Qtrue : Qfalse)
|
622
683
|
#define convert_blob(s,d) ((d) ? rb_str_to_str(blob_new(s,d)) : Qnil)
|
623
684
|
#define convert_wstring(v) ((v) ? rb_str_to_str(wstring_new(v)) : Qnil)
|
685
|
+
#define convert_uuid(v) ((v) ? to_uuid(wstring_new(v)) : Qnil)
|
624
686
|
|
625
687
|
static inline VALUE convert_enum(uint32_t v, VALUE klass) {
|
626
688
|
VALUE val = ULL2NUM(v);
|
@@ -712,6 +774,19 @@ static inline VALUE convert_array_wstring(uint32_t size, void **array) {
|
|
712
774
|
}
|
713
775
|
}
|
714
776
|
|
777
|
+
static inline VALUE convert_array_uuid(uint32_t size, void **array) {
|
778
|
+
if (array) {
|
779
|
+
VALUE res = rb_ary_new2(size);
|
780
|
+
uint32_t i;
|
781
|
+
for (i = 0 ; i < size ; i++)
|
782
|
+
rb_ary_push(res, convert_uuid(array[i]));
|
783
|
+
xpcom->unalloc_mem(array);
|
784
|
+
return res;
|
785
|
+
} else {
|
786
|
+
return Qnil;
|
787
|
+
}
|
788
|
+
}
|
789
|
+
|
715
790
|
|
716
791
|
|
717
792
|
/*======================================================================*
|
@@ -792,6 +867,7 @@ void RUBY_VBOX_INIT(void) {
|
|
792
867
|
_value = rb_intern("value");
|
793
868
|
_const_get = rb_intern("const_get");
|
794
869
|
_new = rb_intern("new");
|
870
|
+
_call = rb_intern("call");
|
795
871
|
|
796
872
|
p15 = rb_funcall(oTwo, _pow, 1, INT2FIX(15));
|
797
873
|
p16 = rb_funcall(oTwo, _pow, 1, INT2FIX(16));
|
@@ -830,6 +906,8 @@ void RUBY_VBOX_INIT(void) {
|
|
830
906
|
mVirtualBox = rb_define_module("VirtualBox");
|
831
907
|
mCOM = rb_define_module_under(mVirtualBox, "COM");
|
832
908
|
mModel = rb_define_module_under(mCOM, "Model");
|
909
|
+
rb_define_module_function(mCOM, "with_uuid_parser", with_uuid_parser, 1);
|
910
|
+
|
833
911
|
|
834
912
|
/* Define abstract enumerations / interfaces */
|
835
913
|
cAbstractModel
|
@@ -1880,7 +1880,7 @@ static VALUE VirtualBoxErrorInfo__get_interface_i_d(VALUE self) {
|
|
1880
1880
|
wstring_t v1;
|
1881
1881
|
NS_CHECK(vtbl->get_interface_i_d(obj, &v1));
|
1882
1882
|
res = rb_ary_new();
|
1883
|
-
rb_ary_push(res,
|
1883
|
+
rb_ary_push(res, convert_uuid(v1));
|
1884
1884
|
res = rb_ary_entry(res, 0);
|
1885
1885
|
return res;
|
1886
1886
|
}
|
@@ -2217,8 +2217,8 @@ static VALUE VirtualBox__get_guest_os_type(VALUE self, VALUE i0) {
|
|
2217
2217
|
struct VirtualBox *vtbl = obj->vtbl;
|
2218
2218
|
wstring_t v1;
|
2219
2219
|
void * v2;
|
2220
|
-
i0 =
|
2221
|
-
|
2220
|
+
i0 = prepare_uuid(i0);
|
2221
|
+
extract_uuid(i0, &v1);
|
2222
2222
|
NS_CHECK(vtbl->get_guest_os_type(obj, v1, &v2));
|
2223
2223
|
res = rb_ary_new();
|
2224
2224
|
rb_ary_push(res, convert_interface(v2, cGuestOSType));
|
@@ -3084,8 +3084,8 @@ static VALUE InternalMachineControl__capture_usb_device(VALUE self, VALUE i0) {
|
|
3084
3084
|
struct obj *obj = DATA_PTR(self);
|
3085
3085
|
struct InternalMachineControl *vtbl = obj->vtbl;
|
3086
3086
|
wstring_t v1;
|
3087
|
-
i0 =
|
3088
|
-
|
3087
|
+
i0 = prepare_uuid(i0);
|
3088
|
+
extract_uuid(i0, &v1);
|
3089
3089
|
NS_CHECK(vtbl->capture_usb_device(obj, v1));
|
3090
3090
|
res = rb_ary_new();
|
3091
3091
|
return res;
|
@@ -3096,9 +3096,9 @@ static VALUE InternalMachineControl__detach_usb_device(VALUE self, VALUE i0, VAL
|
|
3096
3096
|
struct InternalMachineControl *vtbl = obj->vtbl;
|
3097
3097
|
wstring_t v1;
|
3098
3098
|
bool_t v2;
|
3099
|
-
i0 =
|
3099
|
+
i0 = prepare_uuid(i0);
|
3100
3100
|
i1 = prepare_bool(i1);
|
3101
|
-
|
3101
|
+
extract_uuid(i0, &v1);
|
3102
3102
|
extract_bool(i1, &v2);
|
3103
3103
|
NS_CHECK(vtbl->detach_usb_device(obj, v1, v2));
|
3104
3104
|
res = rb_ary_new();
|
@@ -3222,12 +3222,12 @@ static VALUE InternalMachineControl__delete_snapshot(VALUE self, VALUE i0, VALUE
|
|
3222
3222
|
uint32_t v5;
|
3223
3223
|
void * v6;
|
3224
3224
|
i0 = prepare_interface(i0, cConsole);
|
3225
|
-
i1 =
|
3226
|
-
i2 =
|
3225
|
+
i1 = prepare_uuid(i1);
|
3226
|
+
i2 = prepare_uuid(i2);
|
3227
3227
|
i3 = prepare_bool(i3);
|
3228
3228
|
extract_interface(i0, &v1, cConsole);
|
3229
|
-
|
3230
|
-
|
3229
|
+
extract_uuid(i1, &v2);
|
3230
|
+
extract_uuid(i2, &v3);
|
3231
3231
|
extract_bool(i3, &v4);
|
3232
3232
|
NS_CHECK(vtbl->delete_snapshot(obj, v1, v2, v3, v4, &v5, &v6));
|
3233
3233
|
res = rb_ary_new();
|
@@ -4898,7 +4898,7 @@ static VALUE Machine__get_id(VALUE self) {
|
|
4898
4898
|
wstring_t v1;
|
4899
4899
|
NS_CHECK(vtbl->get_id(obj, &v1));
|
4900
4900
|
res = rb_ary_new();
|
4901
|
-
rb_ary_push(res,
|
4901
|
+
rb_ary_push(res, convert_uuid(v1));
|
4902
4902
|
res = rb_ary_entry(res, 0);
|
4903
4903
|
return res;
|
4904
4904
|
}
|
@@ -4977,7 +4977,7 @@ static VALUE Machine__get_hardware_uuid(VALUE self) {
|
|
4977
4977
|
wstring_t v1;
|
4978
4978
|
NS_CHECK(vtbl->get_hardware_uuid(obj, &v1));
|
4979
4979
|
res = rb_ary_new();
|
4980
|
-
rb_ary_push(res,
|
4980
|
+
rb_ary_push(res, convert_uuid(v1));
|
4981
4981
|
res = rb_ary_entry(res, 0);
|
4982
4982
|
return res;
|
4983
4983
|
}
|
@@ -4986,8 +4986,8 @@ static VALUE Machine__set_hardware_uuid(VALUE self, VALUE i0) {
|
|
4986
4986
|
struct obj *obj = DATA_PTR(self);
|
4987
4987
|
struct Machine *vtbl = obj->vtbl;
|
4988
4988
|
wstring_t v1;
|
4989
|
-
i0 =
|
4990
|
-
|
4989
|
+
i0 = prepare_uuid(i0);
|
4990
|
+
extract_uuid(i0, &v1);
|
4991
4991
|
NS_CHECK(vtbl->set_hardware_uuid(obj, v1));
|
4992
4992
|
res = rb_ary_new();
|
4993
4993
|
return res;
|
@@ -6485,8 +6485,8 @@ static VALUE Console__attach_usb_device(VALUE self, VALUE i0) {
|
|
6485
6485
|
struct obj *obj = DATA_PTR(self);
|
6486
6486
|
struct Console *vtbl = obj->vtbl;
|
6487
6487
|
wstring_t v1;
|
6488
|
-
i0 =
|
6489
|
-
|
6488
|
+
i0 = prepare_uuid(i0);
|
6489
|
+
extract_uuid(i0, &v1);
|
6490
6490
|
NS_CHECK(vtbl->attach_usb_device(obj, v1));
|
6491
6491
|
res = rb_ary_new();
|
6492
6492
|
return res;
|
@@ -6497,8 +6497,8 @@ static VALUE Console__detach_usb_device(VALUE self, VALUE i0) {
|
|
6497
6497
|
struct Console *vtbl = obj->vtbl;
|
6498
6498
|
wstring_t v1;
|
6499
6499
|
void * v2;
|
6500
|
-
i0 =
|
6501
|
-
|
6500
|
+
i0 = prepare_uuid(i0);
|
6501
|
+
extract_uuid(i0, &v1);
|
6502
6502
|
NS_CHECK(vtbl->detach_usb_device(obj, v1, &v2));
|
6503
6503
|
res = rb_ary_new();
|
6504
6504
|
rb_ary_push(res, convert_interface(v2, cUSBDevice));
|
@@ -6525,8 +6525,8 @@ static VALUE Console__find_usb_device_by_id(VALUE self, VALUE i0) {
|
|
6525
6525
|
struct Console *vtbl = obj->vtbl;
|
6526
6526
|
wstring_t v1;
|
6527
6527
|
void * v2;
|
6528
|
-
i0 =
|
6529
|
-
|
6528
|
+
i0 = prepare_uuid(i0);
|
6529
|
+
extract_uuid(i0, &v1);
|
6530
6530
|
NS_CHECK(vtbl->find_usb_device_by_id(obj, v1, &v2));
|
6531
6531
|
res = rb_ary_new();
|
6532
6532
|
rb_ary_push(res, convert_interface(v2, cUSBDevice));
|
@@ -6587,8 +6587,8 @@ static VALUE Console__delete_snapshot(VALUE self, VALUE i0) {
|
|
6587
6587
|
struct Console *vtbl = obj->vtbl;
|
6588
6588
|
wstring_t v1;
|
6589
6589
|
void * v2;
|
6590
|
-
i0 =
|
6591
|
-
|
6590
|
+
i0 = prepare_uuid(i0);
|
6591
|
+
extract_uuid(i0, &v1);
|
6592
6592
|
NS_CHECK(vtbl->delete_snapshot(obj, v1, &v2));
|
6593
6593
|
res = rb_ary_new();
|
6594
6594
|
rb_ary_push(res, convert_interface(v2, cProgress));
|
@@ -6601,8 +6601,8 @@ static VALUE Console__delete_snapshot_and_all_children(VALUE self, VALUE i0) {
|
|
6601
6601
|
struct Console *vtbl = obj->vtbl;
|
6602
6602
|
wstring_t v1;
|
6603
6603
|
void * v2;
|
6604
|
-
i0 =
|
6605
|
-
|
6604
|
+
i0 = prepare_uuid(i0);
|
6605
|
+
extract_uuid(i0, &v1);
|
6606
6606
|
NS_CHECK(vtbl->delete_snapshot_and_all_children(obj, v1, &v2));
|
6607
6607
|
res = rb_ary_new();
|
6608
6608
|
rb_ary_push(res, convert_interface(v2, cProgress));
|
@@ -6616,10 +6616,10 @@ static VALUE Console__delete_snapshot_range(VALUE self, VALUE i0, VALUE i1) {
|
|
6616
6616
|
wstring_t v1;
|
6617
6617
|
wstring_t v2;
|
6618
6618
|
void * v3;
|
6619
|
-
i0 =
|
6620
|
-
i1 =
|
6621
|
-
|
6622
|
-
|
6619
|
+
i0 = prepare_uuid(i0);
|
6620
|
+
i1 = prepare_uuid(i1);
|
6621
|
+
extract_uuid(i0, &v1);
|
6622
|
+
extract_uuid(i1, &v2);
|
6623
6623
|
NS_CHECK(vtbl->delete_snapshot_range(obj, v1, v2, &v3));
|
6624
6624
|
res = rb_ary_new();
|
6625
6625
|
rb_ary_push(res, convert_interface(v3, cProgress));
|
@@ -6894,7 +6894,7 @@ static VALUE HostNetworkInterface__get_id(VALUE self) {
|
|
6894
6894
|
wstring_t v1;
|
6895
6895
|
NS_CHECK(vtbl->get_id(obj, &v1));
|
6896
6896
|
res = rb_ary_new();
|
6897
|
-
rb_ary_push(res,
|
6897
|
+
rb_ary_push(res, convert_uuid(v1));
|
6898
6898
|
res = rb_ary_entry(res, 0);
|
6899
6899
|
return res;
|
6900
6900
|
}
|
@@ -7104,8 +7104,8 @@ static VALUE Host__remove_host_only_network_interface(VALUE self, VALUE i0) {
|
|
7104
7104
|
struct Host *vtbl = obj->vtbl;
|
7105
7105
|
wstring_t v1;
|
7106
7106
|
void * v2;
|
7107
|
-
i0 =
|
7108
|
-
|
7107
|
+
i0 = prepare_uuid(i0);
|
7108
|
+
extract_uuid(i0, &v1);
|
7109
7109
|
NS_CHECK(vtbl->remove_host_only_network_interface(obj, v1, &v2));
|
7110
7110
|
res = rb_ary_new();
|
7111
7111
|
rb_ary_push(res, convert_interface(v2, cProgress));
|
@@ -7199,8 +7199,8 @@ static VALUE Host__find_host_network_interface_by_id(VALUE self, VALUE i0) {
|
|
7199
7199
|
struct Host *vtbl = obj->vtbl;
|
7200
7200
|
wstring_t v1;
|
7201
7201
|
void * v2;
|
7202
|
-
i0 =
|
7203
|
-
|
7202
|
+
i0 = prepare_uuid(i0);
|
7203
|
+
extract_uuid(i0, &v1);
|
7204
7204
|
NS_CHECK(vtbl->find_host_network_interface_by_id(obj, v1, &v2));
|
7205
7205
|
res = rb_ary_new();
|
7206
7206
|
rb_ary_push(res, convert_interface(v2, cHostNetworkInterface));
|
@@ -7228,8 +7228,8 @@ static VALUE Host__find_usb_device_by_id(VALUE self, VALUE i0) {
|
|
7228
7228
|
struct Host *vtbl = obj->vtbl;
|
7229
7229
|
wstring_t v1;
|
7230
7230
|
void * v2;
|
7231
|
-
i0 =
|
7232
|
-
|
7231
|
+
i0 = prepare_uuid(i0);
|
7232
|
+
extract_uuid(i0, &v1);
|
7233
7233
|
NS_CHECK(vtbl->find_usb_device_by_id(obj, v1, &v2));
|
7234
7234
|
res = rb_ary_new();
|
7235
7235
|
rb_ary_push(res, convert_interface(v2, cHostUSBDevice));
|
@@ -10077,7 +10077,7 @@ static VALUE Progress__get_id(VALUE self) {
|
|
10077
10077
|
wstring_t v1;
|
10078
10078
|
NS_CHECK(vtbl->get_id(obj, &v1));
|
10079
10079
|
res = rb_ary_new();
|
10080
|
-
rb_ary_push(res,
|
10080
|
+
rb_ary_push(res, convert_uuid(v1));
|
10081
10081
|
res = rb_ary_entry(res, 0);
|
10082
10082
|
return res;
|
10083
10083
|
}
|
@@ -10275,7 +10275,7 @@ static VALUE Snapshot__get_id(VALUE self) {
|
|
10275
10275
|
wstring_t v1;
|
10276
10276
|
NS_CHECK(vtbl->get_id(obj, &v1));
|
10277
10277
|
res = rb_ary_new();
|
10278
|
-
rb_ary_push(res,
|
10278
|
+
rb_ary_push(res, convert_uuid(v1));
|
10279
10279
|
res = rb_ary_entry(res, 0);
|
10280
10280
|
return res;
|
10281
10281
|
}
|
@@ -10509,13 +10509,13 @@ static VALUE Medium__set_ids(VALUE self, VALUE i0, VALUE i1, VALUE i2, VALUE i3)
|
|
10509
10509
|
bool_t v3;
|
10510
10510
|
wstring_t v4;
|
10511
10511
|
i0 = prepare_bool(i0);
|
10512
|
-
i1 =
|
10512
|
+
i1 = prepare_uuid(i1);
|
10513
10513
|
i2 = prepare_bool(i2);
|
10514
|
-
i3 =
|
10514
|
+
i3 = prepare_uuid(i3);
|
10515
10515
|
extract_bool(i0, &v1);
|
10516
|
-
|
10516
|
+
extract_uuid(i1, &v2);
|
10517
10517
|
extract_bool(i2, &v3);
|
10518
|
-
|
10518
|
+
extract_uuid(i3, &v4);
|
10519
10519
|
NS_CHECK(vtbl->set_ids(obj, v1, v2, v3, v4));
|
10520
10520
|
res = rb_ary_new();
|
10521
10521
|
return res;
|
@@ -10538,11 +10538,11 @@ static VALUE Medium__get_snapshot_ids(VALUE self, VALUE i0) {
|
|
10538
10538
|
wstring_t v1;
|
10539
10539
|
uint32_t v2_size;
|
10540
10540
|
void * v2;
|
10541
|
-
i0 =
|
10542
|
-
|
10541
|
+
i0 = prepare_uuid(i0);
|
10542
|
+
extract_uuid(i0, &v1);
|
10543
10543
|
NS_CHECK(vtbl->get_snapshot_ids(obj, v1, &v2_size, &v2));
|
10544
10544
|
res = rb_ary_new();
|
10545
|
-
rb_ary_push(res,
|
10545
|
+
rb_ary_push(res, convert_array_uuid(v2_size, v2));
|
10546
10546
|
res = rb_ary_entry(res, 0);
|
10547
10547
|
return res;
|
10548
10548
|
}
|
@@ -10798,7 +10798,7 @@ static VALUE Medium__get_id(VALUE self) {
|
|
10798
10798
|
wstring_t v1;
|
10799
10799
|
NS_CHECK(vtbl->get_id(obj, &v1));
|
10800
10800
|
res = rb_ary_new();
|
10801
|
-
rb_ary_push(res,
|
10801
|
+
rb_ary_push(res, convert_uuid(v1));
|
10802
10802
|
res = rb_ary_entry(res, 0);
|
10803
10803
|
return res;
|
10804
10804
|
}
|
@@ -11065,7 +11065,7 @@ static VALUE Medium__get_machine_ids(VALUE self) {
|
|
11065
11065
|
void * v1;
|
11066
11066
|
NS_CHECK(vtbl->get_machine_ids(obj, &v1_size, &v1));
|
11067
11067
|
res = rb_ary_new();
|
11068
|
-
rb_ary_push(res,
|
11068
|
+
rb_ary_push(res, convert_array_uuid(v1_size, v1));
|
11069
11069
|
res = rb_ary_entry(res, 0);
|
11070
11070
|
return res;
|
11071
11071
|
}
|
@@ -13187,7 +13187,7 @@ static VALUE USBDevice__get_id(VALUE self) {
|
|
13187
13187
|
wstring_t v1;
|
13188
13188
|
NS_CHECK(vtbl->get_id(obj, &v1));
|
13189
13189
|
res = rb_ary_new();
|
13190
|
-
rb_ary_push(res,
|
13190
|
+
rb_ary_push(res, convert_uuid(v1));
|
13191
13191
|
res = rb_ary_entry(res, 0);
|
13192
13192
|
return res;
|
13193
13193
|
}
|
@@ -14154,9 +14154,9 @@ static VALUE InternalSessionControl__on_usb_device_detach(VALUE self, VALUE i0,
|
|
14154
14154
|
struct InternalSessionControl *vtbl = obj->vtbl;
|
14155
14155
|
wstring_t v1;
|
14156
14156
|
void * v2;
|
14157
|
-
i0 =
|
14157
|
+
i0 = prepare_uuid(i0);
|
14158
14158
|
i1 = prepare_interface(i1, cVirtualBoxErrorInfo);
|
14159
|
-
|
14159
|
+
extract_uuid(i0, &v1);
|
14160
14160
|
extract_interface(i1, &v2, cVirtualBoxErrorInfo);
|
14161
14161
|
NS_CHECK(vtbl->on_usb_device_detach(obj, v1, v2));
|
14162
14162
|
res = rb_ary_new();
|
@@ -15677,7 +15677,7 @@ static VALUE MachineEvent__get_machine_id(VALUE self) {
|
|
15677
15677
|
wstring_t v1;
|
15678
15678
|
NS_CHECK(vtbl->get_machine_id(obj, &v1));
|
15679
15679
|
res = rb_ary_new();
|
15680
|
-
rb_ary_push(res,
|
15680
|
+
rb_ary_push(res, convert_uuid(v1));
|
15681
15681
|
res = rb_ary_entry(res, 0);
|
15682
15682
|
return res;
|
15683
15683
|
}
|
@@ -15710,7 +15710,7 @@ static VALUE MediumRegisteredEvent__get_medium_id(VALUE self) {
|
|
15710
15710
|
wstring_t v1;
|
15711
15711
|
NS_CHECK(vtbl->get_medium_id(obj, &v1));
|
15712
15712
|
res = rb_ary_new();
|
15713
|
-
rb_ary_push(res,
|
15713
|
+
rb_ary_push(res, convert_uuid(v1));
|
15714
15714
|
res = rb_ary_entry(res, 0);
|
15715
15715
|
return res;
|
15716
15716
|
}
|
@@ -15798,7 +15798,7 @@ static VALUE SnapshotEvent__get_snapshot_id(VALUE self) {
|
|
15798
15798
|
wstring_t v1;
|
15799
15799
|
NS_CHECK(vtbl->get_snapshot_id(obj, &v1));
|
15800
15800
|
res = rb_ary_new();
|
15801
|
-
rb_ary_push(res,
|
15801
|
+
rb_ary_push(res, convert_uuid(v1));
|
15802
15802
|
res = rb_ary_entry(res, 0);
|
15803
15803
|
return res;
|
15804
15804
|
}
|
@@ -16240,7 +16240,7 @@ static VALUE ExtraDataChangedEvent__get_machine_id(VALUE self) {
|
|
16240
16240
|
wstring_t v1;
|
16241
16241
|
NS_CHECK(vtbl->get_machine_id(obj, &v1));
|
16242
16242
|
res = rb_ary_new();
|
16243
|
-
rb_ary_push(res,
|
16243
|
+
rb_ary_push(res, convert_uuid(v1));
|
16244
16244
|
res = rb_ary_entry(res, 0);
|
16245
16245
|
return res;
|
16246
16246
|
}
|
@@ -16307,7 +16307,7 @@ static VALUE ExtraDataCanChangeEvent__get_machine_id(VALUE self) {
|
|
16307
16307
|
wstring_t v1;
|
16308
16308
|
NS_CHECK(vtbl->get_machine_id(obj, &v1));
|
16309
16309
|
res = rb_ary_new();
|
16310
|
-
rb_ary_push(res,
|
16310
|
+
rb_ary_push(res, convert_uuid(v1));
|
16311
16311
|
res = rb_ary_entry(res, 0);
|
16312
16312
|
return res;
|
16313
16313
|
}
|
@@ -16603,14 +16603,14 @@ static void comclass_init(VALUE under) {
|
|
16603
16603
|
VALUE c = cNSISupports
|
16604
16604
|
= rb_define_class_under(under, "NSISupports", cAbstractInterface);
|
16605
16605
|
no_instantiation(c);
|
16606
|
-
rb_const_set(c, _IID,
|
16606
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16607
16607
|
}
|
16608
16608
|
{
|
16609
16609
|
iid_t iid = {0xf3a8d3b4, 0xc424, 0x4edc, {0x8b, 0xf6, 0x89, 0x74, 0xc9, 0x83, 0xba, 0x78}};
|
16610
16610
|
VALUE c = cNSIException
|
16611
16611
|
= rb_define_class_under(under, "NSIException", cNSISupports);
|
16612
16612
|
no_instantiation(c);
|
16613
|
-
rb_const_set(c, _IID,
|
16613
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16614
16614
|
rb_define_method(c, "message", NSIException__get_message, 0);
|
16615
16615
|
rb_define_method(c, "result", NSIException__get_result, 0);
|
16616
16616
|
rb_define_method(c, "name", NSIException__get_name, 0);
|
@@ -16627,7 +16627,7 @@ static void comclass_init(VALUE under) {
|
|
16627
16627
|
VALUE c = cSettingsVersion
|
16628
16628
|
= rb_define_class_under(under, "SettingsVersion", cAbstractEnum);
|
16629
16629
|
no_instantiation(c);
|
16630
|
-
rb_const_set(c, _IID,
|
16630
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16631
16631
|
VALUE h = rb_hash_new();
|
16632
16632
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16633
16633
|
rb_funcall(h, _bracketseq, 2, SYM("v1_0"), ULL2NUM(1));
|
@@ -16653,7 +16653,7 @@ static void comclass_init(VALUE under) {
|
|
16653
16653
|
VALUE c = cAccessMode
|
16654
16654
|
= rb_define_class_under(under, "AccessMode", cAbstractEnum);
|
16655
16655
|
no_instantiation(c);
|
16656
|
-
rb_const_set(c, _IID,
|
16656
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16657
16657
|
VALUE h = rb_hash_new();
|
16658
16658
|
rb_funcall(h, _bracketseq, 2, SYM("read_only"), ULL2NUM(1));
|
16659
16659
|
rb_funcall(h, _bracketseq, 2, SYM("read_write"), ULL2NUM(2));
|
@@ -16664,7 +16664,7 @@ static void comclass_init(VALUE under) {
|
|
16664
16664
|
VALUE c = cMachineState
|
16665
16665
|
= rb_define_class_under(under, "MachineState", cAbstractEnum);
|
16666
16666
|
no_instantiation(c);
|
16667
|
-
rb_const_set(c, _IID,
|
16667
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16668
16668
|
VALUE h = rb_hash_new();
|
16669
16669
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16670
16670
|
rb_funcall(h, _bracketseq, 2, SYM("powered_off"), ULL2NUM(1));
|
@@ -16699,7 +16699,7 @@ static void comclass_init(VALUE under) {
|
|
16699
16699
|
VALUE c = cSessionState
|
16700
16700
|
= rb_define_class_under(under, "SessionState", cAbstractEnum);
|
16701
16701
|
no_instantiation(c);
|
16702
|
-
rb_const_set(c, _IID,
|
16702
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16703
16703
|
VALUE h = rb_hash_new();
|
16704
16704
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16705
16705
|
rb_funcall(h, _bracketseq, 2, SYM("unlocked"), ULL2NUM(1));
|
@@ -16713,7 +16713,7 @@ static void comclass_init(VALUE under) {
|
|
16713
16713
|
VALUE c = cCPUPropertyType
|
16714
16714
|
= rb_define_class_under(under, "CPUPropertyType", cAbstractEnum);
|
16715
16715
|
no_instantiation(c);
|
16716
|
-
rb_const_set(c, _IID,
|
16716
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16717
16717
|
VALUE h = rb_hash_new();
|
16718
16718
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16719
16719
|
rb_funcall(h, _bracketseq, 2, SYM("pae"), ULL2NUM(1));
|
@@ -16725,7 +16725,7 @@ static void comclass_init(VALUE under) {
|
|
16725
16725
|
VALUE c = cHWVirtExPropertyType
|
16726
16726
|
= rb_define_class_under(under, "HWVirtExPropertyType", cAbstractEnum);
|
16727
16727
|
no_instantiation(c);
|
16728
|
-
rb_const_set(c, _IID,
|
16728
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16729
16729
|
VALUE h = rb_hash_new();
|
16730
16730
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16731
16731
|
rb_funcall(h, _bracketseq, 2, SYM("enabled"), ULL2NUM(1));
|
@@ -16741,7 +16741,7 @@ static void comclass_init(VALUE under) {
|
|
16741
16741
|
VALUE c = cFaultToleranceState
|
16742
16742
|
= rb_define_class_under(under, "FaultToleranceState", cAbstractEnum);
|
16743
16743
|
no_instantiation(c);
|
16744
|
-
rb_const_set(c, _IID,
|
16744
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16745
16745
|
VALUE h = rb_hash_new();
|
16746
16746
|
rb_funcall(h, _bracketseq, 2, SYM("inactive"), ULL2NUM(1));
|
16747
16747
|
rb_funcall(h, _bracketseq, 2, SYM("master"), ULL2NUM(2));
|
@@ -16753,7 +16753,7 @@ static void comclass_init(VALUE under) {
|
|
16753
16753
|
VALUE c = cLockType
|
16754
16754
|
= rb_define_class_under(under, "LockType", cAbstractEnum);
|
16755
16755
|
no_instantiation(c);
|
16756
|
-
rb_const_set(c, _IID,
|
16756
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16757
16757
|
VALUE h = rb_hash_new();
|
16758
16758
|
rb_funcall(h, _bracketseq, 2, SYM("write"), ULL2NUM(2));
|
16759
16759
|
rb_funcall(h, _bracketseq, 2, SYM("shared"), ULL2NUM(1));
|
@@ -16765,7 +16765,7 @@ static void comclass_init(VALUE under) {
|
|
16765
16765
|
VALUE c = cSessionType
|
16766
16766
|
= rb_define_class_under(under, "SessionType", cAbstractEnum);
|
16767
16767
|
no_instantiation(c);
|
16768
|
-
rb_const_set(c, _IID,
|
16768
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16769
16769
|
VALUE h = rb_hash_new();
|
16770
16770
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16771
16771
|
rb_funcall(h, _bracketseq, 2, SYM("write_lock"), ULL2NUM(1));
|
@@ -16778,7 +16778,7 @@ static void comclass_init(VALUE under) {
|
|
16778
16778
|
VALUE c = cDeviceType
|
16779
16779
|
= rb_define_class_under(under, "DeviceType", cAbstractEnum);
|
16780
16780
|
no_instantiation(c);
|
16781
|
-
rb_const_set(c, _IID,
|
16781
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16782
16782
|
VALUE h = rb_hash_new();
|
16783
16783
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16784
16784
|
rb_funcall(h, _bracketseq, 2, SYM("floppy"), ULL2NUM(1));
|
@@ -16794,7 +16794,7 @@ static void comclass_init(VALUE under) {
|
|
16794
16794
|
VALUE c = cDeviceActivity
|
16795
16795
|
= rb_define_class_under(under, "DeviceActivity", cAbstractEnum);
|
16796
16796
|
no_instantiation(c);
|
16797
|
-
rb_const_set(c, _IID,
|
16797
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16798
16798
|
VALUE h = rb_hash_new();
|
16799
16799
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
16800
16800
|
rb_funcall(h, _bracketseq, 2, SYM("idle"), ULL2NUM(1));
|
@@ -16807,7 +16807,7 @@ static void comclass_init(VALUE under) {
|
|
16807
16807
|
VALUE c = cClipboardMode
|
16808
16808
|
= rb_define_class_under(under, "ClipboardMode", cAbstractEnum);
|
16809
16809
|
no_instantiation(c);
|
16810
|
-
rb_const_set(c, _IID,
|
16810
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16811
16811
|
VALUE h = rb_hash_new();
|
16812
16812
|
rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(0));
|
16813
16813
|
rb_funcall(h, _bracketseq, 2, SYM("host_to_guest"), ULL2NUM(1));
|
@@ -16820,7 +16820,7 @@ static void comclass_init(VALUE under) {
|
|
16820
16820
|
VALUE c = cDragAndDropMode
|
16821
16821
|
= rb_define_class_under(under, "DragAndDropMode", cAbstractEnum);
|
16822
16822
|
no_instantiation(c);
|
16823
|
-
rb_const_set(c, _IID,
|
16823
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16824
16824
|
VALUE h = rb_hash_new();
|
16825
16825
|
rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(0));
|
16826
16826
|
rb_funcall(h, _bracketseq, 2, SYM("host_to_guest"), ULL2NUM(1));
|
@@ -16833,7 +16833,7 @@ static void comclass_init(VALUE under) {
|
|
16833
16833
|
VALUE c = cScope
|
16834
16834
|
= rb_define_class_under(under, "Scope", cAbstractEnum);
|
16835
16835
|
no_instantiation(c);
|
16836
|
-
rb_const_set(c, _IID,
|
16836
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16837
16837
|
VALUE h = rb_hash_new();
|
16838
16838
|
rb_funcall(h, _bracketseq, 2, SYM("global"), ULL2NUM(0));
|
16839
16839
|
rb_funcall(h, _bracketseq, 2, SYM("machine"), ULL2NUM(1));
|
@@ -16845,7 +16845,7 @@ static void comclass_init(VALUE under) {
|
|
16845
16845
|
VALUE c = cBIOSBootMenuMode
|
16846
16846
|
= rb_define_class_under(under, "BIOSBootMenuMode", cAbstractEnum);
|
16847
16847
|
no_instantiation(c);
|
16848
|
-
rb_const_set(c, _IID,
|
16848
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16849
16849
|
VALUE h = rb_hash_new();
|
16850
16850
|
rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(0));
|
16851
16851
|
rb_funcall(h, _bracketseq, 2, SYM("menu_only"), ULL2NUM(1));
|
@@ -16857,7 +16857,7 @@ static void comclass_init(VALUE under) {
|
|
16857
16857
|
VALUE c = cProcessorFeature
|
16858
16858
|
= rb_define_class_under(under, "ProcessorFeature", cAbstractEnum);
|
16859
16859
|
no_instantiation(c);
|
16860
|
-
rb_const_set(c, _IID,
|
16860
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16861
16861
|
VALUE h = rb_hash_new();
|
16862
16862
|
rb_funcall(h, _bracketseq, 2, SYM("hw_virt_ex"), ULL2NUM(0));
|
16863
16863
|
rb_funcall(h, _bracketseq, 2, SYM("pae"), ULL2NUM(1));
|
@@ -16870,7 +16870,7 @@ static void comclass_init(VALUE under) {
|
|
16870
16870
|
VALUE c = cFirmwareType
|
16871
16871
|
= rb_define_class_under(under, "FirmwareType", cAbstractEnum);
|
16872
16872
|
no_instantiation(c);
|
16873
|
-
rb_const_set(c, _IID,
|
16873
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16874
16874
|
VALUE h = rb_hash_new();
|
16875
16875
|
rb_funcall(h, _bracketseq, 2, SYM("bios"), ULL2NUM(1));
|
16876
16876
|
rb_funcall(h, _bracketseq, 2, SYM("efi"), ULL2NUM(2));
|
@@ -16884,7 +16884,7 @@ static void comclass_init(VALUE under) {
|
|
16884
16884
|
VALUE c = cPointingHIDType
|
16885
16885
|
= rb_define_class_under(under, "PointingHIDType", cAbstractEnum);
|
16886
16886
|
no_instantiation(c);
|
16887
|
-
rb_const_set(c, _IID,
|
16887
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16888
16888
|
VALUE h = rb_hash_new();
|
16889
16889
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(1));
|
16890
16890
|
rb_funcall(h, _bracketseq, 2, SYM("ps2_mouse"), ULL2NUM(2));
|
@@ -16898,7 +16898,7 @@ static void comclass_init(VALUE under) {
|
|
16898
16898
|
VALUE c = cKeyboardHIDType
|
16899
16899
|
= rb_define_class_under(under, "KeyboardHIDType", cAbstractEnum);
|
16900
16900
|
no_instantiation(c);
|
16901
|
-
rb_const_set(c, _IID,
|
16901
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16902
16902
|
VALUE h = rb_hash_new();
|
16903
16903
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(1));
|
16904
16904
|
rb_funcall(h, _bracketseq, 2, SYM("ps2_keyboard"), ULL2NUM(2));
|
@@ -16911,7 +16911,7 @@ static void comclass_init(VALUE under) {
|
|
16911
16911
|
VALUE c = cVFSType
|
16912
16912
|
= rb_define_class_under(under, "VFSType", cAbstractEnum);
|
16913
16913
|
no_instantiation(c);
|
16914
|
-
rb_const_set(c, _IID,
|
16914
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16915
16915
|
VALUE h = rb_hash_new();
|
16916
16916
|
rb_funcall(h, _bracketseq, 2, SYM("file"), ULL2NUM(1));
|
16917
16917
|
rb_funcall(h, _bracketseq, 2, SYM("cloud"), ULL2NUM(2));
|
@@ -16924,7 +16924,7 @@ static void comclass_init(VALUE under) {
|
|
16924
16924
|
VALUE c = cVFSFileType
|
16925
16925
|
= rb_define_class_under(under, "VFSFileType", cAbstractEnum);
|
16926
16926
|
no_instantiation(c);
|
16927
|
-
rb_const_set(c, _IID,
|
16927
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16928
16928
|
VALUE h = rb_hash_new();
|
16929
16929
|
rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(1));
|
16930
16930
|
rb_funcall(h, _bracketseq, 2, SYM("fifo"), ULL2NUM(2));
|
@@ -16942,7 +16942,7 @@ static void comclass_init(VALUE under) {
|
|
16942
16942
|
VALUE c = cImportOptions
|
16943
16943
|
= rb_define_class_under(under, "ImportOptions", cAbstractEnum);
|
16944
16944
|
no_instantiation(c);
|
16945
|
-
rb_const_set(c, _IID,
|
16945
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16946
16946
|
VALUE h = rb_hash_new();
|
16947
16947
|
rb_funcall(h, _bracketseq, 2, SYM("keep_all_macs"), ULL2NUM(1));
|
16948
16948
|
rb_funcall(h, _bracketseq, 2, SYM("keep_nat_macs"), ULL2NUM(2));
|
@@ -16953,7 +16953,7 @@ static void comclass_init(VALUE under) {
|
|
16953
16953
|
VALUE c = cVirtualSystemDescriptionType
|
16954
16954
|
= rb_define_class_under(under, "VirtualSystemDescriptionType", cAbstractEnum);
|
16955
16955
|
no_instantiation(c);
|
16956
|
-
rb_const_set(c, _IID,
|
16956
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16957
16957
|
VALUE h = rb_hash_new();
|
16958
16958
|
rb_funcall(h, _bracketseq, 2, SYM("ignore"), ULL2NUM(1));
|
16959
16959
|
rb_funcall(h, _bracketseq, 2, SYM("os"), ULL2NUM(2));
|
@@ -16986,7 +16986,7 @@ static void comclass_init(VALUE under) {
|
|
16986
16986
|
VALUE c = cVirtualSystemDescriptionValueType
|
16987
16987
|
= rb_define_class_under(under, "VirtualSystemDescriptionValueType", cAbstractEnum);
|
16988
16988
|
no_instantiation(c);
|
16989
|
-
rb_const_set(c, _IID,
|
16989
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
16990
16990
|
VALUE h = rb_hash_new();
|
16991
16991
|
rb_funcall(h, _bracketseq, 2, SYM("reference"), ULL2NUM(1));
|
16992
16992
|
rb_funcall(h, _bracketseq, 2, SYM("original"), ULL2NUM(2));
|
@@ -16999,7 +16999,7 @@ static void comclass_init(VALUE under) {
|
|
16999
16999
|
VALUE c = cCleanupMode
|
17000
17000
|
= rb_define_class_under(under, "CleanupMode", cAbstractEnum);
|
17001
17001
|
no_instantiation(c);
|
17002
|
-
rb_const_set(c, _IID,
|
17002
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17003
17003
|
VALUE h = rb_hash_new();
|
17004
17004
|
rb_funcall(h, _bracketseq, 2, SYM("unregister_only"), ULL2NUM(1));
|
17005
17005
|
rb_funcall(h, _bracketseq, 2, SYM("detach_all_return_none"), ULL2NUM(2));
|
@@ -17012,7 +17012,7 @@ static void comclass_init(VALUE under) {
|
|
17012
17012
|
VALUE c = cCloneMode
|
17013
17013
|
= rb_define_class_under(under, "CloneMode", cAbstractEnum);
|
17014
17014
|
no_instantiation(c);
|
17015
|
-
rb_const_set(c, _IID,
|
17015
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17016
17016
|
VALUE h = rb_hash_new();
|
17017
17017
|
rb_funcall(h, _bracketseq, 2, SYM("machine_state"), ULL2NUM(1));
|
17018
17018
|
rb_funcall(h, _bracketseq, 2, SYM("machine_and_child_states"), ULL2NUM(2));
|
@@ -17024,7 +17024,7 @@ static void comclass_init(VALUE under) {
|
|
17024
17024
|
VALUE c = cCloneOptions
|
17025
17025
|
= rb_define_class_under(under, "CloneOptions", cAbstractEnum);
|
17026
17026
|
no_instantiation(c);
|
17027
|
-
rb_const_set(c, _IID,
|
17027
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17028
17028
|
VALUE h = rb_hash_new();
|
17029
17029
|
rb_funcall(h, _bracketseq, 2, SYM("link"), ULL2NUM(1));
|
17030
17030
|
rb_funcall(h, _bracketseq, 2, SYM("keep_all_macs"), ULL2NUM(2));
|
@@ -17037,7 +17037,7 @@ static void comclass_init(VALUE under) {
|
|
17037
17037
|
VALUE c = cAutostopType
|
17038
17038
|
= rb_define_class_under(under, "AutostopType", cAbstractEnum);
|
17039
17039
|
no_instantiation(c);
|
17040
|
-
rb_const_set(c, _IID,
|
17040
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17041
17041
|
VALUE h = rb_hash_new();
|
17042
17042
|
rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(1));
|
17043
17043
|
rb_funcall(h, _bracketseq, 2, SYM("save_state"), ULL2NUM(2));
|
@@ -17050,7 +17050,7 @@ static void comclass_init(VALUE under) {
|
|
17050
17050
|
VALUE c = cHostNetworkInterfaceMediumType
|
17051
17051
|
= rb_define_class_under(under, "HostNetworkInterfaceMediumType", cAbstractEnum);
|
17052
17052
|
no_instantiation(c);
|
17053
|
-
rb_const_set(c, _IID,
|
17053
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17054
17054
|
VALUE h = rb_hash_new();
|
17055
17055
|
rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(0));
|
17056
17056
|
rb_funcall(h, _bracketseq, 2, SYM("ethernet"), ULL2NUM(1));
|
@@ -17063,7 +17063,7 @@ static void comclass_init(VALUE under) {
|
|
17063
17063
|
VALUE c = cHostNetworkInterfaceStatus
|
17064
17064
|
= rb_define_class_under(under, "HostNetworkInterfaceStatus", cAbstractEnum);
|
17065
17065
|
no_instantiation(c);
|
17066
|
-
rb_const_set(c, _IID,
|
17066
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17067
17067
|
VALUE h = rb_hash_new();
|
17068
17068
|
rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(0));
|
17069
17069
|
rb_funcall(h, _bracketseq, 2, SYM("up"), ULL2NUM(1));
|
@@ -17075,7 +17075,7 @@ static void comclass_init(VALUE under) {
|
|
17075
17075
|
VALUE c = cHostNetworkInterfaceType
|
17076
17076
|
= rb_define_class_under(under, "HostNetworkInterfaceType", cAbstractEnum);
|
17077
17077
|
no_instantiation(c);
|
17078
|
-
rb_const_set(c, _IID,
|
17078
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17079
17079
|
VALUE h = rb_hash_new();
|
17080
17080
|
rb_funcall(h, _bracketseq, 2, SYM("bridged"), ULL2NUM(1));
|
17081
17081
|
rb_funcall(h, _bracketseq, 2, SYM("host_only"), ULL2NUM(2));
|
@@ -17086,7 +17086,7 @@ static void comclass_init(VALUE under) {
|
|
17086
17086
|
VALUE c = cAdditionsFacilityType
|
17087
17087
|
= rb_define_class_under(under, "AdditionsFacilityType", cAbstractEnum);
|
17088
17088
|
no_instantiation(c);
|
17089
|
-
rb_const_set(c, _IID,
|
17089
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17090
17090
|
VALUE h = rb_hash_new();
|
17091
17091
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17092
17092
|
rb_funcall(h, _bracketseq, 2, SYM("vbox_guest_driver"), ULL2NUM(20));
|
@@ -17103,7 +17103,7 @@ static void comclass_init(VALUE under) {
|
|
17103
17103
|
VALUE c = cAdditionsFacilityClass
|
17104
17104
|
= rb_define_class_under(under, "AdditionsFacilityClass", cAbstractEnum);
|
17105
17105
|
no_instantiation(c);
|
17106
|
-
rb_const_set(c, _IID,
|
17106
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17107
17107
|
VALUE h = rb_hash_new();
|
17108
17108
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17109
17109
|
rb_funcall(h, _bracketseq, 2, SYM("driver"), ULL2NUM(10));
|
@@ -17119,7 +17119,7 @@ static void comclass_init(VALUE under) {
|
|
17119
17119
|
VALUE c = cAdditionsFacilityStatus
|
17120
17120
|
= rb_define_class_under(under, "AdditionsFacilityStatus", cAbstractEnum);
|
17121
17121
|
no_instantiation(c);
|
17122
|
-
rb_const_set(c, _IID,
|
17122
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17123
17123
|
VALUE h = rb_hash_new();
|
17124
17124
|
rb_funcall(h, _bracketseq, 2, SYM("inactive"), ULL2NUM(0));
|
17125
17125
|
rb_funcall(h, _bracketseq, 2, SYM("paused"), ULL2NUM(1));
|
@@ -17137,7 +17137,7 @@ static void comclass_init(VALUE under) {
|
|
17137
17137
|
VALUE c = cAdditionsRunLevelType
|
17138
17138
|
= rb_define_class_under(under, "AdditionsRunLevelType", cAbstractEnum);
|
17139
17139
|
no_instantiation(c);
|
17140
|
-
rb_const_set(c, _IID,
|
17140
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17141
17141
|
VALUE h = rb_hash_new();
|
17142
17142
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17143
17143
|
rb_funcall(h, _bracketseq, 2, SYM("system"), ULL2NUM(1));
|
@@ -17150,7 +17150,7 @@ static void comclass_init(VALUE under) {
|
|
17150
17150
|
VALUE c = cAdditionsUpdateFlag
|
17151
17151
|
= rb_define_class_under(under, "AdditionsUpdateFlag", cAbstractEnum);
|
17152
17152
|
no_instantiation(c);
|
17153
|
-
rb_const_set(c, _IID,
|
17153
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17154
17154
|
VALUE h = rb_hash_new();
|
17155
17155
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17156
17156
|
rb_funcall(h, _bracketseq, 2, SYM("wait_for_update_start_only"), ULL2NUM(1));
|
@@ -17161,7 +17161,7 @@ static void comclass_init(VALUE under) {
|
|
17161
17161
|
VALUE c = cFileSeekType
|
17162
17162
|
= rb_define_class_under(under, "FileSeekType", cAbstractEnum);
|
17163
17163
|
no_instantiation(c);
|
17164
|
-
rb_const_set(c, _IID,
|
17164
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17165
17165
|
VALUE h = rb_hash_new();
|
17166
17166
|
rb_funcall(h, _bracketseq, 2, SYM("set"), ULL2NUM(0));
|
17167
17167
|
rb_funcall(h, _bracketseq, 2, SYM("current"), ULL2NUM(1));
|
@@ -17172,7 +17172,7 @@ static void comclass_init(VALUE under) {
|
|
17172
17172
|
VALUE c = cProcessInputFlag
|
17173
17173
|
= rb_define_class_under(under, "ProcessInputFlag", cAbstractEnum);
|
17174
17174
|
no_instantiation(c);
|
17175
|
-
rb_const_set(c, _IID,
|
17175
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17176
17176
|
VALUE h = rb_hash_new();
|
17177
17177
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17178
17178
|
rb_funcall(h, _bracketseq, 2, SYM("end_of_file"), ULL2NUM(1));
|
@@ -17183,7 +17183,7 @@ static void comclass_init(VALUE under) {
|
|
17183
17183
|
VALUE c = cProcessOutputFlag
|
17184
17184
|
= rb_define_class_under(under, "ProcessOutputFlag", cAbstractEnum);
|
17185
17185
|
no_instantiation(c);
|
17186
|
-
rb_const_set(c, _IID,
|
17186
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17187
17187
|
VALUE h = rb_hash_new();
|
17188
17188
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17189
17189
|
rb_funcall(h, _bracketseq, 2, SYM("std_err"), ULL2NUM(1));
|
@@ -17194,7 +17194,7 @@ static void comclass_init(VALUE under) {
|
|
17194
17194
|
VALUE c = cProcessWaitForFlag
|
17195
17195
|
= rb_define_class_under(under, "ProcessWaitForFlag", cAbstractEnum);
|
17196
17196
|
no_instantiation(c);
|
17197
|
-
rb_const_set(c, _IID,
|
17197
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17198
17198
|
VALUE h = rb_hash_new();
|
17199
17199
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17200
17200
|
rb_funcall(h, _bracketseq, 2, SYM("start"), ULL2NUM(1));
|
@@ -17209,7 +17209,7 @@ static void comclass_init(VALUE under) {
|
|
17209
17209
|
VALUE c = cProcessWaitResult
|
17210
17210
|
= rb_define_class_under(under, "ProcessWaitResult", cAbstractEnum);
|
17211
17211
|
no_instantiation(c);
|
17212
|
-
rb_const_set(c, _IID,
|
17212
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17213
17213
|
VALUE h = rb_hash_new();
|
17214
17214
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17215
17215
|
rb_funcall(h, _bracketseq, 2, SYM("start"), ULL2NUM(1));
|
@@ -17228,7 +17228,7 @@ static void comclass_init(VALUE under) {
|
|
17228
17228
|
VALUE c = cCopyFileFlag
|
17229
17229
|
= rb_define_class_under(under, "CopyFileFlag", cAbstractEnum);
|
17230
17230
|
no_instantiation(c);
|
17231
|
-
rb_const_set(c, _IID,
|
17231
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17232
17232
|
VALUE h = rb_hash_new();
|
17233
17233
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17234
17234
|
rb_funcall(h, _bracketseq, 2, SYM("recursive"), ULL2NUM(1));
|
@@ -17241,7 +17241,7 @@ static void comclass_init(VALUE under) {
|
|
17241
17241
|
VALUE c = cDirectoryCreateFlag
|
17242
17242
|
= rb_define_class_under(under, "DirectoryCreateFlag", cAbstractEnum);
|
17243
17243
|
no_instantiation(c);
|
17244
|
-
rb_const_set(c, _IID,
|
17244
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17245
17245
|
VALUE h = rb_hash_new();
|
17246
17246
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17247
17247
|
rb_funcall(h, _bracketseq, 2, SYM("parents"), ULL2NUM(1));
|
@@ -17252,7 +17252,7 @@ static void comclass_init(VALUE under) {
|
|
17252
17252
|
VALUE c = cDirectoryRemoveRecFlag
|
17253
17253
|
= rb_define_class_under(under, "DirectoryRemoveRecFlag", cAbstractEnum);
|
17254
17254
|
no_instantiation(c);
|
17255
|
-
rb_const_set(c, _IID,
|
17255
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17256
17256
|
VALUE h = rb_hash_new();
|
17257
17257
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17258
17258
|
rb_funcall(h, _bracketseq, 2, SYM("content_and_dir"), ULL2NUM(1));
|
@@ -17264,7 +17264,7 @@ static void comclass_init(VALUE under) {
|
|
17264
17264
|
VALUE c = cPathRenameFlag
|
17265
17265
|
= rb_define_class_under(under, "PathRenameFlag", cAbstractEnum);
|
17266
17266
|
no_instantiation(c);
|
17267
|
-
rb_const_set(c, _IID,
|
17267
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17268
17268
|
VALUE h = rb_hash_new();
|
17269
17269
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17270
17270
|
rb_funcall(h, _bracketseq, 2, SYM("no_replace"), ULL2NUM(1));
|
@@ -17277,7 +17277,7 @@ static void comclass_init(VALUE under) {
|
|
17277
17277
|
VALUE c = cProcessCreateFlag
|
17278
17278
|
= rb_define_class_under(under, "ProcessCreateFlag", cAbstractEnum);
|
17279
17279
|
no_instantiation(c);
|
17280
|
-
rb_const_set(c, _IID,
|
17280
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17281
17281
|
VALUE h = rb_hash_new();
|
17282
17282
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17283
17283
|
rb_funcall(h, _bracketseq, 2, SYM("wait_for_process_start_only"), ULL2NUM(1));
|
@@ -17294,7 +17294,7 @@ static void comclass_init(VALUE under) {
|
|
17294
17294
|
VALUE c = cProcessPriority
|
17295
17295
|
= rb_define_class_under(under, "ProcessPriority", cAbstractEnum);
|
17296
17296
|
no_instantiation(c);
|
17297
|
-
rb_const_set(c, _IID,
|
17297
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17298
17298
|
VALUE h = rb_hash_new();
|
17299
17299
|
rb_funcall(h, _bracketseq, 2, SYM("invalid"), ULL2NUM(0));
|
17300
17300
|
rb_funcall(h, _bracketseq, 2, SYM("default"), ULL2NUM(1));
|
@@ -17305,7 +17305,7 @@ static void comclass_init(VALUE under) {
|
|
17305
17305
|
VALUE c = cSymlinkType
|
17306
17306
|
= rb_define_class_under(under, "SymlinkType", cAbstractEnum);
|
17307
17307
|
no_instantiation(c);
|
17308
|
-
rb_const_set(c, _IID,
|
17308
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17309
17309
|
VALUE h = rb_hash_new();
|
17310
17310
|
rb_funcall(h, _bracketseq, 2, SYM("unknown"), ULL2NUM(0));
|
17311
17311
|
rb_funcall(h, _bracketseq, 2, SYM("directory"), ULL2NUM(1));
|
@@ -17317,7 +17317,7 @@ static void comclass_init(VALUE under) {
|
|
17317
17317
|
VALUE c = cSymlinkReadFlag
|
17318
17318
|
= rb_define_class_under(under, "SymlinkReadFlag", cAbstractEnum);
|
17319
17319
|
no_instantiation(c);
|
17320
|
-
rb_const_set(c, _IID,
|
17320
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17321
17321
|
VALUE h = rb_hash_new();
|
17322
17322
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17323
17323
|
rb_funcall(h, _bracketseq, 2, SYM("no_symlinks"), ULL2NUM(1));
|
@@ -17328,7 +17328,7 @@ static void comclass_init(VALUE under) {
|
|
17328
17328
|
VALUE c = cProcessStatus
|
17329
17329
|
= rb_define_class_under(under, "ProcessStatus", cAbstractEnum);
|
17330
17330
|
no_instantiation(c);
|
17331
|
-
rb_const_set(c, _IID,
|
17331
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17332
17332
|
VALUE h = rb_hash_new();
|
17333
17333
|
rb_funcall(h, _bracketseq, 2, SYM("undefined"), ULL2NUM(0));
|
17334
17334
|
rb_funcall(h, _bracketseq, 2, SYM("starting"), ULL2NUM(10));
|
@@ -17349,7 +17349,7 @@ static void comclass_init(VALUE under) {
|
|
17349
17349
|
VALUE c = cFsObjType
|
17350
17350
|
= rb_define_class_under(under, "FsObjType", cAbstractEnum);
|
17351
17351
|
no_instantiation(c);
|
17352
|
-
rb_const_set(c, _IID,
|
17352
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17353
17353
|
VALUE h = rb_hash_new();
|
17354
17354
|
rb_funcall(h, _bracketseq, 2, SYM("undefined"), ULL2NUM(0));
|
17355
17355
|
rb_funcall(h, _bracketseq, 2, SYM("fifo"), ULL2NUM(1));
|
@@ -17367,7 +17367,7 @@ static void comclass_init(VALUE under) {
|
|
17367
17367
|
VALUE c = cDragAndDropAction
|
17368
17368
|
= rb_define_class_under(under, "DragAndDropAction", cAbstractEnum);
|
17369
17369
|
no_instantiation(c);
|
17370
|
-
rb_const_set(c, _IID,
|
17370
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17371
17371
|
VALUE h = rb_hash_new();
|
17372
17372
|
rb_funcall(h, _bracketseq, 2, SYM("ignore"), ULL2NUM(0));
|
17373
17373
|
rb_funcall(h, _bracketseq, 2, SYM("copy"), ULL2NUM(1));
|
@@ -17380,7 +17380,7 @@ static void comclass_init(VALUE under) {
|
|
17380
17380
|
VALUE c = cDirectoryOpenFlag
|
17381
17381
|
= rb_define_class_under(under, "DirectoryOpenFlag", cAbstractEnum);
|
17382
17382
|
no_instantiation(c);
|
17383
|
-
rb_const_set(c, _IID,
|
17383
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17384
17384
|
VALUE h = rb_hash_new();
|
17385
17385
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17386
17386
|
rb_funcall(h, _bracketseq, 2, SYM("no_symlinks"), ULL2NUM(1));
|
@@ -17391,7 +17391,7 @@ static void comclass_init(VALUE under) {
|
|
17391
17391
|
VALUE c = cMediumState
|
17392
17392
|
= rb_define_class_under(under, "MediumState", cAbstractEnum);
|
17393
17393
|
no_instantiation(c);
|
17394
|
-
rb_const_set(c, _IID,
|
17394
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17395
17395
|
VALUE h = rb_hash_new();
|
17396
17396
|
rb_funcall(h, _bracketseq, 2, SYM("not_created"), ULL2NUM(0));
|
17397
17397
|
rb_funcall(h, _bracketseq, 2, SYM("created"), ULL2NUM(1));
|
@@ -17407,7 +17407,7 @@ static void comclass_init(VALUE under) {
|
|
17407
17407
|
VALUE c = cMediumType
|
17408
17408
|
= rb_define_class_under(under, "MediumType", cAbstractEnum);
|
17409
17409
|
no_instantiation(c);
|
17410
|
-
rb_const_set(c, _IID,
|
17410
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17411
17411
|
VALUE h = rb_hash_new();
|
17412
17412
|
rb_funcall(h, _bracketseq, 2, SYM("normal"), ULL2NUM(0));
|
17413
17413
|
rb_funcall(h, _bracketseq, 2, SYM("immutable"), ULL2NUM(1));
|
@@ -17422,7 +17422,7 @@ static void comclass_init(VALUE under) {
|
|
17422
17422
|
VALUE c = cMediumVariant
|
17423
17423
|
= rb_define_class_under(under, "MediumVariant", cAbstractEnum);
|
17424
17424
|
no_instantiation(c);
|
17425
|
-
rb_const_set(c, _IID,
|
17425
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17426
17426
|
VALUE h = rb_hash_new();
|
17427
17427
|
rb_funcall(h, _bracketseq, 2, SYM("standard"), ULL2NUM(0));
|
17428
17428
|
rb_funcall(h, _bracketseq, 2, SYM("vmdk_split2g"), ULL2NUM(1));
|
@@ -17439,7 +17439,7 @@ static void comclass_init(VALUE under) {
|
|
17439
17439
|
VALUE c = cDataType
|
17440
17440
|
= rb_define_class_under(under, "DataType", cAbstractEnum);
|
17441
17441
|
no_instantiation(c);
|
17442
|
-
rb_const_set(c, _IID,
|
17442
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17443
17443
|
VALUE h = rb_hash_new();
|
17444
17444
|
rb_funcall(h, _bracketseq, 2, SYM("int32"), ULL2NUM(0));
|
17445
17445
|
rb_funcall(h, _bracketseq, 2, SYM("int8"), ULL2NUM(1));
|
@@ -17451,7 +17451,7 @@ static void comclass_init(VALUE under) {
|
|
17451
17451
|
VALUE c = cDataFlags
|
17452
17452
|
= rb_define_class_under(under, "DataFlags", cAbstractEnum);
|
17453
17453
|
no_instantiation(c);
|
17454
|
-
rb_const_set(c, _IID,
|
17454
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17455
17455
|
VALUE h = rb_hash_new();
|
17456
17456
|
rb_funcall(h, _bracketseq, 2, SYM("none"), ULL2NUM(0));
|
17457
17457
|
rb_funcall(h, _bracketseq, 2, SYM("mandatory"), ULL2NUM(1));
|
@@ -17465,7 +17465,7 @@ static void comclass_init(VALUE under) {
|
|
17465
17465
|
VALUE c = cMediumFormatCapabilities
|
17466
17466
|
= rb_define_class_under(under, "MediumFormatCapabilities", cAbstractEnum);
|
17467
17467
|
no_instantiation(c);
|
17468
|
-
rb_const_set(c, _IID,
|
17468
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17469
17469
|
VALUE h = rb_hash_new();
|
17470
17470
|
rb_funcall(h, _bracketseq, 2, SYM("uuid"), ULL2NUM(1));
|
17471
17471
|
rb_funcall(h, _bracketseq, 2, SYM("create_fixed"), ULL2NUM(2));
|
@@ -17485,7 +17485,7 @@ static void comclass_init(VALUE under) {
|
|
17485
17485
|
VALUE c = cMouseButtonState
|
17486
17486
|
= rb_define_class_under(under, "MouseButtonState", cAbstractEnum);
|
17487
17487
|
no_instantiation(c);
|
17488
|
-
rb_const_set(c, _IID,
|
17488
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17489
17489
|
VALUE h = rb_hash_new();
|
17490
17490
|
rb_funcall(h, _bracketseq, 2, SYM("left_button"), ULL2NUM(1));
|
17491
17491
|
rb_funcall(h, _bracketseq, 2, SYM("right_button"), ULL2NUM(2));
|
@@ -17502,7 +17502,7 @@ static void comclass_init(VALUE under) {
|
|
17502
17502
|
VALUE c = cFramebufferPixelFormat
|
17503
17503
|
= rb_define_class_under(under, "FramebufferPixelFormat", cAbstractEnum);
|
17504
17504
|
no_instantiation(c);
|
17505
|
-
rb_const_set(c, _IID,
|
17505
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17506
17506
|
VALUE h = rb_hash_new();
|
17507
17507
|
rb_funcall(h, _bracketseq, 2, SYM("opaque"), ULL2NUM(0));
|
17508
17508
|
rb_funcall(h, _bracketseq, 2, SYM("fourcc_rgb"), ULL2NUM(843204434));
|
@@ -17513,7 +17513,7 @@ static void comclass_init(VALUE under) {
|
|
17513
17513
|
VALUE c = cNetworkAttachmentType
|
17514
17514
|
= rb_define_class_under(under, "NetworkAttachmentType", cAbstractEnum);
|
17515
17515
|
no_instantiation(c);
|
17516
|
-
rb_const_set(c, _IID,
|
17516
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17517
17517
|
VALUE h = rb_hash_new();
|
17518
17518
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17519
17519
|
rb_funcall(h, _bracketseq, 2, SYM("nat"), ULL2NUM(1));
|
@@ -17528,7 +17528,7 @@ static void comclass_init(VALUE under) {
|
|
17528
17528
|
VALUE c = cNetworkAdapterType
|
17529
17529
|
= rb_define_class_under(under, "NetworkAdapterType", cAbstractEnum);
|
17530
17530
|
no_instantiation(c);
|
17531
|
-
rb_const_set(c, _IID,
|
17531
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17532
17532
|
VALUE h = rb_hash_new();
|
17533
17533
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17534
17534
|
rb_funcall(h, _bracketseq, 2, SYM("am79c970a"), ULL2NUM(1));
|
@@ -17544,7 +17544,7 @@ static void comclass_init(VALUE under) {
|
|
17544
17544
|
VALUE c = cNetworkAdapterPromiscModePolicy
|
17545
17545
|
= rb_define_class_under(under, "NetworkAdapterPromiscModePolicy", cAbstractEnum);
|
17546
17546
|
no_instantiation(c);
|
17547
|
-
rb_const_set(c, _IID,
|
17547
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17548
17548
|
VALUE h = rb_hash_new();
|
17549
17549
|
rb_funcall(h, _bracketseq, 2, SYM("deny"), ULL2NUM(1));
|
17550
17550
|
rb_funcall(h, _bracketseq, 2, SYM("allow_network"), ULL2NUM(2));
|
@@ -17556,7 +17556,7 @@ static void comclass_init(VALUE under) {
|
|
17556
17556
|
VALUE c = cPortMode
|
17557
17557
|
= rb_define_class_under(under, "PortMode", cAbstractEnum);
|
17558
17558
|
no_instantiation(c);
|
17559
|
-
rb_const_set(c, _IID,
|
17559
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17560
17560
|
VALUE h = rb_hash_new();
|
17561
17561
|
rb_funcall(h, _bracketseq, 2, SYM("disconnected"), ULL2NUM(0));
|
17562
17562
|
rb_funcall(h, _bracketseq, 2, SYM("host_pipe"), ULL2NUM(1));
|
@@ -17569,7 +17569,7 @@ static void comclass_init(VALUE under) {
|
|
17569
17569
|
VALUE c = cUSBDeviceState
|
17570
17570
|
= rb_define_class_under(under, "USBDeviceState", cAbstractEnum);
|
17571
17571
|
no_instantiation(c);
|
17572
|
-
rb_const_set(c, _IID,
|
17572
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17573
17573
|
VALUE h = rb_hash_new();
|
17574
17574
|
rb_funcall(h, _bracketseq, 2, SYM("not_supported"), ULL2NUM(0));
|
17575
17575
|
rb_funcall(h, _bracketseq, 2, SYM("unavailable"), ULL2NUM(1));
|
@@ -17584,7 +17584,7 @@ static void comclass_init(VALUE under) {
|
|
17584
17584
|
VALUE c = cUSBDeviceFilterAction
|
17585
17585
|
= rb_define_class_under(under, "USBDeviceFilterAction", cAbstractEnum);
|
17586
17586
|
no_instantiation(c);
|
17587
|
-
rb_const_set(c, _IID,
|
17587
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17588
17588
|
VALUE h = rb_hash_new();
|
17589
17589
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17590
17590
|
rb_funcall(h, _bracketseq, 2, SYM("ignore"), ULL2NUM(1));
|
@@ -17596,7 +17596,7 @@ static void comclass_init(VALUE under) {
|
|
17596
17596
|
VALUE c = cAudioDriverType
|
17597
17597
|
= rb_define_class_under(under, "AudioDriverType", cAbstractEnum);
|
17598
17598
|
no_instantiation(c);
|
17599
|
-
rb_const_set(c, _IID,
|
17599
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17600
17600
|
VALUE h = rb_hash_new();
|
17601
17601
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17602
17602
|
rb_funcall(h, _bracketseq, 2, SYM("winmm"), ULL2NUM(1));
|
@@ -17614,7 +17614,7 @@ static void comclass_init(VALUE under) {
|
|
17614
17614
|
VALUE c = cAudioControllerType
|
17615
17615
|
= rb_define_class_under(under, "AudioControllerType", cAbstractEnum);
|
17616
17616
|
no_instantiation(c);
|
17617
|
-
rb_const_set(c, _IID,
|
17617
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17618
17618
|
VALUE h = rb_hash_new();
|
17619
17619
|
rb_funcall(h, _bracketseq, 2, SYM("ac97"), ULL2NUM(0));
|
17620
17620
|
rb_funcall(h, _bracketseq, 2, SYM("sb16"), ULL2NUM(1));
|
@@ -17626,7 +17626,7 @@ static void comclass_init(VALUE under) {
|
|
17626
17626
|
VALUE c = cAuthType
|
17627
17627
|
= rb_define_class_under(under, "AuthType", cAbstractEnum);
|
17628
17628
|
no_instantiation(c);
|
17629
|
-
rb_const_set(c, _IID,
|
17629
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17630
17630
|
VALUE h = rb_hash_new();
|
17631
17631
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17632
17632
|
rb_funcall(h, _bracketseq, 2, SYM("external"), ULL2NUM(1));
|
@@ -17638,7 +17638,7 @@ static void comclass_init(VALUE under) {
|
|
17638
17638
|
VALUE c = cStorageBus
|
17639
17639
|
= rb_define_class_under(under, "StorageBus", cAbstractEnum);
|
17640
17640
|
no_instantiation(c);
|
17641
|
-
rb_const_set(c, _IID,
|
17641
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17642
17642
|
VALUE h = rb_hash_new();
|
17643
17643
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17644
17644
|
rb_funcall(h, _bracketseq, 2, SYM("ide"), ULL2NUM(1));
|
@@ -17653,7 +17653,7 @@ static void comclass_init(VALUE under) {
|
|
17653
17653
|
VALUE c = cStorageControllerType
|
17654
17654
|
= rb_define_class_under(under, "StorageControllerType", cAbstractEnum);
|
17655
17655
|
no_instantiation(c);
|
17656
|
-
rb_const_set(c, _IID,
|
17656
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17657
17657
|
VALUE h = rb_hash_new();
|
17658
17658
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17659
17659
|
rb_funcall(h, _bracketseq, 2, SYM("lsi_logic"), ULL2NUM(1));
|
@@ -17671,7 +17671,7 @@ static void comclass_init(VALUE under) {
|
|
17671
17671
|
VALUE c = cChipsetType
|
17672
17672
|
= rb_define_class_under(under, "ChipsetType", cAbstractEnum);
|
17673
17673
|
no_instantiation(c);
|
17674
|
-
rb_const_set(c, _IID,
|
17674
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17675
17675
|
VALUE h = rb_hash_new();
|
17676
17676
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17677
17677
|
rb_funcall(h, _bracketseq, 2, SYM("piix3"), ULL2NUM(1));
|
@@ -17683,7 +17683,7 @@ static void comclass_init(VALUE under) {
|
|
17683
17683
|
VALUE c = cNATAliasMode
|
17684
17684
|
= rb_define_class_under(under, "NATAliasMode", cAbstractEnum);
|
17685
17685
|
no_instantiation(c);
|
17686
|
-
rb_const_set(c, _IID,
|
17686
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17687
17687
|
VALUE h = rb_hash_new();
|
17688
17688
|
rb_funcall(h, _bracketseq, 2, SYM("alias_log"), ULL2NUM(1));
|
17689
17689
|
rb_funcall(h, _bracketseq, 2, SYM("alias_proxy_only"), ULL2NUM(2));
|
@@ -17695,7 +17695,7 @@ static void comclass_init(VALUE under) {
|
|
17695
17695
|
VALUE c = cNATProtocol
|
17696
17696
|
= rb_define_class_under(under, "NATProtocol", cAbstractEnum);
|
17697
17697
|
no_instantiation(c);
|
17698
|
-
rb_const_set(c, _IID,
|
17698
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17699
17699
|
VALUE h = rb_hash_new();
|
17700
17700
|
rb_funcall(h, _bracketseq, 2, SYM("udp"), ULL2NUM(0));
|
17701
17701
|
rb_funcall(h, _bracketseq, 2, SYM("tcp"), ULL2NUM(1));
|
@@ -17706,7 +17706,7 @@ static void comclass_init(VALUE under) {
|
|
17706
17706
|
VALUE c = cBandwidthGroupType
|
17707
17707
|
= rb_define_class_under(under, "BandwidthGroupType", cAbstractEnum);
|
17708
17708
|
no_instantiation(c);
|
17709
|
-
rb_const_set(c, _IID,
|
17709
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17710
17710
|
VALUE h = rb_hash_new();
|
17711
17711
|
rb_funcall(h, _bracketseq, 2, SYM("null"), ULL2NUM(0));
|
17712
17712
|
rb_funcall(h, _bracketseq, 2, SYM("disk"), ULL2NUM(1));
|
@@ -17718,7 +17718,7 @@ static void comclass_init(VALUE under) {
|
|
17718
17718
|
VALUE c = cVBoxEventType
|
17719
17719
|
= rb_define_class_under(under, "VBoxEventType", cAbstractEnum);
|
17720
17720
|
no_instantiation(c);
|
17721
|
-
rb_const_set(c, _IID,
|
17721
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17722
17722
|
VALUE h = rb_hash_new();
|
17723
17723
|
rb_funcall(h, _bracketseq, 2, SYM("invalid"), ULL2NUM(0));
|
17724
17724
|
rb_funcall(h, _bracketseq, 2, SYM("any"), ULL2NUM(1));
|
@@ -17777,7 +17777,7 @@ static void comclass_init(VALUE under) {
|
|
17777
17777
|
VALUE c = cGuestMonitorChangedEventType
|
17778
17778
|
= rb_define_class_under(under, "GuestMonitorChangedEventType", cAbstractEnum);
|
17779
17779
|
no_instantiation(c);
|
17780
|
-
rb_const_set(c, _IID,
|
17780
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17781
17781
|
VALUE h = rb_hash_new();
|
17782
17782
|
rb_funcall(h, _bracketseq, 2, SYM("enabled"), ULL2NUM(0));
|
17783
17783
|
rb_funcall(h, _bracketseq, 2, SYM("disabled"), ULL2NUM(1));
|
@@ -17789,7 +17789,7 @@ static void comclass_init(VALUE under) {
|
|
17789
17789
|
VALUE c = cVirtualBoxErrorInfo
|
17790
17790
|
= rb_define_class_under(under, "VirtualBoxErrorInfo", cNSIException);
|
17791
17791
|
no_instantiation(c);
|
17792
|
-
rb_const_set(c, _IID,
|
17792
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17793
17793
|
rb_define_method(c, "result_code", VirtualBoxErrorInfo__get_result_code, 0);
|
17794
17794
|
rb_define_method(c, "interface_i_d", VirtualBoxErrorInfo__get_interface_i_d, 0);
|
17795
17795
|
rb_define_method(c, "component", VirtualBoxErrorInfo__get_component, 0);
|
@@ -17801,7 +17801,7 @@ static void comclass_init(VALUE under) {
|
|
17801
17801
|
VALUE c = cDHCPServer
|
17802
17802
|
= rb_define_class_under(under, "DHCPServer", cNSISupports);
|
17803
17803
|
no_instantiation(c);
|
17804
|
-
rb_const_set(c, _IID,
|
17804
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17805
17805
|
rb_define_method(c, "enabled", DHCPServer__get_enabled, 0);
|
17806
17806
|
rb_define_method(c, "enabled=", DHCPServer__set_enabled, 1);
|
17807
17807
|
rb_define_method(c, "ip_address", DHCPServer__get_ip_address, 0);
|
@@ -17818,7 +17818,7 @@ static void comclass_init(VALUE under) {
|
|
17818
17818
|
VALUE c = cVirtualBox
|
17819
17819
|
= rb_define_class_under(under, "VirtualBox", cNSISupports);
|
17820
17820
|
no_instantiation(c);
|
17821
|
-
rb_const_set(c, _IID,
|
17821
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17822
17822
|
rb_define_method(c, "version", VirtualBox__get_version, 0);
|
17823
17823
|
rb_define_method(c, "version_normalized", VirtualBox__get_version_normalized, 0);
|
17824
17824
|
rb_define_method(c, "revision", VirtualBox__get_revision, 0);
|
@@ -17869,7 +17869,7 @@ static void comclass_init(VALUE under) {
|
|
17869
17869
|
VALUE c = cVFSExplorer
|
17870
17870
|
= rb_define_class_under(under, "VFSExplorer", cNSISupports);
|
17871
17871
|
no_instantiation(c);
|
17872
|
-
rb_const_set(c, _IID,
|
17872
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17873
17873
|
rb_define_method(c, "path", VFSExplorer__get_path, 0);
|
17874
17874
|
rb_define_method(c, "type", VFSExplorer__get_type, 0);
|
17875
17875
|
rb_define_method(c, "update", VFSExplorer__update, 0);
|
@@ -17884,7 +17884,7 @@ static void comclass_init(VALUE under) {
|
|
17884
17884
|
VALUE c = cAppliance
|
17885
17885
|
= rb_define_class_under(under, "Appliance", cNSISupports);
|
17886
17886
|
no_instantiation(c);
|
17887
|
-
rb_const_set(c, _IID,
|
17887
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17888
17888
|
rb_define_method(c, "path", Appliance__get_path, 0);
|
17889
17889
|
rb_define_method(c, "disks", Appliance__get_disks, 0);
|
17890
17890
|
rb_define_method(c, "virtual_system_descriptions", Appliance__get_virtual_system_descriptions, 0);
|
@@ -17901,7 +17901,7 @@ static void comclass_init(VALUE under) {
|
|
17901
17901
|
VALUE c = cVirtualSystemDescription
|
17902
17902
|
= rb_define_class_under(under, "VirtualSystemDescription", cNSISupports);
|
17903
17903
|
no_instantiation(c);
|
17904
|
-
rb_const_set(c, _IID,
|
17904
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17905
17905
|
rb_define_method(c, "count", VirtualSystemDescription__get_count, 0);
|
17906
17906
|
rb_define_method(c, "get_description", VirtualSystemDescription__get_description, 0);
|
17907
17907
|
rb_define_method(c, "get_description_by_type", VirtualSystemDescription__get_description_by_type, 1);
|
@@ -17914,7 +17914,7 @@ static void comclass_init(VALUE under) {
|
|
17914
17914
|
VALUE c = cInternalMachineControl
|
17915
17915
|
= rb_define_class_under(under, "InternalMachineControl", cNSISupports);
|
17916
17916
|
no_instantiation(c);
|
17917
|
-
rb_const_set(c, _IID,
|
17917
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17918
17918
|
rb_define_method(c, "set_remove_saved_state_file", InternalMachineControl__set_remove_saved_state_file, 1);
|
17919
17919
|
rb_define_method(c, "update_state", InternalMachineControl__update_state, 1);
|
17920
17920
|
rb_define_method(c, "get_ipcid", InternalMachineControl__get_ipcid, 0);
|
@@ -17947,7 +17947,7 @@ static void comclass_init(VALUE under) {
|
|
17947
17947
|
VALUE c = cBIOSSettings
|
17948
17948
|
= rb_define_class_under(under, "BIOSSettings", cNSISupports);
|
17949
17949
|
no_instantiation(c);
|
17950
|
-
rb_const_set(c, _IID,
|
17950
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17951
17951
|
rb_define_method(c, "logo_fade_in", BIOSSettings__get_logo_fade_in, 0);
|
17952
17952
|
rb_define_method(c, "logo_fade_in=", BIOSSettings__set_logo_fade_in, 1);
|
17953
17953
|
rb_define_method(c, "logo_fade_out", BIOSSettings__get_logo_fade_out, 0);
|
@@ -17972,7 +17972,7 @@ static void comclass_init(VALUE under) {
|
|
17972
17972
|
VALUE c = cPCIAddress
|
17973
17973
|
= rb_define_class_under(under, "PCIAddress", cNSISupports);
|
17974
17974
|
no_instantiation(c);
|
17975
|
-
rb_const_set(c, _IID,
|
17975
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17976
17976
|
rb_define_method(c, "bus", PCIAddress__get_bus, 0);
|
17977
17977
|
rb_define_method(c, "bus=", PCIAddress__set_bus, 1);
|
17978
17978
|
rb_define_method(c, "device", PCIAddress__get_device, 0);
|
@@ -17987,7 +17987,7 @@ static void comclass_init(VALUE under) {
|
|
17987
17987
|
VALUE c = cPCIDeviceAttachment
|
17988
17988
|
= rb_define_class_under(under, "PCIDeviceAttachment", cNSISupports);
|
17989
17989
|
no_instantiation(c);
|
17990
|
-
rb_const_set(c, _IID,
|
17990
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
17991
17991
|
rb_define_method(c, "name", PCIDeviceAttachment__get_name, 0);
|
17992
17992
|
rb_define_method(c, "is_physical_device", PCIDeviceAttachment__get_is_physical_device, 0);
|
17993
17993
|
rb_define_method(c, "host_address", PCIDeviceAttachment__get_host_address, 0);
|
@@ -17998,7 +17998,7 @@ static void comclass_init(VALUE under) {
|
|
17998
17998
|
VALUE c = cMachine
|
17999
17999
|
= rb_define_class_under(under, "Machine", cNSISupports);
|
18000
18000
|
no_instantiation(c);
|
18001
|
-
rb_const_set(c, _IID,
|
18001
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18002
18002
|
rb_define_method(c, "parent", Machine__get_parent, 0);
|
18003
18003
|
rb_define_method(c, "accessible", Machine__get_accessible, 0);
|
18004
18004
|
rb_define_method(c, "access_error", Machine__get_access_error, 0);
|
@@ -18196,7 +18196,7 @@ static void comclass_init(VALUE under) {
|
|
18196
18196
|
VALUE c = cVRDEServerInfo
|
18197
18197
|
= rb_define_class_under(under, "VRDEServerInfo", cNSISupports);
|
18198
18198
|
no_instantiation(c);
|
18199
|
-
rb_const_set(c, _IID,
|
18199
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18200
18200
|
rb_define_method(c, "active", VRDEServerInfo__get_active, 0);
|
18201
18201
|
rb_define_method(c, "port", VRDEServerInfo__get_port, 0);
|
18202
18202
|
rb_define_method(c, "number_of_clients", VRDEServerInfo__get_number_of_clients, 0);
|
@@ -18218,7 +18218,7 @@ static void comclass_init(VALUE under) {
|
|
18218
18218
|
VALUE c = cConsole
|
18219
18219
|
= rb_define_class_under(under, "Console", cNSISupports);
|
18220
18220
|
no_instantiation(c);
|
18221
|
-
rb_const_set(c, _IID,
|
18221
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18222
18222
|
rb_define_method(c, "machine", Console__get_machine, 0);
|
18223
18223
|
rb_define_method(c, "state", Console__get_state, 0);
|
18224
18224
|
rb_define_method(c, "guest", Console__get_guest, 0);
|
@@ -18266,7 +18266,7 @@ static void comclass_init(VALUE under) {
|
|
18266
18266
|
VALUE c = cHostNetworkInterface
|
18267
18267
|
= rb_define_class_under(under, "HostNetworkInterface", cNSISupports);
|
18268
18268
|
no_instantiation(c);
|
18269
|
-
rb_const_set(c, _IID,
|
18269
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18270
18270
|
rb_define_method(c, "name", HostNetworkInterface__get_name, 0);
|
18271
18271
|
rb_define_method(c, "id", HostNetworkInterface__get_id, 0);
|
18272
18272
|
rb_define_method(c, "network_name", HostNetworkInterface__get_network_name, 0);
|
@@ -18290,7 +18290,7 @@ static void comclass_init(VALUE under) {
|
|
18290
18290
|
VALUE c = cHost
|
18291
18291
|
= rb_define_class_under(under, "Host", cNSISupports);
|
18292
18292
|
no_instantiation(c);
|
18293
|
-
rb_const_set(c, _IID,
|
18293
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18294
18294
|
rb_define_method(c, "dvd_drives", Host__get_dvd_drives, 0);
|
18295
18295
|
rb_define_method(c, "floppy_drives", Host__get_floppy_drives, 0);
|
18296
18296
|
rb_define_method(c, "usb_devices", Host__get_usb_devices, 0);
|
@@ -18328,7 +18328,7 @@ static void comclass_init(VALUE under) {
|
|
18328
18328
|
VALUE c = cSystemProperties
|
18329
18329
|
= rb_define_class_under(under, "SystemProperties", cNSISupports);
|
18330
18330
|
no_instantiation(c);
|
18331
|
-
rb_const_set(c, _IID,
|
18331
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18332
18332
|
rb_define_method(c, "min_guest_ram", SystemProperties__get_min_guest_ram, 0);
|
18333
18333
|
rb_define_method(c, "max_guest_ram", SystemProperties__get_max_guest_ram, 0);
|
18334
18334
|
rb_define_method(c, "min_guest_vram", SystemProperties__get_min_guest_vram, 0);
|
@@ -18380,7 +18380,7 @@ static void comclass_init(VALUE under) {
|
|
18380
18380
|
VALUE c = cGuestOSType
|
18381
18381
|
= rb_define_class_under(under, "GuestOSType", cNSISupports);
|
18382
18382
|
no_instantiation(c);
|
18383
|
-
rb_const_set(c, _IID,
|
18383
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18384
18384
|
rb_define_method(c, "family_id", GuestOSType__get_family_id, 0);
|
18385
18385
|
rb_define_method(c, "family_description", GuestOSType__get_family_description, 0);
|
18386
18386
|
rb_define_method(c, "id", GuestOSType__get_id, 0);
|
@@ -18414,7 +18414,7 @@ static void comclass_init(VALUE under) {
|
|
18414
18414
|
VALUE c = cAdditionsFacility
|
18415
18415
|
= rb_define_class_under(under, "AdditionsFacility", cNSISupports);
|
18416
18416
|
no_instantiation(c);
|
18417
|
-
rb_const_set(c, _IID,
|
18417
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18418
18418
|
rb_define_method(c, "class_type", AdditionsFacility__get_class_type, 0);
|
18419
18419
|
rb_define_method(c, "last_updated", AdditionsFacility__get_last_updated, 0);
|
18420
18420
|
rb_define_method(c, "name", AdditionsFacility__get_name, 0);
|
@@ -18426,7 +18426,7 @@ static void comclass_init(VALUE under) {
|
|
18426
18426
|
VALUE c = cGuestSession
|
18427
18427
|
= rb_define_class_under(under, "GuestSession", cNSISupports);
|
18428
18428
|
no_instantiation(c);
|
18429
|
-
rb_const_set(c, _IID,
|
18429
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18430
18430
|
rb_define_method(c, "user", GuestSession__get_user, 0);
|
18431
18431
|
rb_define_method(c, "domain", GuestSession__get_domain, 0);
|
18432
18432
|
rb_define_method(c, "name", GuestSession__get_name, 0);
|
@@ -18475,7 +18475,7 @@ static void comclass_init(VALUE under) {
|
|
18475
18475
|
VALUE c = cProcess
|
18476
18476
|
= rb_define_class_under(under, "Process", cNSISupports);
|
18477
18477
|
no_instantiation(c);
|
18478
|
-
rb_const_set(c, _IID,
|
18478
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18479
18479
|
rb_define_method(c, "pid", Process__get_pid, 0);
|
18480
18480
|
rb_define_method(c, "status", Process__get_status, 0);
|
18481
18481
|
rb_define_method(c, "exit_code", Process__get_exit_code, 0);
|
@@ -18495,14 +18495,14 @@ static void comclass_init(VALUE under) {
|
|
18495
18495
|
VALUE c = cGuestProcess
|
18496
18496
|
= rb_define_class_under(under, "GuestProcess", cProcess);
|
18497
18497
|
no_instantiation(c);
|
18498
|
-
rb_const_set(c, _IID,
|
18498
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18499
18499
|
}
|
18500
18500
|
{
|
18501
18501
|
iid_t iid = {0x1b70dd03, 0x26d7, 0x483a, {0x88, 0x77, 0x89, 0xbb, 0xb0, 0xf8, 0x7b, 0x70}};
|
18502
18502
|
VALUE c = cDirectory
|
18503
18503
|
= rb_define_class_under(under, "Directory", cNSISupports);
|
18504
18504
|
no_instantiation(c);
|
18505
|
-
rb_const_set(c, _IID,
|
18505
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18506
18506
|
rb_define_method(c, "directory_name", Directory__get_directory_name, 0);
|
18507
18507
|
rb_define_method(c, "filter", Directory__get_filter, 0);
|
18508
18508
|
rb_define_method(c, "close", Directory__close, 0);
|
@@ -18513,14 +18513,14 @@ static void comclass_init(VALUE under) {
|
|
18513
18513
|
VALUE c = cGuestDirectory
|
18514
18514
|
= rb_define_class_under(under, "GuestDirectory", cDirectory);
|
18515
18515
|
no_instantiation(c);
|
18516
|
-
rb_const_set(c, _IID,
|
18516
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18517
18517
|
}
|
18518
18518
|
{
|
18519
18519
|
iid_t iid = {0xb702a560, 0x6139, 0x4a8e, {0xa8, 0x92, 0xbb, 0xf1, 0x4b, 0x97, 0xbf, 0x97}};
|
18520
18520
|
VALUE c = cFile
|
18521
18521
|
= rb_define_class_under(under, "File", cNSISupports);
|
18522
18522
|
no_instantiation(c);
|
18523
|
-
rb_const_set(c, _IID,
|
18523
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18524
18524
|
rb_define_method(c, "creation_mode", File__get_creation_mode, 0);
|
18525
18525
|
rb_define_method(c, "disposition", File__get_disposition, 0);
|
18526
18526
|
rb_define_method(c, "file_name", File__get_file_name, 0);
|
@@ -18541,14 +18541,14 @@ static void comclass_init(VALUE under) {
|
|
18541
18541
|
VALUE c = cGuestFile
|
18542
18542
|
= rb_define_class_under(under, "GuestFile", cFile);
|
18543
18543
|
no_instantiation(c);
|
18544
|
-
rb_const_set(c, _IID,
|
18544
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18545
18545
|
}
|
18546
18546
|
{
|
18547
18547
|
iid_t iid = {0x4047ba30, 0x7006, 0x4966, {0xae, 0x86, 0x94, 0x16, 0x4e, 0x5e, 0x20, 0xeb}};
|
18548
18548
|
VALUE c = cFsObjInfo
|
18549
18549
|
= rb_define_class_under(under, "FsObjInfo", cNSISupports);
|
18550
18550
|
no_instantiation(c);
|
18551
|
-
rb_const_set(c, _IID,
|
18551
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18552
18552
|
rb_define_method(c, "access_time", FsObjInfo__get_access_time, 0);
|
18553
18553
|
rb_define_method(c, "allocated_size", FsObjInfo__get_allocated_size, 0);
|
18554
18554
|
rb_define_method(c, "birth_time", FsObjInfo__get_birth_time, 0);
|
@@ -18574,14 +18574,14 @@ static void comclass_init(VALUE under) {
|
|
18574
18574
|
VALUE c = cGuestFsObjInfo
|
18575
18575
|
= rb_define_class_under(under, "GuestFsObjInfo", cFsObjInfo);
|
18576
18576
|
no_instantiation(c);
|
18577
|
-
rb_const_set(c, _IID,
|
18577
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18578
18578
|
}
|
18579
18579
|
{
|
18580
18580
|
iid_t iid = {0x19c32350, 0x0618, 0x4ede, {0xb0, 0xc3, 0x2b, 0x43, 0x11, 0xbf, 0x0d, 0x9b}};
|
18581
18581
|
VALUE c = cGuest
|
18582
18582
|
= rb_define_class_under(under, "Guest", cNSISupports);
|
18583
18583
|
no_instantiation(c);
|
18584
|
-
rb_const_set(c, _IID,
|
18584
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18585
18585
|
rb_define_method(c, "os_type_id", Guest__get_os_type_id, 0);
|
18586
18586
|
rb_define_method(c, "additions_run_level", Guest__get_additions_run_level, 0);
|
18587
18587
|
rb_define_method(c, "additions_version", Guest__get_additions_version, 0);
|
@@ -18613,7 +18613,7 @@ static void comclass_init(VALUE under) {
|
|
18613
18613
|
VALUE c = cProgress
|
18614
18614
|
= rb_define_class_under(under, "Progress", cNSISupports);
|
18615
18615
|
no_instantiation(c);
|
18616
|
-
rb_const_set(c, _IID,
|
18616
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18617
18617
|
rb_define_method(c, "id", Progress__get_id, 0);
|
18618
18618
|
rb_define_method(c, "description", Progress__get_description, 0);
|
18619
18619
|
rb_define_method(c, "initiator", Progress__get_initiator, 0);
|
@@ -18643,7 +18643,7 @@ static void comclass_init(VALUE under) {
|
|
18643
18643
|
VALUE c = cSnapshot
|
18644
18644
|
= rb_define_class_under(under, "Snapshot", cNSISupports);
|
18645
18645
|
no_instantiation(c);
|
18646
|
-
rb_const_set(c, _IID,
|
18646
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18647
18647
|
rb_define_method(c, "id", Snapshot__get_id, 0);
|
18648
18648
|
rb_define_method(c, "name", Snapshot__get_name, 0);
|
18649
18649
|
rb_define_method(c, "name=", Snapshot__set_name, 1);
|
@@ -18661,7 +18661,7 @@ static void comclass_init(VALUE under) {
|
|
18661
18661
|
VALUE c = cMediumAttachment
|
18662
18662
|
= rb_define_class_under(under, "MediumAttachment", cNSISupports);
|
18663
18663
|
no_instantiation(c);
|
18664
|
-
rb_const_set(c, _IID,
|
18664
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18665
18665
|
rb_define_method(c, "medium", MediumAttachment__get_medium, 0);
|
18666
18666
|
rb_define_method(c, "controller", MediumAttachment__get_controller, 0);
|
18667
18667
|
rb_define_method(c, "port", MediumAttachment__get_port, 0);
|
@@ -18679,7 +18679,7 @@ static void comclass_init(VALUE under) {
|
|
18679
18679
|
VALUE c = cMedium
|
18680
18680
|
= rb_define_class_under(under, "Medium", cNSISupports);
|
18681
18681
|
no_instantiation(c);
|
18682
|
-
rb_const_set(c, _IID,
|
18682
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18683
18683
|
rb_define_method(c, "id", Medium__get_id, 0);
|
18684
18684
|
rb_define_method(c, "description", Medium__get_description, 0);
|
18685
18685
|
rb_define_method(c, "description=", Medium__set_description, 1);
|
@@ -18732,7 +18732,7 @@ static void comclass_init(VALUE under) {
|
|
18732
18732
|
VALUE c = cMediumFormat
|
18733
18733
|
= rb_define_class_under(under, "MediumFormat", cNSISupports);
|
18734
18734
|
no_instantiation(c);
|
18735
|
-
rb_const_set(c, _IID,
|
18735
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18736
18736
|
rb_define_method(c, "id", MediumFormat__get_id, 0);
|
18737
18737
|
rb_define_method(c, "name", MediumFormat__get_name, 0);
|
18738
18738
|
rb_define_method(c, "capabilities", MediumFormat__get_capabilities, 0);
|
@@ -18744,7 +18744,7 @@ static void comclass_init(VALUE under) {
|
|
18744
18744
|
VALUE c = cKeyboard
|
18745
18745
|
= rb_define_class_under(under, "Keyboard", cNSISupports);
|
18746
18746
|
no_instantiation(c);
|
18747
|
-
rb_const_set(c, _IID,
|
18747
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18748
18748
|
rb_define_method(c, "event_source", Keyboard__get_event_source, 0);
|
18749
18749
|
rb_define_method(c, "put_scancode", Keyboard__put_scancode, 1);
|
18750
18750
|
rb_define_method(c, "put_scancodes", Keyboard__put_scancodes, 1);
|
@@ -18755,7 +18755,7 @@ static void comclass_init(VALUE under) {
|
|
18755
18755
|
VALUE c = cMouse
|
18756
18756
|
= rb_define_class_under(under, "Mouse", cNSISupports);
|
18757
18757
|
no_instantiation(c);
|
18758
|
-
rb_const_set(c, _IID,
|
18758
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18759
18759
|
rb_define_method(c, "absolute_supported", Mouse__get_absolute_supported, 0);
|
18760
18760
|
rb_define_method(c, "relative_supported", Mouse__get_relative_supported, 0);
|
18761
18761
|
rb_define_method(c, "needs_host_cursor", Mouse__get_needs_host_cursor, 0);
|
@@ -18768,7 +18768,7 @@ static void comclass_init(VALUE under) {
|
|
18768
18768
|
VALUE c = cFramebuffer
|
18769
18769
|
= rb_define_class_under(under, "Framebuffer", cNSISupports);
|
18770
18770
|
no_instantiation(c);
|
18771
|
-
rb_const_set(c, _IID,
|
18771
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18772
18772
|
rb_define_method(c, "address", Framebuffer__get_address, 0);
|
18773
18773
|
rb_define_method(c, "width", Framebuffer__get_width, 0);
|
18774
18774
|
rb_define_method(c, "height", Framebuffer__get_height, 0);
|
@@ -18793,7 +18793,7 @@ static void comclass_init(VALUE under) {
|
|
18793
18793
|
VALUE c = cFramebufferOverlay
|
18794
18794
|
= rb_define_class_under(under, "FramebufferOverlay", cFramebuffer);
|
18795
18795
|
no_instantiation(c);
|
18796
|
-
rb_const_set(c, _IID,
|
18796
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18797
18797
|
rb_define_method(c, "x", FramebufferOverlay__get_x, 0);
|
18798
18798
|
rb_define_method(c, "y", FramebufferOverlay__get_y, 0);
|
18799
18799
|
rb_define_method(c, "visible", FramebufferOverlay__get_visible, 0);
|
@@ -18805,7 +18805,7 @@ static void comclass_init(VALUE under) {
|
|
18805
18805
|
VALUE c = cDisplay
|
18806
18806
|
= rb_define_class_under(under, "Display", cNSISupports);
|
18807
18807
|
no_instantiation(c);
|
18808
|
-
rb_const_set(c, _IID,
|
18808
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18809
18809
|
rb_define_method(c, "get_screen_resolution", Display__get_screen_resolution, 1);
|
18810
18810
|
rb_define_method(c, "set_framebuffer", Display__set_framebuffer, 2);
|
18811
18811
|
rb_define_method(c, "get_framebuffer", Display__get_framebuffer, 1);
|
@@ -18825,7 +18825,7 @@ static void comclass_init(VALUE under) {
|
|
18825
18825
|
VALUE c = cNetworkAdapter
|
18826
18826
|
= rb_define_class_under(under, "NetworkAdapter", cNSISupports);
|
18827
18827
|
no_instantiation(c);
|
18828
|
-
rb_const_set(c, _IID,
|
18828
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18829
18829
|
rb_define_method(c, "adapter_type", NetworkAdapter__get_adapter_type, 0);
|
18830
18830
|
rb_define_method(c, "adapter_type=", NetworkAdapter__set_adapter_type, 1);
|
18831
18831
|
rb_define_method(c, "slot", NetworkAdapter__get_slot, 0);
|
@@ -18869,7 +18869,7 @@ static void comclass_init(VALUE under) {
|
|
18869
18869
|
VALUE c = cSerialPort
|
18870
18870
|
= rb_define_class_under(under, "SerialPort", cNSISupports);
|
18871
18871
|
no_instantiation(c);
|
18872
|
-
rb_const_set(c, _IID,
|
18872
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18873
18873
|
rb_define_method(c, "slot", SerialPort__get_slot, 0);
|
18874
18874
|
rb_define_method(c, "enabled", SerialPort__get_enabled, 0);
|
18875
18875
|
rb_define_method(c, "enabled=", SerialPort__set_enabled, 1);
|
@@ -18889,7 +18889,7 @@ static void comclass_init(VALUE under) {
|
|
18889
18889
|
VALUE c = cParallelPort
|
18890
18890
|
= rb_define_class_under(under, "ParallelPort", cNSISupports);
|
18891
18891
|
no_instantiation(c);
|
18892
|
-
rb_const_set(c, _IID,
|
18892
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18893
18893
|
rb_define_method(c, "slot", ParallelPort__get_slot, 0);
|
18894
18894
|
rb_define_method(c, "enabled", ParallelPort__get_enabled, 0);
|
18895
18895
|
rb_define_method(c, "enabled=", ParallelPort__set_enabled, 1);
|
@@ -18905,7 +18905,7 @@ static void comclass_init(VALUE under) {
|
|
18905
18905
|
VALUE c = cMachineDebugger
|
18906
18906
|
= rb_define_class_under(under, "MachineDebugger", cNSISupports);
|
18907
18907
|
no_instantiation(c);
|
18908
|
-
rb_const_set(c, _IID,
|
18908
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18909
18909
|
rb_define_method(c, "single_step", MachineDebugger__get_single_step, 0);
|
18910
18910
|
rb_define_method(c, "single_step=", MachineDebugger__set_single_step, 1);
|
18911
18911
|
rb_define_method(c, "recompile_user", MachineDebugger__get_recompile_user, 0);
|
@@ -18959,7 +18959,7 @@ static void comclass_init(VALUE under) {
|
|
18959
18959
|
VALUE c = cUSBController
|
18960
18960
|
= rb_define_class_under(under, "USBController", cNSISupports);
|
18961
18961
|
no_instantiation(c);
|
18962
|
-
rb_const_set(c, _IID,
|
18962
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18963
18963
|
rb_define_method(c, "enabled", USBController__get_enabled, 0);
|
18964
18964
|
rb_define_method(c, "enabled=", USBController__set_enabled, 1);
|
18965
18965
|
rb_define_method(c, "enabled_ehci", USBController__get_enabled_ehci, 0);
|
@@ -18976,7 +18976,7 @@ static void comclass_init(VALUE under) {
|
|
18976
18976
|
VALUE c = cUSBDevice
|
18977
18977
|
= rb_define_class_under(under, "USBDevice", cNSISupports);
|
18978
18978
|
no_instantiation(c);
|
18979
|
-
rb_const_set(c, _IID,
|
18979
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18980
18980
|
rb_define_method(c, "id", USBDevice__get_id, 0);
|
18981
18981
|
rb_define_method(c, "vendor_id", USBDevice__get_vendor_id, 0);
|
18982
18982
|
rb_define_method(c, "product_id", USBDevice__get_product_id, 0);
|
@@ -18995,7 +18995,7 @@ static void comclass_init(VALUE under) {
|
|
18995
18995
|
VALUE c = cUSBDeviceFilter
|
18996
18996
|
= rb_define_class_under(under, "USBDeviceFilter", cNSISupports);
|
18997
18997
|
no_instantiation(c);
|
18998
|
-
rb_const_set(c, _IID,
|
18998
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
18999
18999
|
rb_define_method(c, "name", USBDeviceFilter__get_name, 0);
|
19000
19000
|
rb_define_method(c, "name=", USBDeviceFilter__set_name, 1);
|
19001
19001
|
rb_define_method(c, "active", USBDeviceFilter__get_active, 0);
|
@@ -19024,7 +19024,7 @@ static void comclass_init(VALUE under) {
|
|
19024
19024
|
VALUE c = cHostUSBDevice
|
19025
19025
|
= rb_define_class_under(under, "HostUSBDevice", cUSBDevice);
|
19026
19026
|
no_instantiation(c);
|
19027
|
-
rb_const_set(c, _IID,
|
19027
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19028
19028
|
rb_define_method(c, "state", HostUSBDevice__get_state, 0);
|
19029
19029
|
}
|
19030
19030
|
{
|
@@ -19032,7 +19032,7 @@ static void comclass_init(VALUE under) {
|
|
19032
19032
|
VALUE c = cHostUSBDeviceFilter
|
19033
19033
|
= rb_define_class_under(under, "HostUSBDeviceFilter", cUSBDeviceFilter);
|
19034
19034
|
no_instantiation(c);
|
19035
|
-
rb_const_set(c, _IID,
|
19035
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19036
19036
|
rb_define_method(c, "action", HostUSBDeviceFilter__get_action, 0);
|
19037
19037
|
rb_define_method(c, "action=", HostUSBDeviceFilter__set_action, 1);
|
19038
19038
|
}
|
@@ -19041,7 +19041,7 @@ static void comclass_init(VALUE under) {
|
|
19041
19041
|
VALUE c = cAudioAdapter
|
19042
19042
|
= rb_define_class_under(under, "AudioAdapter", cNSISupports);
|
19043
19043
|
no_instantiation(c);
|
19044
|
-
rb_const_set(c, _IID,
|
19044
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19045
19045
|
rb_define_method(c, "enabled", AudioAdapter__get_enabled, 0);
|
19046
19046
|
rb_define_method(c, "enabled=", AudioAdapter__set_enabled, 1);
|
19047
19047
|
rb_define_method(c, "audio_controller", AudioAdapter__get_audio_controller, 0);
|
@@ -19054,7 +19054,7 @@ static void comclass_init(VALUE under) {
|
|
19054
19054
|
VALUE c = cVRDEServer
|
19055
19055
|
= rb_define_class_under(under, "VRDEServer", cNSISupports);
|
19056
19056
|
no_instantiation(c);
|
19057
|
-
rb_const_set(c, _IID,
|
19057
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19058
19058
|
rb_define_method(c, "enabled", VRDEServer__get_enabled, 0);
|
19059
19059
|
rb_define_method(c, "enabled=", VRDEServer__set_enabled, 1);
|
19060
19060
|
rb_define_method(c, "auth_type", VRDEServer__get_auth_type, 0);
|
@@ -19078,7 +19078,7 @@ static void comclass_init(VALUE under) {
|
|
19078
19078
|
VALUE c = cSharedFolder
|
19079
19079
|
= rb_define_class_under(under, "SharedFolder", cNSISupports);
|
19080
19080
|
no_instantiation(c);
|
19081
|
-
rb_const_set(c, _IID,
|
19081
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19082
19082
|
rb_define_method(c, "name", SharedFolder__get_name, 0);
|
19083
19083
|
rb_define_method(c, "host_path", SharedFolder__get_host_path, 0);
|
19084
19084
|
rb_define_method(c, "accessible", SharedFolder__get_accessible, 0);
|
@@ -19091,7 +19091,7 @@ static void comclass_init(VALUE under) {
|
|
19091
19091
|
VALUE c = cInternalSessionControl
|
19092
19092
|
= rb_define_class_under(under, "InternalSessionControl", cNSISupports);
|
19093
19093
|
no_instantiation(c);
|
19094
|
-
rb_const_set(c, _IID,
|
19094
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19095
19095
|
rb_define_method(c, "get_pid", InternalSessionControl__get_pid, 0);
|
19096
19096
|
rb_define_method(c, "get_remote_console", InternalSessionControl__get_remote_console, 0);
|
19097
19097
|
rb_define_method(c, "assign_machine", InternalSessionControl__assign_machine, 2);
|
@@ -19125,7 +19125,7 @@ static void comclass_init(VALUE under) {
|
|
19125
19125
|
VALUE c = cSession
|
19126
19126
|
= rb_define_class_under(under, "Session", cNSISupports);
|
19127
19127
|
no_instantiation(c);
|
19128
|
-
rb_const_set(c, _IID,
|
19128
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19129
19129
|
rb_define_method(c, "state", Session__get_state, 0);
|
19130
19130
|
rb_define_method(c, "type", Session__get_type, 0);
|
19131
19131
|
rb_define_method(c, "machine", Session__get_machine, 0);
|
@@ -19137,7 +19137,7 @@ static void comclass_init(VALUE under) {
|
|
19137
19137
|
VALUE c = cStorageController
|
19138
19138
|
= rb_define_class_under(under, "StorageController", cNSISupports);
|
19139
19139
|
no_instantiation(c);
|
19140
|
-
rb_const_set(c, _IID,
|
19140
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19141
19141
|
rb_define_method(c, "name", StorageController__get_name, 0);
|
19142
19142
|
rb_define_method(c, "max_devices_per_port_count", StorageController__get_max_devices_per_port_count, 0);
|
19143
19143
|
rb_define_method(c, "min_port_count", StorageController__get_min_port_count, 0);
|
@@ -19158,7 +19158,7 @@ static void comclass_init(VALUE under) {
|
|
19158
19158
|
VALUE c = cPerformanceMetric
|
19159
19159
|
= rb_define_class_under(under, "PerformanceMetric", cNSISupports);
|
19160
19160
|
no_instantiation(c);
|
19161
|
-
rb_const_set(c, _IID,
|
19161
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19162
19162
|
rb_define_method(c, "metric_name", PerformanceMetric__get_metric_name, 0);
|
19163
19163
|
rb_define_method(c, "object", PerformanceMetric__get_object, 0);
|
19164
19164
|
rb_define_method(c, "description", PerformanceMetric__get_description, 0);
|
@@ -19173,7 +19173,7 @@ static void comclass_init(VALUE under) {
|
|
19173
19173
|
VALUE c = cPerformanceCollector
|
19174
19174
|
= rb_define_class_under(under, "PerformanceCollector", cNSISupports);
|
19175
19175
|
no_instantiation(c);
|
19176
|
-
rb_const_set(c, _IID,
|
19176
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19177
19177
|
rb_define_method(c, "metric_names", PerformanceCollector__get_metric_names, 0);
|
19178
19178
|
rb_define_method(c, "get_metrics", PerformanceCollector__get_metrics, 2);
|
19179
19179
|
rb_define_method(c, "setup_metrics", PerformanceCollector__setup_metrics, 4);
|
@@ -19186,7 +19186,7 @@ static void comclass_init(VALUE under) {
|
|
19186
19186
|
VALUE c = cNATEngine
|
19187
19187
|
= rb_define_class_under(under, "NATEngine", cNSISupports);
|
19188
19188
|
no_instantiation(c);
|
19189
|
-
rb_const_set(c, _IID,
|
19189
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19190
19190
|
rb_define_method(c, "network", NATEngine__get_network, 0);
|
19191
19191
|
rb_define_method(c, "network=", NATEngine__set_network, 1);
|
19192
19192
|
rb_define_method(c, "host_ip", NATEngine__get_host_ip, 0);
|
@@ -19216,7 +19216,7 @@ static void comclass_init(VALUE under) {
|
|
19216
19216
|
VALUE c = cExtPackPlugIn
|
19217
19217
|
= rb_define_class_under(under, "ExtPackPlugIn", cNSISupports);
|
19218
19218
|
no_instantiation(c);
|
19219
|
-
rb_const_set(c, _IID,
|
19219
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19220
19220
|
rb_define_method(c, "name", ExtPackPlugIn__get_name, 0);
|
19221
19221
|
rb_define_method(c, "description", ExtPackPlugIn__get_description, 0);
|
19222
19222
|
rb_define_method(c, "frontend", ExtPackPlugIn__get_frontend, 0);
|
@@ -19227,7 +19227,7 @@ static void comclass_init(VALUE under) {
|
|
19227
19227
|
VALUE c = cExtPackBase
|
19228
19228
|
= rb_define_class_under(under, "ExtPackBase", cNSISupports);
|
19229
19229
|
no_instantiation(c);
|
19230
|
-
rb_const_set(c, _IID,
|
19230
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19231
19231
|
rb_define_method(c, "name", ExtPackBase__get_name, 0);
|
19232
19232
|
rb_define_method(c, "description", ExtPackBase__get_description, 0);
|
19233
19233
|
rb_define_method(c, "version", ExtPackBase__get_version, 0);
|
@@ -19246,7 +19246,7 @@ static void comclass_init(VALUE under) {
|
|
19246
19246
|
VALUE c = cExtPack
|
19247
19247
|
= rb_define_class_under(under, "ExtPack", cExtPackBase);
|
19248
19248
|
no_instantiation(c);
|
19249
|
-
rb_const_set(c, _IID,
|
19249
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19250
19250
|
rb_define_method(c, "query_object", ExtPack__query_object, 1);
|
19251
19251
|
}
|
19252
19252
|
{
|
@@ -19254,7 +19254,7 @@ static void comclass_init(VALUE under) {
|
|
19254
19254
|
VALUE c = cExtPackFile
|
19255
19255
|
= rb_define_class_under(under, "ExtPackFile", cExtPackBase);
|
19256
19256
|
no_instantiation(c);
|
19257
|
-
rb_const_set(c, _IID,
|
19257
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19258
19258
|
rb_define_method(c, "file_path", ExtPackFile__get_file_path, 0);
|
19259
19259
|
rb_define_method(c, "install", ExtPackFile__install, 2);
|
19260
19260
|
}
|
@@ -19263,7 +19263,7 @@ static void comclass_init(VALUE under) {
|
|
19263
19263
|
VALUE c = cExtPackManager
|
19264
19264
|
= rb_define_class_under(under, "ExtPackManager", cNSISupports);
|
19265
19265
|
no_instantiation(c);
|
19266
|
-
rb_const_set(c, _IID,
|
19266
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19267
19267
|
rb_define_method(c, "installed_ext_packs", ExtPackManager__get_installed_ext_packs, 0);
|
19268
19268
|
rb_define_method(c, "find", ExtPackManager__find, 1);
|
19269
19269
|
rb_define_method(c, "open_ext_pack_file", ExtPackManager__open_ext_pack_file, 1);
|
@@ -19277,7 +19277,7 @@ static void comclass_init(VALUE under) {
|
|
19277
19277
|
VALUE c = cBandwidthGroup
|
19278
19278
|
= rb_define_class_under(under, "BandwidthGroup", cNSISupports);
|
19279
19279
|
no_instantiation(c);
|
19280
|
-
rb_const_set(c, _IID,
|
19280
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19281
19281
|
rb_define_method(c, "name", BandwidthGroup__get_name, 0);
|
19282
19282
|
rb_define_method(c, "type", BandwidthGroup__get_type, 0);
|
19283
19283
|
rb_define_method(c, "reference", BandwidthGroup__get_reference, 0);
|
@@ -19289,7 +19289,7 @@ static void comclass_init(VALUE under) {
|
|
19289
19289
|
VALUE c = cBandwidthControl
|
19290
19290
|
= rb_define_class_under(under, "BandwidthControl", cNSISupports);
|
19291
19291
|
no_instantiation(c);
|
19292
|
-
rb_const_set(c, _IID,
|
19292
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19293
19293
|
rb_define_method(c, "num_groups", BandwidthControl__get_num_groups, 0);
|
19294
19294
|
rb_define_method(c, "create_bandwidth_group", BandwidthControl__create_bandwidth_group, 3);
|
19295
19295
|
rb_define_method(c, "delete_bandwidth_group", BandwidthControl__delete_bandwidth_group, 1);
|
@@ -19301,7 +19301,7 @@ static void comclass_init(VALUE under) {
|
|
19301
19301
|
VALUE c = cVirtualBoxClient
|
19302
19302
|
= rb_define_class_under(under, "VirtualBoxClient", cNSISupports);
|
19303
19303
|
no_instantiation(c);
|
19304
|
-
rb_const_set(c, _IID,
|
19304
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19305
19305
|
rb_define_method(c, "virtual_box", VirtualBoxClient__get_virtual_box, 0);
|
19306
19306
|
rb_define_method(c, "session", VirtualBoxClient__get_session, 0);
|
19307
19307
|
rb_define_method(c, "event_source", VirtualBoxClient__get_event_source, 0);
|
@@ -19311,7 +19311,7 @@ static void comclass_init(VALUE under) {
|
|
19311
19311
|
VALUE c = cEventSource
|
19312
19312
|
= rb_define_class_under(under, "EventSource", cNSISupports);
|
19313
19313
|
no_instantiation(c);
|
19314
|
-
rb_const_set(c, _IID,
|
19314
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19315
19315
|
rb_define_method(c, "create_listener", EventSource__create_listener, 0);
|
19316
19316
|
rb_define_method(c, "create_aggregator", EventSource__create_aggregator, 1);
|
19317
19317
|
rb_define_method(c, "register_listener", EventSource__register_listener, 3);
|
@@ -19325,7 +19325,7 @@ static void comclass_init(VALUE under) {
|
|
19325
19325
|
VALUE c = cEventListener
|
19326
19326
|
= rb_define_class_under(under, "EventListener", cNSISupports);
|
19327
19327
|
no_instantiation(c);
|
19328
|
-
rb_const_set(c, _IID,
|
19328
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19329
19329
|
rb_define_method(c, "handle_event", EventListener__handle_event, 1);
|
19330
19330
|
}
|
19331
19331
|
{
|
@@ -19333,7 +19333,7 @@ static void comclass_init(VALUE under) {
|
|
19333
19333
|
VALUE c = cEvent
|
19334
19334
|
= rb_define_class_under(under, "Event", cNSISupports);
|
19335
19335
|
no_instantiation(c);
|
19336
|
-
rb_const_set(c, _IID,
|
19336
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19337
19337
|
rb_define_method(c, "type", Event__get_type, 0);
|
19338
19338
|
rb_define_method(c, "source", Event__get_source, 0);
|
19339
19339
|
rb_define_method(c, "waitable", Event__get_waitable, 0);
|
@@ -19345,7 +19345,7 @@ static void comclass_init(VALUE under) {
|
|
19345
19345
|
VALUE c = cReusableEvent
|
19346
19346
|
= rb_define_class_under(under, "ReusableEvent", cEvent);
|
19347
19347
|
no_instantiation(c);
|
19348
|
-
rb_const_set(c, _IID,
|
19348
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19349
19349
|
rb_define_method(c, "generation", ReusableEvent__get_generation, 0);
|
19350
19350
|
rb_define_method(c, "reuse", ReusableEvent__reuse, 0);
|
19351
19351
|
}
|
@@ -19354,7 +19354,7 @@ static void comclass_init(VALUE under) {
|
|
19354
19354
|
VALUE c = cMachineEvent
|
19355
19355
|
= rb_define_class_under(under, "MachineEvent", cEvent);
|
19356
19356
|
no_instantiation(c);
|
19357
|
-
rb_const_set(c, _IID,
|
19357
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19358
19358
|
rb_define_method(c, "machine_id", MachineEvent__get_machine_id, 0);
|
19359
19359
|
}
|
19360
19360
|
{
|
@@ -19362,7 +19362,7 @@ static void comclass_init(VALUE under) {
|
|
19362
19362
|
VALUE c = cMachineStateChangedEvent
|
19363
19363
|
= rb_define_class_under(under, "MachineStateChangedEvent", cMachineEvent);
|
19364
19364
|
no_instantiation(c);
|
19365
|
-
rb_const_set(c, _IID,
|
19365
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19366
19366
|
rb_define_method(c, "state", MachineStateChangedEvent__get_state, 0);
|
19367
19367
|
}
|
19368
19368
|
{
|
@@ -19370,7 +19370,7 @@ static void comclass_init(VALUE under) {
|
|
19370
19370
|
VALUE c = cMachineDataChangedEvent
|
19371
19371
|
= rb_define_class_under(under, "MachineDataChangedEvent", cMachineEvent);
|
19372
19372
|
no_instantiation(c);
|
19373
|
-
rb_const_set(c, _IID,
|
19373
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19374
19374
|
rb_define_method(c, "temporary", MachineDataChangedEvent__get_temporary, 0);
|
19375
19375
|
}
|
19376
19376
|
{
|
@@ -19378,7 +19378,7 @@ static void comclass_init(VALUE under) {
|
|
19378
19378
|
VALUE c = cMediumRegisteredEvent
|
19379
19379
|
= rb_define_class_under(under, "MediumRegisteredEvent", cEvent);
|
19380
19380
|
no_instantiation(c);
|
19381
|
-
rb_const_set(c, _IID,
|
19381
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19382
19382
|
rb_define_method(c, "medium_id", MediumRegisteredEvent__get_medium_id, 0);
|
19383
19383
|
rb_define_method(c, "medium_type", MediumRegisteredEvent__get_medium_type, 0);
|
19384
19384
|
rb_define_method(c, "registered", MediumRegisteredEvent__get_registered, 0);
|
@@ -19388,7 +19388,7 @@ static void comclass_init(VALUE under) {
|
|
19388
19388
|
VALUE c = cMachineRegisteredEvent
|
19389
19389
|
= rb_define_class_under(under, "MachineRegisteredEvent", cMachineEvent);
|
19390
19390
|
no_instantiation(c);
|
19391
|
-
rb_const_set(c, _IID,
|
19391
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19392
19392
|
rb_define_method(c, "registered", MachineRegisteredEvent__get_registered, 0);
|
19393
19393
|
}
|
19394
19394
|
{
|
@@ -19396,7 +19396,7 @@ static void comclass_init(VALUE under) {
|
|
19396
19396
|
VALUE c = cSessionStateChangedEvent
|
19397
19397
|
= rb_define_class_under(under, "SessionStateChangedEvent", cMachineEvent);
|
19398
19398
|
no_instantiation(c);
|
19399
|
-
rb_const_set(c, _IID,
|
19399
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19400
19400
|
rb_define_method(c, "state", SessionStateChangedEvent__get_state, 0);
|
19401
19401
|
}
|
19402
19402
|
{
|
@@ -19404,7 +19404,7 @@ static void comclass_init(VALUE under) {
|
|
19404
19404
|
VALUE c = cGuestPropertyChangedEvent
|
19405
19405
|
= rb_define_class_under(under, "GuestPropertyChangedEvent", cMachineEvent);
|
19406
19406
|
no_instantiation(c);
|
19407
|
-
rb_const_set(c, _IID,
|
19407
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19408
19408
|
rb_define_method(c, "name", GuestPropertyChangedEvent__get_name, 0);
|
19409
19409
|
rb_define_method(c, "value", GuestPropertyChangedEvent__get_value, 0);
|
19410
19410
|
rb_define_method(c, "flags", GuestPropertyChangedEvent__get_flags, 0);
|
@@ -19414,7 +19414,7 @@ static void comclass_init(VALUE under) {
|
|
19414
19414
|
VALUE c = cSnapshotEvent
|
19415
19415
|
= rb_define_class_under(under, "SnapshotEvent", cMachineEvent);
|
19416
19416
|
no_instantiation(c);
|
19417
|
-
rb_const_set(c, _IID,
|
19417
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19418
19418
|
rb_define_method(c, "snapshot_id", SnapshotEvent__get_snapshot_id, 0);
|
19419
19419
|
}
|
19420
19420
|
{
|
@@ -19422,28 +19422,28 @@ static void comclass_init(VALUE under) {
|
|
19422
19422
|
VALUE c = cSnapshotTakenEvent
|
19423
19423
|
= rb_define_class_under(under, "SnapshotTakenEvent", cSnapshotEvent);
|
19424
19424
|
no_instantiation(c);
|
19425
|
-
rb_const_set(c, _IID,
|
19425
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19426
19426
|
}
|
19427
19427
|
{
|
19428
19428
|
iid_t iid = {0xc48f3401, 0x4a9e, 0x43f4, {0xb7, 0xa7, 0x54, 0xbd, 0x28, 0x5e, 0x22, 0xf4}};
|
19429
19429
|
VALUE c = cSnapshotDeletedEvent
|
19430
19430
|
= rb_define_class_under(under, "SnapshotDeletedEvent", cSnapshotEvent);
|
19431
19431
|
no_instantiation(c);
|
19432
|
-
rb_const_set(c, _IID,
|
19432
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19433
19433
|
}
|
19434
19434
|
{
|
19435
19435
|
iid_t iid = {0x07541941, 0x8079, 0x447a, {0xa3, 0x3e, 0x47, 0xa6, 0x9c, 0x79, 0x80, 0xdb}};
|
19436
19436
|
VALUE c = cSnapshotChangedEvent
|
19437
19437
|
= rb_define_class_under(under, "SnapshotChangedEvent", cSnapshotEvent);
|
19438
19438
|
no_instantiation(c);
|
19439
|
-
rb_const_set(c, _IID,
|
19439
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19440
19440
|
}
|
19441
19441
|
{
|
19442
19442
|
iid_t iid = {0xa6dcf6e8, 0x416b, 0x4181, {0x8c, 0x4a, 0x45, 0xec, 0x95, 0x17, 0x7a, 0xef}};
|
19443
19443
|
VALUE c = cMousePointerShapeChangedEvent
|
19444
19444
|
= rb_define_class_under(under, "MousePointerShapeChangedEvent", cEvent);
|
19445
19445
|
no_instantiation(c);
|
19446
|
-
rb_const_set(c, _IID,
|
19446
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19447
19447
|
rb_define_method(c, "visible", MousePointerShapeChangedEvent__get_visible, 0);
|
19448
19448
|
rb_define_method(c, "alpha", MousePointerShapeChangedEvent__get_alpha, 0);
|
19449
19449
|
rb_define_method(c, "xhot", MousePointerShapeChangedEvent__get_xhot, 0);
|
@@ -19457,7 +19457,7 @@ static void comclass_init(VALUE under) {
|
|
19457
19457
|
VALUE c = cMouseCapabilityChangedEvent
|
19458
19458
|
= rb_define_class_under(under, "MouseCapabilityChangedEvent", cEvent);
|
19459
19459
|
no_instantiation(c);
|
19460
|
-
rb_const_set(c, _IID,
|
19460
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19461
19461
|
rb_define_method(c, "supports_absolute", MouseCapabilityChangedEvent__get_supports_absolute, 0);
|
19462
19462
|
rb_define_method(c, "supports_relative", MouseCapabilityChangedEvent__get_supports_relative, 0);
|
19463
19463
|
rb_define_method(c, "needs_host_cursor", MouseCapabilityChangedEvent__get_needs_host_cursor, 0);
|
@@ -19467,7 +19467,7 @@ static void comclass_init(VALUE under) {
|
|
19467
19467
|
VALUE c = cKeyboardLedsChangedEvent
|
19468
19468
|
= rb_define_class_under(under, "KeyboardLedsChangedEvent", cEvent);
|
19469
19469
|
no_instantiation(c);
|
19470
|
-
rb_const_set(c, _IID,
|
19470
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19471
19471
|
rb_define_method(c, "num_lock", KeyboardLedsChangedEvent__get_num_lock, 0);
|
19472
19472
|
rb_define_method(c, "caps_lock", KeyboardLedsChangedEvent__get_caps_lock, 0);
|
19473
19473
|
rb_define_method(c, "scroll_lock", KeyboardLedsChangedEvent__get_scroll_lock, 0);
|
@@ -19477,7 +19477,7 @@ static void comclass_init(VALUE under) {
|
|
19477
19477
|
VALUE c = cStateChangedEvent
|
19478
19478
|
= rb_define_class_under(under, "StateChangedEvent", cEvent);
|
19479
19479
|
no_instantiation(c);
|
19480
|
-
rb_const_set(c, _IID,
|
19480
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19481
19481
|
rb_define_method(c, "state", StateChangedEvent__get_state, 0);
|
19482
19482
|
}
|
19483
19483
|
{
|
@@ -19485,14 +19485,14 @@ static void comclass_init(VALUE under) {
|
|
19485
19485
|
VALUE c = cAdditionsStateChangedEvent
|
19486
19486
|
= rb_define_class_under(under, "AdditionsStateChangedEvent", cEvent);
|
19487
19487
|
no_instantiation(c);
|
19488
|
-
rb_const_set(c, _IID,
|
19488
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19489
19489
|
}
|
19490
19490
|
{
|
19491
19491
|
iid_t iid = {0x08889892, 0x1EC6, 0x4883, {0x80, 0x1D, 0x77, 0xF5, 0x6C, 0xFD, 0x01, 0x03}};
|
19492
19492
|
VALUE c = cNetworkAdapterChangedEvent
|
19493
19493
|
= rb_define_class_under(under, "NetworkAdapterChangedEvent", cEvent);
|
19494
19494
|
no_instantiation(c);
|
19495
|
-
rb_const_set(c, _IID,
|
19495
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19496
19496
|
rb_define_method(c, "network_adapter", NetworkAdapterChangedEvent__get_network_adapter, 0);
|
19497
19497
|
}
|
19498
19498
|
{
|
@@ -19500,7 +19500,7 @@ static void comclass_init(VALUE under) {
|
|
19500
19500
|
VALUE c = cSerialPortChangedEvent
|
19501
19501
|
= rb_define_class_under(under, "SerialPortChangedEvent", cEvent);
|
19502
19502
|
no_instantiation(c);
|
19503
|
-
rb_const_set(c, _IID,
|
19503
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19504
19504
|
rb_define_method(c, "serial_port", SerialPortChangedEvent__get_serial_port, 0);
|
19505
19505
|
}
|
19506
19506
|
{
|
@@ -19508,7 +19508,7 @@ static void comclass_init(VALUE under) {
|
|
19508
19508
|
VALUE c = cParallelPortChangedEvent
|
19509
19509
|
= rb_define_class_under(under, "ParallelPortChangedEvent", cEvent);
|
19510
19510
|
no_instantiation(c);
|
19511
|
-
rb_const_set(c, _IID,
|
19511
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19512
19512
|
rb_define_method(c, "parallel_port", ParallelPortChangedEvent__get_parallel_port, 0);
|
19513
19513
|
}
|
19514
19514
|
{
|
@@ -19516,14 +19516,14 @@ static void comclass_init(VALUE under) {
|
|
19516
19516
|
VALUE c = cStorageControllerChangedEvent
|
19517
19517
|
= rb_define_class_under(under, "StorageControllerChangedEvent", cEvent);
|
19518
19518
|
no_instantiation(c);
|
19519
|
-
rb_const_set(c, _IID,
|
19519
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19520
19520
|
}
|
19521
19521
|
{
|
19522
19522
|
iid_t iid = {0x0FE2DA40, 0x5637, 0x472A, {0x97, 0x36, 0x72, 0x01, 0x9E, 0xAB, 0xD7, 0xDE}};
|
19523
19523
|
VALUE c = cMediumChangedEvent
|
19524
19524
|
= rb_define_class_under(under, "MediumChangedEvent", cEvent);
|
19525
19525
|
no_instantiation(c);
|
19526
|
-
rb_const_set(c, _IID,
|
19526
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19527
19527
|
rb_define_method(c, "medium_attachment", MediumChangedEvent__get_medium_attachment, 0);
|
19528
19528
|
}
|
19529
19529
|
{
|
@@ -19531,7 +19531,7 @@ static void comclass_init(VALUE under) {
|
|
19531
19531
|
VALUE c = cClipboardModeChangedEvent
|
19532
19532
|
= rb_define_class_under(under, "ClipboardModeChangedEvent", cEvent);
|
19533
19533
|
no_instantiation(c);
|
19534
|
-
rb_const_set(c, _IID,
|
19534
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19535
19535
|
rb_define_method(c, "clipboard_mode", ClipboardModeChangedEvent__get_clipboard_mode, 0);
|
19536
19536
|
}
|
19537
19537
|
{
|
@@ -19539,7 +19539,7 @@ static void comclass_init(VALUE under) {
|
|
19539
19539
|
VALUE c = cDragAndDropModeChangedEvent
|
19540
19540
|
= rb_define_class_under(under, "DragAndDropModeChangedEvent", cEvent);
|
19541
19541
|
no_instantiation(c);
|
19542
|
-
rb_const_set(c, _IID,
|
19542
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19543
19543
|
rb_define_method(c, "drag_and_drop_mode", DragAndDropModeChangedEvent__get_drag_and_drop_mode, 0);
|
19544
19544
|
}
|
19545
19545
|
{
|
@@ -19547,7 +19547,7 @@ static void comclass_init(VALUE under) {
|
|
19547
19547
|
VALUE c = cCPUChangedEvent
|
19548
19548
|
= rb_define_class_under(under, "CPUChangedEvent", cEvent);
|
19549
19549
|
no_instantiation(c);
|
19550
|
-
rb_const_set(c, _IID,
|
19550
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19551
19551
|
rb_define_method(c, "cpu", CPUChangedEvent__get_cpu, 0);
|
19552
19552
|
rb_define_method(c, "add", CPUChangedEvent__get_add, 0);
|
19553
19553
|
}
|
@@ -19556,7 +19556,7 @@ static void comclass_init(VALUE under) {
|
|
19556
19556
|
VALUE c = cCPUExecutionCapChangedEvent
|
19557
19557
|
= rb_define_class_under(under, "CPUExecutionCapChangedEvent", cEvent);
|
19558
19558
|
no_instantiation(c);
|
19559
|
-
rb_const_set(c, _IID,
|
19559
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19560
19560
|
rb_define_method(c, "execution_cap", CPUExecutionCapChangedEvent__get_execution_cap, 0);
|
19561
19561
|
}
|
19562
19562
|
{
|
@@ -19564,7 +19564,7 @@ static void comclass_init(VALUE under) {
|
|
19564
19564
|
VALUE c = cGuestKeyboardEvent
|
19565
19565
|
= rb_define_class_under(under, "GuestKeyboardEvent", cEvent);
|
19566
19566
|
no_instantiation(c);
|
19567
|
-
rb_const_set(c, _IID,
|
19567
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19568
19568
|
rb_define_method(c, "scancodes", GuestKeyboardEvent__get_scancodes, 0);
|
19569
19569
|
}
|
19570
19570
|
{
|
@@ -19572,7 +19572,7 @@ static void comclass_init(VALUE under) {
|
|
19572
19572
|
VALUE c = cGuestMouseEvent
|
19573
19573
|
= rb_define_class_under(under, "GuestMouseEvent", cReusableEvent);
|
19574
19574
|
no_instantiation(c);
|
19575
|
-
rb_const_set(c, _IID,
|
19575
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19576
19576
|
rb_define_method(c, "absolute", GuestMouseEvent__get_absolute, 0);
|
19577
19577
|
rb_define_method(c, "x", GuestMouseEvent__get_x, 0);
|
19578
19578
|
rb_define_method(c, "y", GuestMouseEvent__get_y, 0);
|
@@ -19585,28 +19585,28 @@ static void comclass_init(VALUE under) {
|
|
19585
19585
|
VALUE c = cVRDEServerChangedEvent
|
19586
19586
|
= rb_define_class_under(under, "VRDEServerChangedEvent", cEvent);
|
19587
19587
|
no_instantiation(c);
|
19588
|
-
rb_const_set(c, _IID,
|
19588
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19589
19589
|
}
|
19590
19590
|
{
|
19591
19591
|
iid_t iid = {0xdd6a1080, 0xe1b7, 0x4339, {0xa5, 0x49, 0xf0, 0x87, 0x81, 0x15, 0x59, 0x6e}};
|
19592
19592
|
VALUE c = cVRDEServerInfoChangedEvent
|
19593
19593
|
= rb_define_class_under(under, "VRDEServerInfoChangedEvent", cEvent);
|
19594
19594
|
no_instantiation(c);
|
19595
|
-
rb_const_set(c, _IID,
|
19595
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19596
19596
|
}
|
19597
19597
|
{
|
19598
19598
|
iid_t iid = {0x93BADC0C, 0x61D9, 0x4940, {0xA0, 0x84, 0xE6, 0xBB, 0x29, 0xAF, 0x3D, 0x83}};
|
19599
19599
|
VALUE c = cUSBControllerChangedEvent
|
19600
19600
|
= rb_define_class_under(under, "USBControllerChangedEvent", cEvent);
|
19601
19601
|
no_instantiation(c);
|
19602
|
-
rb_const_set(c, _IID,
|
19602
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19603
19603
|
}
|
19604
19604
|
{
|
19605
19605
|
iid_t iid = {0x806da61b, 0x6679, 0x422a, {0xb6, 0x29, 0x51, 0xb0, 0x6b, 0x0c, 0x6d, 0x93}};
|
19606
19606
|
VALUE c = cUSBDeviceStateChangedEvent
|
19607
19607
|
= rb_define_class_under(under, "USBDeviceStateChangedEvent", cEvent);
|
19608
19608
|
no_instantiation(c);
|
19609
|
-
rb_const_set(c, _IID,
|
19609
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19610
19610
|
rb_define_method(c, "device", USBDeviceStateChangedEvent__get_device, 0);
|
19611
19611
|
rb_define_method(c, "attached", USBDeviceStateChangedEvent__get_attached, 0);
|
19612
19612
|
rb_define_method(c, "error", USBDeviceStateChangedEvent__get_error, 0);
|
@@ -19616,7 +19616,7 @@ static void comclass_init(VALUE under) {
|
|
19616
19616
|
VALUE c = cSharedFolderChangedEvent
|
19617
19617
|
= rb_define_class_under(under, "SharedFolderChangedEvent", cEvent);
|
19618
19618
|
no_instantiation(c);
|
19619
|
-
rb_const_set(c, _IID,
|
19619
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19620
19620
|
rb_define_method(c, "scope", SharedFolderChangedEvent__get_scope, 0);
|
19621
19621
|
}
|
19622
19622
|
{
|
@@ -19624,7 +19624,7 @@ static void comclass_init(VALUE under) {
|
|
19624
19624
|
VALUE c = cRuntimeErrorEvent
|
19625
19625
|
= rb_define_class_under(under, "RuntimeErrorEvent", cEvent);
|
19626
19626
|
no_instantiation(c);
|
19627
|
-
rb_const_set(c, _IID,
|
19627
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19628
19628
|
rb_define_method(c, "fatal", RuntimeErrorEvent__get_fatal, 0);
|
19629
19629
|
rb_define_method(c, "id", RuntimeErrorEvent__get_id, 0);
|
19630
19630
|
rb_define_method(c, "message", RuntimeErrorEvent__get_message, 0);
|
@@ -19634,7 +19634,7 @@ static void comclass_init(VALUE under) {
|
|
19634
19634
|
VALUE c = cEventSourceChangedEvent
|
19635
19635
|
= rb_define_class_under(under, "EventSourceChangedEvent", cEvent);
|
19636
19636
|
no_instantiation(c);
|
19637
|
-
rb_const_set(c, _IID,
|
19637
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19638
19638
|
rb_define_method(c, "listener", EventSourceChangedEvent__get_listener, 0);
|
19639
19639
|
rb_define_method(c, "add", EventSourceChangedEvent__get_add, 0);
|
19640
19640
|
}
|
@@ -19643,7 +19643,7 @@ static void comclass_init(VALUE under) {
|
|
19643
19643
|
VALUE c = cExtraDataChangedEvent
|
19644
19644
|
= rb_define_class_under(under, "ExtraDataChangedEvent", cEvent);
|
19645
19645
|
no_instantiation(c);
|
19646
|
-
rb_const_set(c, _IID,
|
19646
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19647
19647
|
rb_define_method(c, "machine_id", ExtraDataChangedEvent__get_machine_id, 0);
|
19648
19648
|
rb_define_method(c, "key", ExtraDataChangedEvent__get_key, 0);
|
19649
19649
|
rb_define_method(c, "value", ExtraDataChangedEvent__get_value, 0);
|
@@ -19653,7 +19653,7 @@ static void comclass_init(VALUE under) {
|
|
19653
19653
|
VALUE c = cVetoEvent
|
19654
19654
|
= rb_define_class_under(under, "VetoEvent", cEvent);
|
19655
19655
|
no_instantiation(c);
|
19656
|
-
rb_const_set(c, _IID,
|
19656
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19657
19657
|
rb_define_method(c, "add_veto", VetoEvent__add_veto, 1);
|
19658
19658
|
rb_define_method(c, "is_vetoed", VetoEvent__is_vetoed, 0);
|
19659
19659
|
rb_define_method(c, "get_vetos", VetoEvent__get_vetos, 0);
|
@@ -19663,7 +19663,7 @@ static void comclass_init(VALUE under) {
|
|
19663
19663
|
VALUE c = cExtraDataCanChangeEvent
|
19664
19664
|
= rb_define_class_under(under, "ExtraDataCanChangeEvent", cVetoEvent);
|
19665
19665
|
no_instantiation(c);
|
19666
|
-
rb_const_set(c, _IID,
|
19666
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19667
19667
|
rb_define_method(c, "machine_id", ExtraDataCanChangeEvent__get_machine_id, 0);
|
19668
19668
|
rb_define_method(c, "key", ExtraDataCanChangeEvent__get_key, 0);
|
19669
19669
|
rb_define_method(c, "value", ExtraDataCanChangeEvent__get_value, 0);
|
@@ -19673,14 +19673,14 @@ static void comclass_init(VALUE under) {
|
|
19673
19673
|
VALUE c = cCanShowWindowEvent
|
19674
19674
|
= rb_define_class_under(under, "CanShowWindowEvent", cVetoEvent);
|
19675
19675
|
no_instantiation(c);
|
19676
|
-
rb_const_set(c, _IID,
|
19676
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19677
19677
|
}
|
19678
19678
|
{
|
19679
19679
|
iid_t iid = {0xB0A0904D, 0x2F05, 0x4D28, {0x85, 0x5F, 0x48, 0x8F, 0x96, 0xBA, 0xD2, 0xB2}};
|
19680
19680
|
VALUE c = cShowWindowEvent
|
19681
19681
|
= rb_define_class_under(under, "ShowWindowEvent", cEvent);
|
19682
19682
|
no_instantiation(c);
|
19683
|
-
rb_const_set(c, _IID,
|
19683
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19684
19684
|
rb_define_method(c, "win_id", ShowWindowEvent__get_win_id, 0);
|
19685
19685
|
rb_define_method(c, "win_id=", ShowWindowEvent__set_win_id, 1);
|
19686
19686
|
}
|
@@ -19689,7 +19689,7 @@ static void comclass_init(VALUE under) {
|
|
19689
19689
|
VALUE c = cNATRedirectEvent
|
19690
19690
|
= rb_define_class_under(under, "NATRedirectEvent", cMachineEvent);
|
19691
19691
|
no_instantiation(c);
|
19692
|
-
rb_const_set(c, _IID,
|
19692
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19693
19693
|
rb_define_method(c, "slot", NATRedirectEvent__get_slot, 0);
|
19694
19694
|
rb_define_method(c, "remove", NATRedirectEvent__get_remove, 0);
|
19695
19695
|
rb_define_method(c, "name", NATRedirectEvent__get_name, 0);
|
@@ -19704,7 +19704,7 @@ static void comclass_init(VALUE under) {
|
|
19704
19704
|
VALUE c = cHostPCIDevicePlugEvent
|
19705
19705
|
= rb_define_class_under(under, "HostPCIDevicePlugEvent", cMachineEvent);
|
19706
19706
|
no_instantiation(c);
|
19707
|
-
rb_const_set(c, _IID,
|
19707
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19708
19708
|
rb_define_method(c, "plugged", HostPCIDevicePlugEvent__get_plugged, 0);
|
19709
19709
|
rb_define_method(c, "success", HostPCIDevicePlugEvent__get_success, 0);
|
19710
19710
|
rb_define_method(c, "attachment", HostPCIDevicePlugEvent__get_attachment, 0);
|
@@ -19715,7 +19715,7 @@ static void comclass_init(VALUE under) {
|
|
19715
19715
|
VALUE c = cVBoxSVCAvailabilityChangedEvent
|
19716
19716
|
= rb_define_class_under(under, "VBoxSVCAvailabilityChangedEvent", cEvent);
|
19717
19717
|
no_instantiation(c);
|
19718
|
-
rb_const_set(c, _IID,
|
19718
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19719
19719
|
rb_define_method(c, "available", VBoxSVCAvailabilityChangedEvent__get_available, 0);
|
19720
19720
|
}
|
19721
19721
|
{
|
@@ -19723,7 +19723,7 @@ static void comclass_init(VALUE under) {
|
|
19723
19723
|
VALUE c = cBandwidthGroupChangedEvent
|
19724
19724
|
= rb_define_class_under(under, "BandwidthGroupChangedEvent", cEvent);
|
19725
19725
|
no_instantiation(c);
|
19726
|
-
rb_const_set(c, _IID,
|
19726
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19727
19727
|
rb_define_method(c, "bandwidth_group", BandwidthGroupChangedEvent__get_bandwidth_group, 0);
|
19728
19728
|
}
|
19729
19729
|
{
|
@@ -19731,7 +19731,7 @@ static void comclass_init(VALUE under) {
|
|
19731
19731
|
VALUE c = cGuestMonitorChangedEvent
|
19732
19732
|
= rb_define_class_under(under, "GuestMonitorChangedEvent", cEvent);
|
19733
19733
|
no_instantiation(c);
|
19734
|
-
rb_const_set(c, _IID,
|
19734
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19735
19735
|
rb_define_method(c, "change_type", GuestMonitorChangedEvent__get_change_type, 0);
|
19736
19736
|
rb_define_method(c, "screen_id", GuestMonitorChangedEvent__get_screen_id, 0);
|
19737
19737
|
rb_define_method(c, "origin_x", GuestMonitorChangedEvent__get_origin_x, 0);
|
@@ -19744,7 +19744,7 @@ static void comclass_init(VALUE under) {
|
|
19744
19744
|
VALUE c = cStorageDeviceChangedEvent
|
19745
19745
|
= rb_define_class_under(under, "StorageDeviceChangedEvent", cEvent);
|
19746
19746
|
no_instantiation(c);
|
19747
|
-
rb_const_set(c, _IID,
|
19747
|
+
rb_const_set(c, _IID, iid_new(&iid));
|
19748
19748
|
rb_define_method(c, "storage_device", StorageDeviceChangedEvent__get_storage_device, 0);
|
19749
19749
|
rb_define_method(c, "removed", StorageDeviceChangedEvent__get_removed, 0);
|
19750
19750
|
}
|