diff options
author | Manish Sinha <manishsinha.tech@gmail.com> | 2010-11-01 17:22:13 +0530 |
---|---|---|
committer | Manish Sinha <manishsinha.tech@gmail.com> | 2010-11-01 17:22:13 +0530 |
commit | 555a53fd40960d65352d553fd1e9874f0d1096ef (patch) | |
tree | 9cff63218b32df4c9018af206c41263f2e1c1566 | |
parent | c6538d8a190b94a24734f18719ae4d29f47032e8 (diff) |
Added Zeitgeist/AssemblyInfo.cs to Zeitgeist/Zeitgeist.csproj and updated the documentation
-rw-r--r-- | Zeitgeist/AssemblyInfo.cs | 27 | ||||
-rw-r--r-- | Zeitgeist/Datamodel/Delegates.cs | 14 | ||||
-rw-r--r-- | Zeitgeist/Datamodel/Event.cs | 4 | ||||
-rw-r--r-- | Zeitgeist/Zeitgeist.csproj | 1 | ||||
-rw-r--r-- | Zeitgeist/zeitgeist-sharp.pc | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
6 files changed, 47 insertions, 3 deletions
diff --git a/Zeitgeist/AssemblyInfo.cs b/Zeitgeist/AssemblyInfo.cs new file mode 100644 index 0000000..fb301f8 --- /dev/null +++ b/Zeitgeist/AssemblyInfo.cs @@ -0,0 +1,27 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle("Zeitgeist")] +[assembly: AssemblyDescription("Mono bindings for Zeitgeist DBus API")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Zeitgeist-Sharp Developers")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("(C) 2010 Zeitgeist-Sharp Developers")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion("0.1.0.1")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] + diff --git a/Zeitgeist/Datamodel/Delegates.cs b/Zeitgeist/Datamodel/Delegates.cs index 7564196..e4d6eb9 100644 --- a/Zeitgeist/Datamodel/Delegates.cs +++ b/Zeitgeist/Datamodel/Delegates.cs @@ -3,8 +3,22 @@ using System.Collections.Generic; namespace Zeitgeist.Datamodel { + /// <summary> + /// The delegate for an event which is called by the Daemon when a matching event is inserted + /// </summary> + /// <remarks> + /// Using Monitor a client can recieve events from the daemon when some event is inserted which + /// matches the Event template provided. This delegeate defined the event for the same + /// </remarks> public delegate void NotifyInsertHandler(TimeRange range, List<Event> events); + /// <summary> + /// The delegate for an event which is called by the Daemon when a matching event is deleted + /// </summary> + /// <remarks> + /// Using Monitor a client can recieve events from the daemon when some event is deleted which + /// matches the Event template provided. This delegeate defined the event for the same + /// </remarks> public delegate void NotifyDeleteHandler(TimeRange range, List<UInt32> eventIds); } diff --git a/Zeitgeist/Datamodel/Event.cs b/Zeitgeist/Datamodel/Event.cs index d4f3213..7706d9c 100644 --- a/Zeitgeist/Datamodel/Event.cs +++ b/Zeitgeist/Datamodel/Event.cs @@ -9,9 +9,11 @@ namespace Zeitgeist.Datamodel /// Core data structure in the Zeitgeist framework. It is an optimized and convenient representation of an event. /// This class is designed so that you can pass it directly over DBus using the Python DBus bindings. /// It will automagically be marshalled with the signature a(asaasay). + /// </summary> + /// <remarks> /// This class does integer based lookups everywhere and can wrap any conformant data structure without the need for marshalling back and forth between DBus wire format. /// These two properties makes it highly efficient and is recommended for use everywhere. - /// </summary> + /// </remarks> public class Event { /// <summary> diff --git a/Zeitgeist/Zeitgeist.csproj b/Zeitgeist/Zeitgeist.csproj index 9c95821..34c6dd7 100644 --- a/Zeitgeist/Zeitgeist.csproj +++ b/Zeitgeist/Zeitgeist.csproj @@ -63,6 +63,7 @@ <Compile Include="Datamodel\NameUri.cs" /> <Compile Include="Datamodel\Monitor.cs" /> <Compile Include="Datamodel\Delegates.cs" /> + <Compile Include="AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> <Folder Include="Datamodel\" /> diff --git a/Zeitgeist/zeitgeist-sharp.pc b/Zeitgeist/zeitgeist-sharp.pc index dffe4dd..aeebe57 100644 --- a/Zeitgeist/zeitgeist-sharp.pc +++ b/Zeitgeist/zeitgeist-sharp.pc @@ -2,4 +2,4 @@ Name: zeitgeist-sharp Description: Zeitgeist C# binding Version: 0.1 -Libs: -r:/usr/local/lib/zeitgeist-sharp/zeitgeist-sharp.dll +Libs: -r:/usr/lib/zeitgeist-sharp/zeitgeist-sharp.dll diff --git a/configure.ac b/configure.ac index 2263b1b..47f582d 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ AC_PROG_INSTALL # DO NOT TOUCH! # Except you know what you do # This defines the library ABI version! -ASSEMBLY_VERSION="0.1.0.0" +ASSEMBLY_VERSION="0.1.0.1" AC_SUBST(ASSEMBLY_VERSION) PKG_CHECK_MODULES([MONO], [mono >= 2.4]) |