index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
dir_000000.html
mono
Error.cs
00001
namespace
DBus
00002 {
00003
00004
using
System;
00005
using
System.Runtime.InteropServices;
00006
using
System.Diagnostics;
00007
00008
// FIXME add code to verify that size of DBus.Error
00009
// matches the C code.
00010
00011   [StructLayout (LayoutKind.Sequential)]
structDBus_1_1Error.html
00012
internal
struct
structDBus_1_1Error.html
Error
00013   {
structDBus_1_1Error.html#o0
00014
internal IntPtr
structDBus_1_1Error.html#o0
name
;
structDBus_1_1Error.html#o1
00015
internal IntPtr
structDBus_1_1Error.html#o1
message
;
00016
private
int
dummies;
00017
private
IntPtr padding1;
00018
structDBus_1_1Error.html#a0
00019
public
void
structDBus_1_1Error.html#a0
Init
()
00020     {
00021       dbus_error_init(ref
this
);
00022     }
00023
structDBus_1_1Error.html#a1
00024
public
void
structDBus_1_1Error.html#a1
Free
()
00025     {
00026       dbus_error_free(ref
this
);
00027     }
00028
00029
public
string
classDBus_1_1Message.html
Message
structDBus_1_1Error.html#00
00030
{
00031       get
00032         {
00033
return
System.Runtime.InteropServices.Marshal.PtrToStringAnsi(
structDBus_1_1Error.html#o1
message
);
00034         }
00035     }
00036
00037
public
string
structDBus_1_1Error.html#01
Name
structDBus_1_1Error.html#01
00038
{
00039       get
00040         {
00041
return
System.Runtime.InteropServices.Marshal.PtrToStringAnsi(
structDBus_1_1Error.html#o0
name
);
00042         }
00043     }
00044
00045
public
bool
structDBus_1_1Error.html#02
IsSet
structDBus_1_1Error.html#02
00046
{
00047       get
00048         {
00049
return
(
structDBus_1_1Error.html#o0
name
!= IntPtr.Zero);
00050         }
00051     }
00052
00053
00054     [DllImport (
"dbus-1"
, EntryPoint=
"dbus_error_init"
)]
00055
private
extern
static
void
dbus_error_init (ref
structDBus_1_1Error.html
Error
error);
00056
00057     [DllImport (
"dbus-1"
, EntryPoint=
"dbus_error_free"
)]
00058
private
extern
static
void
dbus_error_free (ref
structDBus_1_1Error.html
Error
error);
00059   }
00060 }
Generated on Tue Sep 13 01:28:08 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
