index 61650c361f29c818969ff2dd796eeb396d8051cb..f3fb96e72e5704ac4b171b924957583d116bfcc7 100644 (file)
--- a/src/pedro/pedroconfig.h
+++ b/src/pedro/pedroconfig.h
* Authors:
* Bob Jamison
*
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005-2006 Bob Jamison
+ * Copyright (C) 2005-2007 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
/**
*
*/
/**
*
*/
- virtual DOMString getName()
+ virtual DOMString getName() const
{ return name; }
/**
{ return name; }
/**
/**
*
*/
/**
*
*/
- virtual DOMString getHost()
+ virtual DOMString getHost() const
{ return host; }
/**
{ return host; }
/**
/**
*
*/
/**
*
*/
- virtual int getPort()
+ virtual int getPort() const
{ return port; }
/**
{ return port; }
/**
/**
*
*/
/**
*
*/
- virtual DOMString getUsername()
+ virtual DOMString getUsername() const
{ return username; }
/**
{ return username; }
/**
/**
*
*/
/**
*
*/
- virtual DOMString getPassword()
+ virtual DOMString getPassword() const
{ return password; }
/**
{ return password; }
/**
/**
*
*/
/**
*
*/
- virtual std::vector<XmppAccount> &getAccounts()
- { return accounts; }
+ virtual std::vector<XmppAccount> &getAccounts();
+ /**
+ *
+ */
+ virtual DOMString getMucGroup();
+
+ /**
+ *
+ */
+ virtual void setMucGroup(const DOMString &val);
+
+ /**
+ *
+ */
+ virtual DOMString getMucHost();
+
+ /**
+ *
+ */
+ virtual void setMucHost(const DOMString &val);
+
+ /**
+ *
+ */
+ virtual DOMString getMucNick();
+
+ /**
+ *
+ */
+ virtual void setMucNick(const DOMString &val);
+
+ /**
+ *
+ */
+ virtual DOMString getMucPassword();
+
+ /**
+ *
+ */
+ virtual void setMucPassword(const DOMString &val);
+
+ /**
+ *
+ */
+ virtual bool accountAdd(const XmppAccount &account);
+
+ /**
+ *
+ */
+ virtual bool accountExists(const DOMString &accountName);
+
+ /**
+ *
+ */
+ virtual void accountRemove(const DOMString &accountName);
+
+ /**
+ *
+ */
+ bool accountFind(const DOMString &accountName,
+ XmppAccount &retVal);
private:
private:
accounts = other.accounts;
}
accounts = other.accounts;
}
+ //# Group stuff
+ DOMString mucGroup;
+
+ DOMString mucHost;
+
+ DOMString mucNick;
+
+ DOMString mucPassword;
+
std::vector<XmppAccount> accounts;
};
std::vector<XmppAccount> accounts;
};