X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpedro%2Fpedroconfig.h;h=f3fb96e72e5704ac4b171b924957583d116bfcc7;hb=713ffe6438216a16f37590dfcb78715b42906843;hp=61650c361f29c818969ff2dd796eeb396d8051cb;hpb=19129d5197e612b7a7d6574500f6266ea1de2a62;p=inkscape.git diff --git a/src/pedro/pedroconfig.h b/src/pedro/pedroconfig.h index 61650c361..f3fb96e72 100644 --- a/src/pedro/pedroconfig.h +++ b/src/pedro/pedroconfig.h @@ -6,7 +6,7 @@ * 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 @@ -72,7 +72,7 @@ public: /** * */ - virtual DOMString getName() + virtual DOMString getName() const { return name; } /** @@ -84,7 +84,7 @@ public: /** * */ - virtual DOMString getHost() + virtual DOMString getHost() const { return host; } /** @@ -96,7 +96,7 @@ public: /** * */ - virtual int getPort() + virtual int getPort() const { return port; } /** @@ -108,7 +108,7 @@ public: /** * */ - virtual DOMString getUsername() + virtual DOMString getUsername() const { return username; } /** @@ -120,7 +120,7 @@ public: /** * */ - virtual DOMString getPassword() + virtual DOMString getPassword() const { return password; } /** @@ -217,9 +217,68 @@ public: /** * */ - virtual std::vector &getAccounts() - { return accounts; } + virtual std::vector &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: @@ -233,6 +292,15 @@ private: accounts = other.accounts; } + //# Group stuff + DOMString mucGroup; + + DOMString mucHost; + + DOMString mucNick; + + DOMString mucPassword; + std::vector accounts; };