Update of /cvsroot/csmail/csmail/src/CSMail
In directory usw-pr-cvs1:/tmp/cvs-serv16789
Modified Files:
ChangeLog Service.cs Store.cs
Added Files:
StoreChangedEventArgs.cs StoreChangedEventHandler.cs
Log Message:
2002-08-30
* Store.cs : event Connection - Stubbed
* Service.cs : event Store - Stubbed
* StoreChangedEventArgs.cs: Added class
* StoreChangedEventHandles.cs
: Added delegate
--- NEW FILE ---
/**
* Namespace: CSMail
* Class: StoreChangedEventArgs
*
* Author: Gaurav Vaish
* Maintainer: mastergaurav AT users DOT sf DOT net
*
* (C) Gaurav Vaish (2002)
*/
using System;
namespace CSMail
{
public class StoreChangedEventArgs
{
[MailTODO]
public StoreChangedEventArgs()
{
throw new NotImplementedException();
}
}
}
--- NEW FILE ---
/**
* Namespace: CSMail
* Delegate: StoreChangedEventHandler
*
* Author: Gaurav Vaish
* Maintainer: mastergaurav AT users DOT sf DOT net
*
* (C) Gaurav Vaish (2002)
*/
namespace CSMail
{
public delegate void StoreChangedEventHandler(object sender, StoreChangedEventArgs e);
}
Index: ChangeLog
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog 30 Aug 2002 10:31:26 -0000 1.14
+++ ChangeLog 30 Aug 2002 10:59:09 -0000 1.15
@@ -1,6 +1,14 @@
2002-08-30 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
+ * Store.cs : event Connection - Stubbed
+ * Service.cs : event Store - Stubbed
+ * StoreChangedEventArgs.cs: Added class
+ * StoreChangedEventHandles.cs
+ : Added delegate
+
+2002-08-30 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
+
* Session.cs : Providers { get; } - Implemented
: Minor changes due to CSMail.Utils.Properties
* EMailAddress.cs : Equals(IAddress) - Changed criterion
Index: Service.cs
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/Service.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Service.cs 20 Jun 2002 02:43:25 -0000 1.1
+++ Service.cs 30 Aug 2002 10:59:09 -0000 1.2
@@ -19,6 +19,8 @@
protected Session session;
protected URLName url;
+ private static readonly object ConnectionEvent = new object();
+
protected Service(Session session, URLName url)
{
this.session = session;
@@ -46,7 +48,7 @@
{
throw new NotImplementedException();
}
-
+
[MailTODO]
public void Connect()
{
@@ -64,11 +66,24 @@
{
throw new NotImplementedException();
}
-
+
[MailTODO]
~Service()
{
throw new NotImplementedException();
+ }
+
+ [MailTODO]
+ public event ConnectionEventHandler Connection
+ {
+ add
+ {
+ throw new NotImplementedException();
+ }
+ remove
+ {
+ throw new NotImplementedException();
+ }
}
}
}
Index: Store.cs
===================================================================
RCS file: /cvsroot/csmail/csmail/src/CSMail/Store.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Store.cs 20 Jun 2002 02:43:25 -0000 1.1
+++ Store.cs 30 Aug 2002 10:59:09 -0000 1.2
@@ -8,6 +8,8 @@
* (C) Gaurav Vaish (2002)
*/
+using System;
+
namespace CSMail
{
public abstract class Store: Service
@@ -15,9 +17,35 @@
public Store(Session session, URLName url): base(session, url)
{
}
-
+
public abstract Folder DefaultFolder { get; }
public abstract Folder this[string folderName] { get; }
public abstract Folder this[URLName url] { get; }
+
+ [MailTODO]
+ public event StoreChangedEventHandler StoreChanged
+ {
+ add
+ {
+ throw new NotImplementedException();
+ }
+ remove
+ {
+ throw new NotImplementedException();
+ }
+ }
+
+ [MailTODO]
+ public event FolderEventHandler Folder
+ {
+ add
+ {
+ throw new NotImplementedException();
+ }
+ remove
+ {
+ throw new NotImplementedException();
+ }
+ }
}
}
|