evolution r36156 - branches/mail-dbus-remoting/mail



Author: sragavan
Date: Thu Aug 28 11:30:26 2008
New Revision: 36156
URL: http://svn.gnome.org/viewvc/evolution?rev=36156&view=rev

Log:
Code cleanups


Modified:
   branches/mail-dbus-remoting/mail/camel-object-remote-impl.h

Modified: branches/mail-dbus-remoting/mail/camel-object-remote-impl.h
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-object-remote-impl.h	(original)
+++ branches/mail-dbus-remoting/mail/camel-object-remote-impl.h	Thu Aug 28 11:30:26 2008
@@ -7,21 +7,17 @@
 #ifndef CAMEL_OBJECT_REMOTE_IMPL_H
 #define CAMEL_OBJECT_REMOTE_IMPL_H
 
-DBusHandlerResult
-camel_object_session_signal_handler (DBusConnection *connection,
-                                    DBusMessage    *message,
-                                    void           *user_data);
-
-DBusHandlerResult
-camel_object_store_signal_handler (DBusConnection *connection,
-                                    DBusMessage    *message,
-                                    void           *user_data);
+typedef enum {
+	CAMEL_ROT_SESSION=0,
+	CAMEL_ROT_STORE,
+	CAMEL_ROT_FOLDER		
+}CamelObjectRemoteImplType;
 
 DBusHandlerResult
-camel_object_folder_signal_handler (DBusConnection *connection,
+camel_object_signal_handler (DBusConnection *connection,
                                     DBusMessage    *message,
-                                    void           *user_data);
-
+                                    void           *user_data,
+				    CamelObjectRemoteImplType type);
 void
 camel_object_remote_impl_init (void);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]