home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vile-src.zip / vile-8.1 / winvile.odl < prev    next >
INI File  |  1998-08-27  |  2KB  |  68 lines

  1. [
  2.     uuid(664D8543-2FDD-11d2-B8E4-0020AF0F4354),         // LIBID_VileAuto
  3.     helpstring("Winvile Automation 1.0 Type Library"),
  4.     version(1.0)
  5. ]
  6. library Winvile
  7. {
  8.     importlib("stdole2.tlb");
  9.     [
  10.         uuid(664D8544-2FDD-11d2-B8E4-0020AF0F4354),     // IID_IVileAuto
  11.         helpstring("Automation application object for the Vile gui editor."),
  12.         oleautomation,
  13.         dual
  14.     ]
  15.     interface IVileAuto : IDispatch
  16.     {
  17.         [propget, helpstring("Returns the application of the object.")]
  18.         HRESULT Application([out, retval] IVileAuto** retval);
  19.  
  20.         [helpstring("Makes the editor the foreground window.")]
  21.         HRESULT ForegroundWindow();
  22.  
  23.         [propget, helpstring("Returns the full name of the application.")]
  24.         HRESULT FullName([out, retval] BSTR* retval);
  25.  
  26.         [helpstring("Minimizes the editor.")]
  27.         HRESULT Minimize();
  28.  
  29.         [propget, id(0), helpstring("Returns the name of the application.")]
  30.         HRESULT Name([out, retval] BSTR* retval);
  31.  
  32.         [propget, helpstring("True if editor in insert mode.")]
  33.         HRESULT InsertMode([out, retval] VARIANT_BOOL* retval);
  34.  
  35.         [propget, helpstring("True if editor minimized.")]
  36.         HRESULT IsMinimized([out, retval] VARIANT_BOOL* retval);
  37.  
  38.         [propget, helpstring("Returns the parent of the object.")]
  39.         HRESULT Parent([out, retval] IVileAuto** retval);
  40.  
  41.         [helpstring("Exits the editor.")]
  42.         HRESULT Quit();
  43.  
  44.         [helpstring("Restores the editor's window.")]
  45.         HRESULT Restore();
  46.  
  47.         [helpstring("Sends keystrokes to the editor")]
  48.         HRESULT VileKeys([in] BSTR keys);
  49.  
  50.         [propput]
  51.         HRESULT Visible([in] VARIANT_BOOL VisibleFlag);
  52.         [propget, helpstring("Sets or returns whether the editor is visible.")]
  53.         HRESULT Visible([out, retval] VARIANT_BOOL* retval);
  54.     }
  55.  
  56.  
  57.     [
  58.         uuid(664D8545-2FDD-11d2-B8E4-0020AF0F4354),     // CLSID_VileAuto
  59.         helpstring("Winvile Automation Class"),
  60.         appobject
  61.     ]
  62.     coclass Application
  63.     {
  64.         [default]          interface IVileAuto;
  65.                            interface IDispatch;
  66.     }
  67. }
  68.