--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/com/beem/project/beem/service/PrivacyListAdapter.java Mon Jun 22 17:53:11 2009 +0200
@@ -0,0 +1,39 @@
+/**
+ *
+ */
+package com.beem.project.beem.service;
+
+import java.util.List;
+
+import org.jivesoftware.smack.PrivacyListListener;
+import org.jivesoftware.smack.PrivacyListManager;
+import org.jivesoftware.smack.packet.PrivacyItem;
+
+/**
+ * @author nikita
+ *
+ */
+public class PrivacyListAdapter {
+ private PrivacyListManager mAdaptee = null;
+
+
+ public PrivacyListAdapter(PrivacyListManager manager) {
+ mAdaptee = manager;
+ }
+
+ class MyPrivacyListListener implements PrivacyListListener {
+
+ @Override
+ public void setPrivacyList(String listName, List<PrivacyItem> listItem) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void updatedPrivacyList(String listName) {
+ // TODO Auto-generated method stub
+
+ }
+
+ }
+}
--- a/src/com/beem/project/beem/service/XmppConnectionAdapter.java Mon Jun 22 15:59:18 2009 +0200
+++ b/src/com/beem/project/beem/service/XmppConnectionAdapter.java Mon Jun 22 17:53:11 2009 +0200
@@ -40,7 +40,6 @@
* Defaut constructor.
*/
public ConnexionListenerAdapter() {
- // TODO Auto-generated constructor stub
}
/**
@@ -205,7 +204,7 @@
* password to use on connect
*/
public XmppConnectionAdapter(final ConnectionConfiguration config, final String login, final String password,
- BeemService service) {
+ BeemService service) {
this(new XMPPConnection(config), login, password, service);
}
@@ -220,7 +219,7 @@
* password to use on connect
*/
public XmppConnectionAdapter(final String serviceName, final String login, final String password,
- BeemService service) {
+ BeemService service) {
this(new XMPPConnection(serviceName), login, password, service);
}
@@ -235,7 +234,7 @@
* The password to use
*/
public XmppConnectionAdapter(final XMPPConnection con, final String login, final String password,
- BeemService service) {
+ BeemService service) {
mAdaptee = con;
mLogin = login;
mPassword = password;