2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Gnomevfs.metadata: Hide some more API. * gnomevfs/VfsStreamAsyncResult.cs: Make Done property internal. * gnomevfs/VolumeMonitor.custom: Hide GList API. svn path=/trunk/gtk-sharp/; revision=38130
This commit is contained in:
parent
fa60ba6839
commit
a1755d7914
18 changed files with 208 additions and 462 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
|
||||
* gnomevfs/Gnomevfs.metadata: Hide some more API.
|
||||
* gnomevfs/VfsStreamAsyncResult.cs: Make Done property internal.
|
||||
* gnomevfs/VolumeMonitor.custom: Hide GList API.
|
||||
|
||||
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
|
||||
* gnomevfs/Directory.cs: PInvoke the _uri methods directory instead of
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
|
||||
* en/Gnome.Vfs/*.xml: more docs.
|
||||
|
||||
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
|
||||
* en/Gnome.Vfs/*.xml: remove docs for files that no longer exist.
|
||||
|
|
|
@ -82,31 +82,6 @@
|
|||
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gnome.Vfs.Drive.VolumeMounted" /> event.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ref">
|
||||
<MemberSignature Language="C#" Value="public Gnome.Vfs.Drive Ref ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Gnome.Vfs.Drive</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Drive" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unref">
|
||||
<MemberSignature Language="C#" Value="public void Unref ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Compare">
|
||||
<MemberSignature Language="C#" Value="public int Compare (Gnome.Vfs.Drive b);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -183,7 +158,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Internal Drive Id.</summary>
|
||||
<returns>a <see cref="T:System.UInt64" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -196,7 +171,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>User readable string representing this Drive (i.e. "CD-RW/DVD-ROM Drive").</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -209,7 +184,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The icon name used to represent this Drive.</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -222,7 +197,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether the Drive is mounted.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -235,7 +210,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The <see cref="T:Gnome.Vfs.Uri" /> which represents this Drive (i.e. file:///media/cdrecorder).</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -248,7 +223,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The location of the actual device if applicable (i.e. /dev/hdc).</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -261,7 +236,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>If <see cref="M:Gnome.Vfs.Drive.IsMounted" />, this points to the mounted <see cref="T:Gnome.Vfs.Volume" />.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -274,7 +249,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether the Drive is connected.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -287,7 +262,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether the Drive should be visible to the user.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -300,7 +275,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The type of device this Drive represents.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.DeviceType" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -313,7 +288,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Drive is about to be unmounted.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -325,7 +300,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Drive has been unmounted.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -337,7 +312,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Drive has been mounted.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The connected <see cref="T:Gnome.Vfs.Drive" />.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Drive" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The disconnected <see cref="T:Gnome.Vfs.Drive" />.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Drive" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Reads a byte from the stream and advances the position within the stream by one byte.</summary>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -49,8 +49,8 @@
|
|||
<Parameter Name="value" Type="System.Byte" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">a <see cref="T:System.Byte" /></param>
|
||||
<summary>Writes a single <see cref="T:System.Byte" /> to the current position in the stream and advances the position by one byte.</summary>
|
||||
<param name="value">a <see cref="T:System.Byte" /> to write to the stream.</param>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -66,11 +66,11 @@
|
|||
<Parameter Name="count" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="buffer">a <see cref="T:System.Byte" /></param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /></param>
|
||||
<param name="count">a <see cref="T:System.Int32" /></param>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<summary>Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</summary>
|
||||
<param name="buffer">a <see cref="T:System.Byte" /> array. When this method returns, the elements between <paramref name="offset" /> and <paramref name="offset" /> + <paramref name="count" /> are replaced by the bytes read from the current stream.</param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /> that specifies the zero based byte offset in <paramref name="buffer" /> at which to begin storing the data read from the current stream.</param>
|
||||
<param name="count">a <see cref="T:System.Int32" /> that specifies the maximum number of bytes to be read from the stream.</param>
|
||||
<returns>a <see cref="T:System.Int32" /> that specifies the total number of bytes read into the buffer, or zero if the end of the stream has been reached before any data could be read.</returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -88,14 +88,24 @@
|
|||
<Parameter Name="state" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="buffer">a <see cref="T:System.Byte" /></param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /></param>
|
||||
<param name="count">a <see cref="T:System.Int32" /></param>
|
||||
<param name="cback">a <see cref="T:System.AsyncCallback" /></param>
|
||||
<param name="state">a <see cref="T:System.Object" /></param>
|
||||
<returns>a <see cref="T:System.IAsyncResult" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Begins an asynchronous read operation.</summary>
|
||||
<param name="buffer">the <see cref="T:System.Byte" /> array to read the data into.</param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /> that specifies the byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
|
||||
<param name="count">a <see cref="T:System.Int32" /> that specifies the maximum number of bytes to read from the stream.</param>
|
||||
<param name="cback">a <see cref="T:System.AsyncCallback" /> that is called when the read operation has finished.</param>
|
||||
<param name="state">an application-defined object, or <see langword="null" />.</param>
|
||||
<returns>a <see cref="T:System.IAsyncResult" /> that contains information about the asynchronous read operation, which could still be pending.</returns>
|
||||
<remarks>
|
||||
<para>This method starts an asynchronous read operation using the <see cref="T:Gnome.Vfs.Async" /> class.</para>
|
||||
<para>To wait until the operation has finished, you cannot use the <see cref="T:System.IAsyncResult.AsyncWaitHandle" /> since that will also block the Gnome.Vfs thread. Instead, use <see cref="M:GLib.MainContext.Iteration" /> like this:</para>
|
||||
<example>
|
||||
<code lang="C#">
|
||||
while (!asyncResult.IsCompleted) {
|
||||
GLib.MainContext.Iteration ();
|
||||
}
|
||||
</code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="EndRead">
|
||||
|
@ -108,10 +118,10 @@
|
|||
<Parameter Name="result" Type="System.IAsyncResult" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="result">a <see cref="T:System.IAsyncResult" /></param>
|
||||
<summary>Ends a pending asynchronous read request.</summary>
|
||||
<param name="result">the <see cref="T:System.IAsyncResult" /> object that references the pending asynchronous read request.</param>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<remarks>This method blocks until the read operation has finished.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Write">
|
||||
|
@ -126,10 +136,10 @@
|
|||
<Parameter Name="count" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="buffer">a <see cref="T:System.Byte" /></param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /></param>
|
||||
<param name="count">a <see cref="T:System.Int32" /></param>
|
||||
<summary>Writes a sequence of bytes to the current stream and advances the current position within the current stream by the number of bytes written.</summary>
|
||||
<param name="buffer">a <see cref="T:System.Byte" /> array containing the data to write.</param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /> that specifies the zero based byte offset in <paramref name="buffer" /> at which to start copying bytes to the current stream.</param>
|
||||
<param name="count">a <see cref="T:System.Int32" /> that specifies the number of bytes to be written to the current stream.</param>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -147,14 +157,24 @@
|
|||
<Parameter Name="state" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="buffer">a <see cref="T:System.Byte" /></param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /></param>
|
||||
<param name="count">a <see cref="T:System.Int32" /></param>
|
||||
<param name="cback">a <see cref="T:System.AsyncCallback" /></param>
|
||||
<param name="state">a <see cref="T:System.Object" /></param>
|
||||
<returns>a <see cref="T:System.IAsyncResult" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Begins an asynchronous write operation.</summary>
|
||||
<param name="buffer">the <see cref="T:System.Byte" /> array to be written to the current stream.</param>
|
||||
<param name="offset">a <see cref="T:System.Int32" /> that specifies the byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param>
|
||||
<param name="count">a <see cref="T:System.Int32" /> that specifies the maximum number of bytes to be written to the stream.</param>
|
||||
<param name="cback">a <see cref="T:System.AsyncCallback" /> that is called when the write operation has finished.</param>
|
||||
<param name="state">an application-defined object, or <see langword="null" />.</param>
|
||||
<returns>a <see cref="T:System.IAsyncResult" /> that represents the asynchronous write, which could still be pending.</returns>
|
||||
<remarks>
|
||||
<para>This method starts an asynchronous write operation using the <see cref="T:Gnome.Vfs.Async" /> class.</para>
|
||||
<para>To wait until the operation has finished, you cannot use the <see cref="T:System.IAsyncResult.AsyncWaitHandle" /> since that will also block the Gnome.Vfs thread. Instead, use <see cref="M:GLib.MainContext.Iteration" /> like this:</para>
|
||||
<example>
|
||||
<code lang="C#">
|
||||
while (!asyncResult.IsCompleted) {
|
||||
GLib.MainContext.Iteration ();
|
||||
}
|
||||
</code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="EndWrite">
|
||||
|
@ -167,9 +187,9 @@
|
|||
<Parameter Name="result" Type="System.IAsyncResult" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="result">a <see cref="T:System.IAsyncResult" /></param>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Ends an asynchronous write operation.</summary>
|
||||
<param name="result">a <see cref="T:System.IAsyncResult" /> object that references the pending asynchronous write operation.</param>
|
||||
<remarks>This method blocks until the write operation has finished.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Seek">
|
||||
|
@ -183,11 +203,11 @@
|
|||
<Parameter Name="origin" Type="System.IO.SeekOrigin" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="offset">a <see cref="T:System.Int64" /></param>
|
||||
<param name="origin">a <see cref="T:System.Int32" /></param>
|
||||
<returns>a <see cref="T:System.Int64" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets the position within the current stream.</summary>
|
||||
<param name="offset">a <see cref="T:System.Int64" /> that specifies the byte offset relative to origin.</param>
|
||||
<param name="origin">a <see cref="T:System.IO.SeekOrigin" /> value indicating the reference point used to obtain the new position.</param>
|
||||
<returns>a <see cref="T:System.Int64" /> that specifies the new position within the current stream.</returns>
|
||||
<remarks>This method only works for readable synchronous streams (see <see cref="M:Gnome.Vfs.VfsStream.IsAsync" />).</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SetLength">
|
||||
|
@ -200,8 +220,8 @@
|
|||
<Parameter Name="length" Type="System.Int64" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="length">a <see cref="T:System.Int64" /></param>
|
||||
<summary>Sets the length of the current stream.</summary>
|
||||
<param name="length">a <see cref="T:System.Int64" /> that specifies the desired length of the current stream in bytes.</param>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -213,8 +233,8 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Flushes the internal buffer.</summary>
|
||||
<remarks>NOOP.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Close">
|
||||
|
@ -225,7 +245,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Closes the current stream and releases any resources associated with the current stream.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -9,8 +9,18 @@
|
|||
</AssemblyInfo>
|
||||
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>
|
||||
<see cref="T:System.IAsyncResult" /> implementation tracking a pending asynchronous <see cref="T:Gnome.Vfs.VfsStream" /> operation.</summary>
|
||||
<remarks>
|
||||
<para>To wait until the operation has finished, you cannot use the <see cref="T:System.IAsyncResult.AsyncWaitHandle" /> since that will also block the Gnome.Vfs thread. Instead, use <see cref="M:GLib.MainContext.Iteration" /> like this:</para>
|
||||
<example>
|
||||
<code lang="C#">
|
||||
while (!asyncResult.IsCompleted) {
|
||||
GLib.MainContext.Iteration ();
|
||||
}
|
||||
</code>
|
||||
</example>
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.Object</BaseTypeName>
|
||||
|
@ -22,52 +32,6 @@
|
|||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="SetComplete">
|
||||
<MemberSignature Language="C#" Value="public void SetComplete (Exception e);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="e" Type="System.Exception" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="e">a <see cref="T:System.Exception" /></param>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SetComplete">
|
||||
<MemberSignature Language="C#" Value="public void SetComplete (Exception e, int nbytes);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="e" Type="System.Exception" />
|
||||
<Parameter Name="nbytes" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="e">a <see cref="T:System.Exception" /></param>
|
||||
<param name="nbytes">a <see cref="T:System.Int32" /></param>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public VfsStreamAsyncResult (object state);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="state" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="state">a <see cref="T:System.Object" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VfsStreamAsyncResult" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AsyncState">
|
||||
<MemberSignature Language="C#" Value="public virtual object AsyncState { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
|
@ -76,7 +40,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Gets the user-provided state object supplied at the time the asynchronous operation was started.</summary>
|
||||
<returns>a <see cref="T:System.Object" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -89,7 +53,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Retrieving this property will throw a <see cref="T:System.NotSupportedException" />. Instead use "while (!asyncResult.IsCompleted) { GLib.MainContext.Iteration(); }" to wait for the operation to finish.</summary>
|
||||
<returns>a <see cref="T:System.Threading.WaitHandle" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -102,20 +66,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Done">
|
||||
<MemberSignature Language="C#" Value="public bool Done { set; get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether the asynchronous operation completed synchronously.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -128,7 +79,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Retrieves the <see cref="T:System.Exception" /> that occurred during the asynchronous operation.</summary>
|
||||
<returns>a <see cref="T:System.Exception" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -141,9 +92,9 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Indicates whether the asynchronous operation has finished.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<remarks>If an error occurred during the operation, <see cref="M:Gnome.Vfs.VfsStreamAsyncResult.Exception" /> contains the exception that was thrown.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NBytes">
|
||||
|
@ -154,7 +105,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns the number of bytes read or written during the operation.</summary>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</AssemblyInfo>
|
||||
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Abstraction for a mounted file system or a network location.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
|
@ -37,31 +37,6 @@
|
|||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unref">
|
||||
<MemberSignature Language="C#" Value="public void Unref ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ref">
|
||||
<MemberSignature Language="C#" Value="public Gnome.Vfs.Volume Ref ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Gnome.Vfs.Volume</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Compare">
|
||||
<MemberSignature Language="C#" Value="public int Compare (Gnome.Vfs.Volume b);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -138,7 +113,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns the <see cref="T:Gnome.Vfs.Drive" /> on which this Volume resides.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Drive" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -151,7 +126,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The type of the file system (i.e. ext3).</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -164,7 +139,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>User readable string representing this Volume (i.e. "Harddrive").</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -177,7 +152,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The icon name used to represent this Volume.</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -190,7 +165,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Internal Volume Id.</summary>
|
||||
<returns>a <see cref="T:System.UInt64" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -203,7 +178,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether the Volume is mounted.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -216,7 +191,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The <see cref="T:Gnome.Vfs.Uri" /> which represents this Volume (i.e. file:///media/cdrecorder).</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -229,7 +204,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The location of the actual device if applicable (i.e. /dev/hdc).</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -242,7 +217,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns the type of Volume.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeType" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -255,7 +230,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether the Volume should be visible to the user.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -268,7 +243,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether this Volume supports handling trash items.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -281,7 +256,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns whether this Volume allows write access.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -294,7 +269,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The type of device this Volume represents.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.DeviceType" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Returns a pointer to the VolumeMonitor singleton. VolumeMonitor is a singleton, this means it is guaranteed to exist and be valid until <see cref="M:Gnome.Vfs.Vfs.Shutdown" /> is called.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitor" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
@ -125,18 +125,6 @@
|
|||
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gnome.Vfs.VolumeMonitor.VolumeMounted" /> event.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unref">
|
||||
<MemberSignature Language="C#" Value="public void Unref ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetVolumeForPath">
|
||||
<MemberSignature Language="C#" Value="public Gnome.Vfs.Volume GetVolumeForPath (string path);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -147,7 +135,7 @@
|
|||
<Parameter Name="path" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Looks for a <see cref="T:Gnome.Vfs.Volume" /> which contains <paramref name="path" />.</summary>
|
||||
<param name="path">a <see cref="T:System.String" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
|
@ -163,25 +151,12 @@
|
|||
<Parameter Name="id" Type="System.UInt64" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Looks for a <see cref="T:Gnome.Vfs.Drive" /> whose id is <paramref name="id" />.</summary>
|
||||
<param name="id">a <see cref="T:System.UInt64" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Drive" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ref">
|
||||
<MemberSignature Language="C#" Value="public Gnome.Vfs.VolumeMonitor Ref ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Gnome.Vfs.VolumeMonitor</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitor" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetVolumeById">
|
||||
<MemberSignature Language="C#" Value="public Gnome.Vfs.Volume GetVolumeById (ulong id);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -192,7 +167,7 @@
|
|||
<Parameter Name="id" Type="System.UInt64" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Looks for a <see cref="T:Gnome.Vfs.Volume" /> whose id is <paramref name="id" />.</summary>
|
||||
<param name="id">a <see cref="T:System.UInt64" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
|
@ -250,32 +225,6 @@
|
|||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MountedVolumes">
|
||||
<MemberSignature Language="C#" Value="public GLib.List MountedVolumes { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>GLib.List</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:GLib.List" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ConnectedDrives">
|
||||
<MemberSignature Language="C#" Value="public GLib.List ConnectedDrives { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>GLib.List</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:GLib.List" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="VolumePreUnmount">
|
||||
<MemberSignature Language="C#" Value="public event Gnome.Vfs.VolumePreUnmountHandler VolumePreUnmount;" />
|
||||
<MemberType>Event</MemberType>
|
||||
|
@ -284,7 +233,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a <see cref="T:Gnome.Vfs.Volume" /> is about to be unmounted.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -296,7 +245,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a <see cref="T:Gnome.Vfs.Drive" /> was disconnected.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -308,7 +257,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a <see cref="T:Gnome.Vfs.Volume" /> was unmounted.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -320,7 +269,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a new <see cref="T:Gnome.Vfs.Drive" /> was connected.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -332,7 +281,33 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a <see cref="T:Gnome.Vfs.Volume" /> was mounted.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ConnectedDrives">
|
||||
<MemberSignature Language="C#" Value="public Gnome.Vfs.Drive [] ConnectedDrives { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Gnome.Vfs.Drive[]</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an array of connected <see cref="T:Gnome.Vfs.Drive" />s.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Drive[]" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MountedVolumes">
|
||||
<MemberSignature Language="C#" Value="public Gnome.Vfs.Volume [] MountedVolumes { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Gnome.Vfs.Volume[]</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an array of mounted <see cref="T:Gnome.Vfs.Volume" />s.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume[]" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -1,93 +0,0 @@
|
|||
<Type Name="VolumeMonitorClient" FullName="Gnome.Vfs.VolumeMonitorClient">
|
||||
<TypeSignature Language="C#" Value="public class VolumeMonitorClient : Gnome.Vfs.VolumeMonitor, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>gnome-vfs-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</AssemblyInfo>
|
||||
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Gnome.Vfs.VolumeMonitor</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Finalize">
|
||||
<MemberSignature Language="C#" Value="protected override void Finalize ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="protected VolumeMonitorClient (GLib.GType gtype);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="gtype" Type="GLib.GType" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="gtype">a <see cref="T:GLib.GType" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitorClient" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public VolumeMonitorClient (IntPtr raw);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="raw">a <see cref="T:System.IntPtr" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitorClient" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="protected VolumeMonitorClient ();" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitorClient" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GType">
|
||||
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>GLib.GType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:GLib.GType" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -1,105 +0,0 @@
|
|||
<Type Name="VolumeMonitorDaemon" FullName="Gnome.Vfs.VolumeMonitorDaemon">
|
||||
<TypeSignature Language="C#" Value="public class VolumeMonitorDaemon : Gnome.Vfs.VolumeMonitor, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>gnome-vfs-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</AssemblyInfo>
|
||||
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Gnome.Vfs.VolumeMonitor</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Finalize">
|
||||
<MemberSignature Language="C#" Value="protected override void Finalize ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ForceProbe">
|
||||
<MemberSignature Language="C#" Value="public void ForceProbe ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="protected VolumeMonitorDaemon (GLib.GType gtype);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="gtype" Type="GLib.GType" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="gtype">a <see cref="T:GLib.GType" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitorDaemon" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public VolumeMonitorDaemon (IntPtr raw);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="raw">a <see cref="T:System.IntPtr" /></param>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitorDaemon" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="protected VolumeMonitorDaemon ();" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.VolumeMonitorDaemon" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GType">
|
||||
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>GLib.GType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<returns>a <see cref="T:GLib.GType" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -53,7 +53,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>the <see cref="T:Gnome.Vfs.Volume" /> that was mounted.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>the <see cref="T:Gnome.Vfs.Volume" /> about to be unmounted.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</AssemblyInfo>
|
||||
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>The type of <see cref="T:Gnome.Vfs.Volume" />.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a Volume with a local mountpoint.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a Volume mounted via Gnome.Vfs directly.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>a Volume obtained via the "Connect To Server" function of Nautilus.</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>the <see cref="T:Gnome.Vfs.Volume" /> that was unmounted.</summary>
|
||||
<returns>a <see cref="T:Gnome.Vfs.Volume" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -61,11 +61,19 @@
|
|||
<attr path="/api/namespace/object[@cname='GnomeVFSClientCall']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSMIMEMonitor']" name="name">MimeMonitor</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSDrive']" name="name">Drive</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSDrive']/method[@name='Ref']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSDrive']/method[@name='Unref']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolume']" name="name">Volume</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolume']/method[@name='HandlesTrash']" name="name">GetHandlesTrash</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolume']/method[@name='Ref']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolume']/method[@name='Unref']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitor']" name="name">VolumeMonitor</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitorClient']" name="name">VolumeMonitorClient</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitorDaemon']" name="name">VolumeMonitorDaemon</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitor']/method[@name='GetConnectedDrives']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitor']/method[@name='GetMountedVolumes']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitor']/method[@name='Ref']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitor']/method[@name='Unref']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitorClient']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GnomeVFSVolumeMonitorDaemon']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GnomeVFSAsyncHandle']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GnomeVFSCancellation']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GnomeVFSContext']" name="hidden">1</attr>
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Gnome.Vfs {
|
|||
private Exception exception = null;
|
||||
private int nbytes = -1;
|
||||
|
||||
public VfsStreamAsyncResult (object state)
|
||||
internal VfsStreamAsyncResult (object state)
|
||||
{
|
||||
this.state = state;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ namespace Gnome.Vfs {
|
|||
}
|
||||
}
|
||||
|
||||
public bool Done {
|
||||
internal bool Done {
|
||||
get {
|
||||
return done;
|
||||
}
|
||||
|
@ -86,13 +86,13 @@ namespace Gnome.Vfs {
|
|||
}
|
||||
}
|
||||
|
||||
public void SetComplete (Exception e)
|
||||
internal void SetComplete (Exception e)
|
||||
{
|
||||
exception = e;
|
||||
completed = true;
|
||||
}
|
||||
|
||||
public void SetComplete (Exception e, int nbytes)
|
||||
internal void SetComplete (Exception e, int nbytes)
|
||||
{
|
||||
this.nbytes = nbytes;
|
||||
SetComplete (e);
|
||||
|
|
|
@ -18,6 +18,36 @@
|
|||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
[DllImport("gnomevfs-2")]
|
||||
static extern IntPtr gnome_vfs_volume_monitor_get_connected_drives(IntPtr raw);
|
||||
|
||||
public Drive[] ConnectedDrives {
|
||||
get {
|
||||
IntPtr raw_ret = gnome_vfs_volume_monitor_get_connected_drives(Handle);
|
||||
GLib.List list = new GLib.List(raw_ret);
|
||||
Drive[] result = new Drive [list.Count];
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
result [i] = list [i] as Drive;
|
||||
list.Dispose ();
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("gnomevfs-2")]
|
||||
static extern IntPtr gnome_vfs_volume_monitor_get_mounted_volumes(IntPtr raw);
|
||||
|
||||
public Volume[] MountedVolumes {
|
||||
get {
|
||||
IntPtr raw_ret = gnome_vfs_volume_monitor_get_mounted_volumes(Handle);
|
||||
GLib.List list = new GLib.List(raw_ret);
|
||||
Volume[] result = new Volume [list.Count];
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
result [i] = list [i] as Volume;
|
||||
list.Dispose ();
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("gnomevfs-2")]
|
||||
static extern IntPtr gnome_vfs_get_volume_monitor ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue