Committing my local state. Mostly still invisible part on the not yet enabled network...
[quassel.git] / src / client / client.h
index 26e67cc..6daa757 100644 (file)
@@ -54,14 +54,14 @@ public:
   static void destroy();
   static void init(AbstractUi *);
 
   static void destroy();
   static void init(AbstractUi *);
 
-  static QList<Network *> networks();
-  static Network *network(NetworkId networkid);
-
   static QList<BufferInfo> allBufferInfos();
   static QList<Buffer *> buffers();
   static Buffer *buffer(BufferId bufferUid);
   static Buffer *buffer(BufferInfo);
 
   static QList<BufferInfo> allBufferInfos();
   static QList<Buffer *> buffers();
   static Buffer *buffer(BufferId bufferUid);
   static Buffer *buffer(BufferInfo);
 
+  static QList<NetworkId> networkIds();
+  static const Network * network(NetworkId);
+
   static QList<IdentityId> identityIds();
   static const Identity * identity(IdentityId);
 
   static QList<IdentityId> identityIds();
   static const Identity * identity(IdentityId);
 
@@ -144,6 +144,8 @@ signals:
   //! Sent to the core when an identity shall be removed. Should not be used elsewhere.
   void requestRemoveIdentity(IdentityId);
 
   //! Sent to the core when an identity shall be removed. Should not be used elsewhere.
   void requestRemoveIdentity(IdentityId);
 
+  void networkAdded(NetworkId id);
+
 public slots:
   //void selectBuffer(Buffer *);
 
 public slots:
   //void selectBuffer(Buffer *);