1/* 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#ifndef DO_NO_IMPORTS 27import "oaidl.idl"; 28import "ocidl.idl"; 29import "DOMCore.idl"; 30#endif 31 32interface IDOMHTMLElement; 33interface IDOMHTMLFormElement; 34interface IDOMHTMLTableCaptionElement; 35interface IDOMHTMLTableSectionElement; 36interface IDOMDocument; 37interface IDOMElement; 38interface IDOMNode; 39interface IDOMNodeList; 40 41/* 42 @interface DOMHTMLCollection : DOMObject 43*/ 44[ 45 object, 46 oleautomation, 47 uuid(DD8E4E33-D1D4-48e7-BB23-6DC3D7CCEC42), 48 pointer_default(unique) 49] 50interface IDOMHTMLCollection : IDOMObject 51{ 52 /* 53 - (unsigned)length; 54 */ 55 HRESULT length([out, retval] UINT* result); 56 57 /* 58 - (DOMNode *)item:(unsigned)index; 59 */ 60 HRESULT item([in] UINT index, [out, retval] IDOMNode** node); 61 62 /* 63 - (DOMNode *)namedItem:(NSString *)name; 64 */ 65 HRESULT namedItem([in] BSTR name, [out, retval] IDOMNode** node); 66} 67 68/* 69 @interface DOMHTMLOptionsCollection : DOMObject 70*/ 71[ 72 object, 73 oleautomation, 74 uuid(1AD98D99-163C-4c04-B6EE-85A3DD31F5C4), 75 pointer_default(unique) 76] 77interface IDOMHTMLOptionsCollection : IDOMObject 78{ 79 /* 80 - (unsigned)length; 81 */ 82 HRESULT length([out, retval] unsigned int* result); 83 84 /* 85 - (void)setLength:(unsigned)length; 86 */ 87 HRESULT setLength([in] unsigned int length); 88 89 /* 90 - (DOMNode *)item:(unsigned)index; 91 */ 92 HRESULT item([in] unsigned int index, [out, retval] IDOMNode** result); 93 94 /* 95 - (DOMNode *)namedItem:(NSString *)name; 96 */ 97 HRESULT namedItem([in] BSTR name, [out, retval] IDOMNode** result); 98} 99 100/* 101 @interface DOMHTMLDocument : DOMDocument 102*/ 103[ 104 object, 105 oleautomation, 106 uuid(A7DF8485-25B7-4a98-B70C-1E29CAA00597), 107 pointer_default(unique) 108] 109interface IDOMHTMLDocument : IDOMDocument 110{ 111 /* 112 - (NSString *)title; 113 */ 114 HRESULT title([out, retval] BSTR* result); 115 116 /* 117 - (void)setTitle:(NSString *)title; 118 */ 119 HRESULT setTitle([in] BSTR title); 120 121 /* 122 - (NSString *)referrer; 123 */ 124 HRESULT referrer([out, retval] BSTR* result); 125 126 /* 127 - (NSString *)domain; 128 */ 129 HRESULT domain([out, retval] BSTR* result); 130 131 /* 132 - (NSString *)URL; 133 */ 134 HRESULT URL([out, retval] BSTR* result); 135 136 /* 137 - (DOMHTMLElement *)body; 138 */ 139 HRESULT body([out, retval] IDOMHTMLElement** bodyElement); 140 141 /* 142 - (void)setBody:(DOMHTMLElement *)body; 143 */ 144 HRESULT setBody([in] IDOMHTMLElement* body); 145 146 /* 147 - (DOMHTMLCollection *)images; 148 */ 149 HRESULT images([out, retval] IDOMHTMLCollection** collection); 150 151 /* 152 - (DOMHTMLCollection *)applets; 153 */ 154 HRESULT applets([out, retval] IDOMHTMLCollection** collection); 155 156 /* 157 - (DOMHTMLCollection *)links; 158 */ 159 HRESULT links([out, retval] IDOMHTMLCollection** collection); 160 161 /* 162 - (DOMHTMLCollection *)forms; 163 */ 164 HRESULT forms([out, retval] IDOMHTMLCollection** collection); 165 166 /* 167 - (DOMHTMLCollection *)anchors; 168 */ 169 HRESULT anchors([out, retval] IDOMHTMLCollection** collection); 170 171 /* 172 - (NSString *)cookie; 173 */ 174 HRESULT cookie([out, retval] BSTR* result); 175 176 /* 177 - (void)setCookie:(NSString *)cookie; 178 */ 179 HRESULT setCookie([in] BSTR cookie); 180 181 /* 182 - (void)open; 183 */ 184 HRESULT open(); 185 186 /* 187 - (void)close; 188 */ 189 HRESULT close(); 190 191 /* 192 - (void)write:(NSString *)text; 193 */ 194 HRESULT write([in] BSTR text); 195 196 /* 197 - (void)writeln:(NSString *)text; 198 */ 199 HRESULT writeln([in] BSTR text); 200 201 /* 202 - (DOMElement *)getElementById:(NSString *)elementId; 203 */ 204 HRESULT getElementById_([in] BSTR elementId, [out, retval] IDOMElement** element); 205 206 /* 207 - (DOMNodeList *)getElementsByName:(NSString *)elementName; 208 */ 209 HRESULT getElementsByName([in] BSTR elementName, [out, retval] IDOMNodeList** nodeList); 210} 211 212/* 213 @interface DOMHTMLElement : DOMElement 214*/ 215[ 216 object, 217 oleautomation, 218 uuid(EBD5F41D-FF65-41d8-97C9-FCE3A3D4CC3E), 219 pointer_default(unique) 220] 221interface IDOMHTMLElement : IDOMElement 222{ 223 /* 224 - (NSString *)idName; 225 */ 226 HRESULT idName([out, retval] BSTR* result); 227 228 /* 229 - (void)setIdName:(NSString *)idName; 230 */ 231 HRESULT setIdName([in] BSTR idName); 232 233 /* 234 - (NSString *)title; 235 */ 236 HRESULT title([out, retval] BSTR* result); 237 238 /* 239 - (void)setTitle:(NSString *)title; 240 */ 241 HRESULT setTitle([in] BSTR title); 242 243 /* 244 - (NSString *)lang; 245 */ 246 HRESULT lang([out, retval] BSTR* result); 247 248 /* 249 - (void)setLang:(NSString *)lang; 250 */ 251 HRESULT setLang([in] BSTR lang); 252 253 /* 254 - (NSString *)dir; 255 */ 256 HRESULT dir([out, retval] BSTR* result); 257 258 /* 259 - (void)setDir:(NSString *)dir; 260 */ 261 HRESULT setDir([in] BSTR dir); 262 263 /* 264 - (NSString *)className; 265 */ 266 HRESULT className([out, retval] BSTR* result); 267 268 /* 269 - (void)setClassName:(NSString *)className; 270 */ 271 HRESULT setClassName([in] BSTR className); 272 273 /* 274 - (NSString *)innerHTML; 275 */ 276 HRESULT innerHTML([out, retval] BSTR* result); 277 278 /* 279 - (void)setInnerHTML:(NSString *)innerHTML; 280 */ 281 HRESULT setInnerHTML([in] BSTR html); 282 283 /* 284 - (NSString *)innerHTML; 285 */ 286 HRESULT innerText([out, retval] BSTR* result); 287 288 /* 289 - (void)setInnerText:(NSString *)innerText; 290 */ 291 HRESULT setInnerText([in] BSTR text); 292} 293 294/* 295 @interface DOMHTMLFormElement : DOMHTMLElement 296*/ 297[ 298 object, 299 oleautomation, 300 uuid(DF5C0054-DDDB-4888-9198-7A4E4EBF8D69), 301 pointer_default(unique) 302] 303interface IDOMHTMLFormElement : IDOMHTMLElement 304{ 305 /* 306 - (DOMHTMLCollection *)elements; 307 */ 308 HRESULT elements([out, retval] IDOMHTMLCollection** result); 309 310 /* 311 - (int)length; 312 */ 313 HRESULT length([out, retval] int* result); 314 315 /* 316 - (NSString *)name; 317 */ 318 HRESULT name([out, retval] BSTR* result); 319 320 /* 321 - (void)setName:(NSString *)name; 322 */ 323 HRESULT setName([in] BSTR name); 324 325 /* 326 - (NSString *)acceptCharset; 327 */ 328 HRESULT acceptCharset([out, retval] BSTR* result); 329 /* 330 - (void)setAcceptCharset:(NSString *)acceptCharset; 331 */ 332 HRESULT setAcceptCharset([in] BSTR acceptCharset); 333 334 /* 335 - (NSString *)action; 336 */ 337 HRESULT action([out, retval] BSTR* result); 338 339 /* 340 - (void)setAction:(NSString *)action; 341 */ 342 HRESULT setAction([in] BSTR action); 343 344 /* 345 - (NSString *)enctype; 346 */ 347 HRESULT encType([out, retval] BSTR* result); 348 349 /* 350 - (void)setEnctype:(NSString *)enctype; 351 */ 352 HRESULT setEnctype([out, retval] BSTR* encType); 353 354 /* 355 - (NSString *)method; 356 */ 357 HRESULT method([out, retval] BSTR* method); 358 359 /* 360 - (void)setMethod:(NSString *)method; 361 */ 362 HRESULT setMethod([in] BSTR method); 363 364 /* 365 - (NSString *)target; 366 */ 367 HRESULT target([out, retval] BSTR* result); 368 369 /* 370 - (void)setTarget:(NSString *)target; 371 */ 372 HRESULT setTarget([in] BSTR target); 373 374 /* 375 - (void)submit; 376 */ 377 HRESULT submit(); 378 379 /* 380 - (void)reset; 381 */ 382 HRESULT reset(); 383} 384 385/* 386 @interface DOMHTMLSelectElement : DOMHTMLElement 387*/ 388[ 389 object, 390 oleautomation, 391 uuid(3825AA04-B38F-4399-95BB-F5410B29594A), 392 pointer_default(unique) 393] 394interface IDOMHTMLSelectElement : IDOMHTMLElement 395{ 396 /* 397 - (NSString *)type; 398 */ 399 HRESULT type([out, retval] BSTR* result); 400 401 /* 402 - (int)selectedIndex; 403 */ 404 HRESULT selectedIndex([out, retval] int* result); 405 406 /* 407 - (void)setSelectedIndex:(int)selectedIndex; 408 */ 409 HRESULT setSelectedIndx([in] int selectedIndex); 410 411 /* 412 - (NSString *)value; 413 */ 414 HRESULT value([out, retval] BSTR* result); 415 416 /* 417 - (void)setValue:(NSString *)value; 418 */ 419 HRESULT setValue([in] BSTR value); 420 421 /* 422 - (int)length; 423 */ 424 HRESULT length([out, retval] int* result); 425 426 /* 427 - (DOMHTMLFormElement *)form; 428 */ 429 HRESULT form([out, retval] IDOMHTMLFormElement** result); 430 431 /* 432 - (DOMHTMLOptionsCollection *)options; 433 */ 434 HRESULT options([out, retval] IDOMHTMLOptionsCollection** result); 435 436 /* 437 - (BOOL)disabled; 438 */ 439 HRESULT disabled([out, retval] BOOL* result); 440 441 /* 442 - (void)setDisabled:(BOOL)disabled; 443 */ 444 HRESULT setDisabled([in] BOOL disabled); 445 446 /* 447 - (BOOL)multiple; 448 */ 449 HRESULT multiple([out, retval] BOOL* result); 450 451 /* 452 - (void)setMultiple:(BOOL)multiple; 453 */ 454 HRESULT setMultiple([in] BOOL multiple); 455 456 /* 457 - (NSString *)name; 458 */ 459 HRESULT name([out, retval] BSTR* result); 460 461 /* 462 - (void)setName:(NSString *)name; 463 */ 464 HRESULT setName([in] BSTR name); 465 466 /* 467 - (int)size; 468 */ 469 HRESULT size([out, retval] int* size); 470 471 /* 472 - (void)setSize:(int)size; 473 */ 474 HRESULT setSize([in] int size); 475 476 /* 477 - (int)tabIndex; 478 */ 479 HRESULT tabIndex([out, retval] int* result); 480 481 /* 482 - (void)setTabIndex:(int)tabIndex; 483 */ 484 HRESULT setTabIndex([in] int tabIndex); 485 486 /* 487 - (void)add:(DOMHTMLElement *)element :(DOMHTMLElement *)before; 488 */ 489 HRESULT add([in] IDOMHTMLElement* element, [in] IDOMHTMLElement* before); 490 491 /* 492 - (void)remove:(int)index; 493 */ 494 HRESULT remove([in] int index); 495 496 /* 497 - (void)blur; 498 */ 499 HRESULT blur(); 500 501 /* 502 - (void)focus; 503 */ 504 HRESULT focus(); 505} 506 507/* 508 @interface DOMHTMLOptionElement : DOMHTMLElement 509*/ 510[ 511 object, 512 oleautomation, 513 uuid(0E1EF5AB-4008-4d83-9135-D4DC1B4603D4), 514 pointer_default(unique) 515] 516interface IDOMHTMLOptionElement : IDOMHTMLElement 517{ 518 /* 519 - (DOMHTMLFormElement *)form; 520 */ 521 HRESULT form([out, retval] IDOMHTMLFormElement** result); 522 523 /* 524 - (BOOL)defaultSelected; 525 */ 526 HRESULT defaultSelected([out, retval] BOOL* result); 527 528 /* 529 - (void)setDefaultSelected:(BOOL)defaultSelected; 530 */ 531 HRESULT setDefaultSelected([in] BOOL defaultSelected); 532 533 /* 534 - (NSString *)text; 535 */ 536 HRESULT text([out, retval] BSTR* result); 537 538 /* 539 - (int)index; 540 */ 541 HRESULT index([out, retval] int* result); 542 543 /* 544 - (BOOL)disabled; 545 */ 546 HRESULT disabled([out, retval] BOOL* result); 547 548 /* 549 - (void)setDisabled:(BOOL)disabled; 550 */ 551 HRESULT setDisabled([in] BOOL disabled); 552 553 /* 554 - (NSString *)label; 555 */ 556 HRESULT label([out, retval] BSTR* result); 557 558 /* 559 - (void)setLabel:(NSString *)label; 560 */ 561 HRESULT setLabel([in] BSTR label); 562 563 /* 564 - (BOOL)selected; 565 */ 566 HRESULT selected([out, retval] BOOL* result); 567 568 /* 569 - (void)setSelected:(BOOL)selected; 570 */ 571 HRESULT setSelected([in] BOOL selected); 572 573 /* 574 - (NSString *)value; 575 */ 576 HRESULT value([out, retval] BSTR* result); 577 578 /* 579 - (void)setValue:(NSString *)value; 580 */ 581 HRESULT setValue([in] BSTR value); 582} 583 584/* 585 @interface DOMHTMLInputElement : DOMHTMLElement 586*/ 587[ 588 object, 589 oleautomation, 590 uuid(80C40AC5-1755-4894-812F-479269C262A2), 591 pointer_default(unique) 592] 593/* FIXME: The Safari app currently relies on IDOMHTMLInputElement inheriting from 594 IDOMElement. This can't be changed until a version of SafariWin which no longer 595 makes this assumption is released. 596*/ 597interface IDOMHTMLInputElement : IDOMElement 598{ 599 /* 600 - (NSString *)defaultValue; 601 */ 602 HRESULT defaultValue([out, retval] BSTR* result); 603 604 /* 605 - (void)setDefaultValue:(NSString *)defaultValue; 606 */ 607 HRESULT setDefaultValue([in] BSTR val); 608 609 /* 610 - (BOOL)defaultChecked; 611 */ 612 HRESULT defaultChecked([out, retval] BOOL* result); 613 614 /* 615 - (void)setDefaultChecked:(BOOL)defaultChecked; 616 */ 617 HRESULT setDefaultChecked([in] BSTR checked); 618 619 /* 620 - (DOMHTMLFormElement *)form; 621 */ 622 HRESULT form([out, retval] IDOMHTMLElement** result); 623 624 /* 625 - (NSString *)accept; 626 */ 627 HRESULT accept([out, retval] BSTR* result); 628 629 /* 630 - (void)setAccept:(NSString *)accept; 631 */ 632 HRESULT setAccept([in] BSTR accept); 633 634 /* 635 - (NSString *)accessKey; 636 */ 637 HRESULT accessKey([out, retval] BSTR* result); 638 639 /* 640 - (void)setAccessKey:(NSString *)accessKey; 641 */ 642 HRESULT setAccessKey([in] BSTR key); 643 644 /* 645 - (NSString *)align; 646 */ 647 HRESULT align([out, retval] BSTR* result); 648 649 /* 650 - (void)setAlign:(NSString *)align; 651 */ 652 HRESULT setAlign([in] BSTR align); 653 654 /* 655 - (NSString *)alt; 656 */ 657 HRESULT alt([out, retval] BSTR* result); 658 659 /* 660 - (void)setAlt:(NSString *)alt; 661 */ 662 HRESULT setAlt([in] BSTR alt); 663 664 /* 665 - (BOOL)checked; 666 */ 667 HRESULT checked([out, retval] BOOL* result); 668 669 /* 670 - (void)setChecked:(BOOL)checked; 671 */ 672 HRESULT setChecked([in] BOOL checked); 673 674 /* 675 - (BOOL)disabled; 676 */ 677 HRESULT disabled([out, retval] BOOL* result); 678 679 /* 680 - (void)setDisabled:(BOOL)disabled; 681 */ 682 HRESULT setDisabled([in] BOOL disabled); 683 684 /* 685 - (int)maxLength; 686 */ 687 HRESULT maxLength([out, retval] int* result); 688 689 /* 690 - (void)setMaxLength:(int)maxLength; 691 */ 692 HRESULT setMaxLength([in] int maxLength); 693 694 /* 695 - (NSString *)name; 696 */ 697 HRESULT name([out, retval] BSTR* name); 698 699 /* 700 - (void)setName:(NSString *)name; 701 */ 702 HRESULT setName([in] BSTR name); 703 704 /* 705 - (BOOL)readOnly; 706 */ 707 HRESULT readOnly([out, retval] BOOL* result); 708 709 /* 710 - (void)setReadOnly:(BOOL)readOnly; 711 */ 712 HRESULT setReadOnly([in] BOOL readOnly); 713 714 /* 715 - (unsigned)size; 716 */ 717 HRESULT size([out, retval] unsigned int *result); 718 719 /* 720 - (void)setSize:(unsigned)size; 721 */ 722 HRESULT setSize([in] unsigned int size); 723 724 /* 725 - (NSString *)src; 726 */ 727 HRESULT src([out, retval] BSTR* result); 728 729 /* 730 - (void)setSrc:(NSString *)src; 731 */ 732 HRESULT setSrc([in] BSTR src); 733 734 /* 735 - (int)tabIndex; 736 */ 737 HRESULT tabIndex([out, retval] int* result); 738 739 /* 740 - (void)setTabIndex:(int)tabIndex; 741 */ 742 HRESULT setTabIndex([in] int tabIndex); 743 744 /* 745 - (NSString *)type; 746 */ 747 HRESULT type([out, retval] BSTR* result); 748 749 /* 750 - (void)setType:(NSString *)type; 751 */ 752 HRESULT setType([in] BSTR type); 753 754 /* 755 - (NSString *)useMap; 756 */ 757 HRESULT useMap([out, retval] BSTR* result); 758 759 /* 760 - (void)setUseMap:(NSString *)useMap; 761 */ 762 HRESULT setUseMap([in] BSTR useMap); 763 764 /* 765 - (NSString *)value; 766 */ 767 HRESULT value([out, retval] BSTR* result); 768 769 /* 770 - (void)setValue:(NSString *)value; 771 */ 772 HRESULT setValue([in] BSTR value); 773 774 /* 775 - (void)blur; 776 */ 777 HRESULT blur(); 778 779 /* 780 - (void)focus; 781 */ 782 HRESULT focus(); 783 784 /* 785 - (void)select; 786 */ 787 HRESULT select(); 788 789 /* 790 - (void)click; 791 */ 792 HRESULT click(); 793 794 // FIXME - this is not in objC bindings at the moment 795 // attribute long selectionStart; 796 HRESULT setSelectionStart([in] long start); 797 HRESULT selectionStart([out, retval] long* start); 798 799 // FIXME - thisis not in the objC bindings at the moment 800 // attribute long selectionEnd; 801 HRESULT setSelectionEnd([in] long end); 802 HRESULT selectionEnd([out, retval] long* end); 803 804 /* 805 - (void)setValueForUser:(NSString *)value; 806 */ 807 HRESULT setValueForUser([in] BSTR value); 808} 809 810/* 811 @interface DOMHTMLTextAreaElement : DOMHTMLElement 812*/ 813[ 814 object, 815 oleautomation, 816 uuid(298B02B7-3EB5-4ba4-AD3F-7FA53241AADE), 817 pointer_default(unique) 818] 819interface IDOMHTMLTextAreaElement : IDOMHTMLElement 820{ 821 /* 822 - (NSString *)defaultValue; 823 */ 824 HRESULT defaultValue([out, retval] BSTR* result); 825 826 /* 827 - (void)setDefaultValue:(NSString *)defaultValue; 828 */ 829 HRESULT setDefaultValue([in] BSTR val); 830 831 /* 832 - (DOMHTMLFormElement *)form; 833 */ 834 HRESULT form([out, retval] IDOMHTMLElement** result); 835 836 /* 837 - (NSString *)accessKey; 838 */ 839 HRESULT accessKey([out, retval] BSTR* result); 840 841 /* 842 - (void)setAccessKey:(NSString *)accessKey; 843 */ 844 HRESULT setAccessKey([in] BSTR key); 845 846 /* 847 - (int)cols; 848 */ 849 HRESULT cols([out, retval] int* result); 850 851 /* 852 - (void)setCols:(int)cols; 853 */ 854 HRESULT setCols([in] int cols); 855 856 /* 857 - (BOOL)disabled; 858 */ 859 HRESULT disabled([out, retval] BOOL* result); 860 861 /* 862 - (void)setDisabled:(BOOL)disabled; 863 */ 864 HRESULT setDisabled([in] BOOL disabled); 865 866 /* 867 - (NSString *)name; 868 */ 869 HRESULT name([out, retval] BSTR* name); 870 871 /* 872 - (void)setName:(NSString *)name; 873 */ 874 HRESULT setName([in] BSTR name); 875 876 /* 877 - (BOOL)readOnly; 878 */ 879 HRESULT readOnly([out, retval] BOOL* result); 880 881 /* 882 - (void)setReadOnly:(BOOL)readOnly; 883 */ 884 HRESULT setReadOnly([in] BOOL readOnly); 885 886 /* 887 - (int)rows; 888 */ 889 HRESULT rows([out, retval] int* result); 890 891 /* 892 - (void)setRows:(int)rows; 893 */ 894 HRESULT setRows([in] int rows); 895 896 /* 897 - (int)tabIndex; 898 */ 899 HRESULT tabIndex([out, retval] int* result); 900 901 /* 902 - (void)setTabIndex:(int)tabIndex; 903 */ 904 HRESULT setTabIndex([in] int tabIndex); 905 906 /* 907 - (NSString *)type; 908 */ 909 HRESULT type([out, retval] BSTR* result); 910 911 /* 912 - (NSString *)value; 913 */ 914 HRESULT value([out, retval] BSTR* result); 915 916 /* 917 - (void)setValue:(NSString *)value; 918 */ 919 HRESULT setValue([in] BSTR value); 920 921 /* 922 - (void)blur; 923 */ 924 HRESULT blur(); 925 926 /* 927 - (void)focus; 928 */ 929 HRESULT focus(); 930 931 /* 932 - (void)select; 933 */ 934 HRESULT select(); 935} 936