Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / jabber_whiteboard / pedrogui.h
index 2758c81d1ffb565a00cb16da6e643acee8ce5486..d9a66a5e51b144138d8b800e5ca6c538eb1ff4ca 100644 (file)
@@ -94,6 +94,7 @@ private:
 
     void sendFileCallback();
     void chatCallback();
+    void shareCallback();
     bool buttonPressCallback(GdkEventButton* event);
 
     bool doSetup();
@@ -221,6 +222,7 @@ private:
 
     void sendFileCallback();
     void chatCallback();
+    void shareCallback();
     bool buttonPressCallback(GdkEventButton* event);
 
     bool doSetup();
@@ -279,6 +281,7 @@ private:
 
     void leaveCallback();
     void hideCallback();
+    void shareCallback();
     void textEnterCallback();
 
     bool doSetup();
@@ -330,6 +333,7 @@ public:
     virtual void doSendFile(const DOMString &nick);
 
     virtual void doChat(const DOMString &nick);
+    virtual void doShare(const DOMString &nick);
 
 
 private:
@@ -337,6 +341,7 @@ private:
     void textEnterCallback();
     void leaveCallback();
     void hideCallback();
+    void shareCallback();
 
     bool doSetup();
 
@@ -790,9 +795,9 @@ public:
     XmppConfig config;
 
 
-    virtual void error(const char *fmt, ...);
+    virtual void error(const char *fmt, ...) G_GNUC_PRINTF(2,3);
 
-    virtual void status(const char *fmt, ...);
+    virtual void status(const char *fmt, ...) G_GNUC_PRINTF(2,3);
 
 
 
@@ -839,6 +844,8 @@ public:
                        long  size,
                        const DOMString &hash);
 
+    void doShare(const DOMString &jid);
+    void doGroupShare(const DOMString &groupJid);
 
     //# File menu
     void connectCallback();
@@ -893,10 +900,6 @@ private:
     std::vector<ChatWindow *>chats;
 
     std::vector<GroupChatWindow *>groupChats;
-
-    static const int writeBufLen = 2048;
-
-    char writeBuf[writeBufLen];
 };