OSDN Git Service

COUT切断機能を追加
[peercast-im/PeerCastIM.git] / PeerCast.root / PeerCast / ui / win32 / simple / gui.h
index ad783e8..4b86a7e 100644 (file)
@@ -22,6 +22,7 @@
 #include "sys.h"
 #include "gdiplus.h"
 #include "channel.h"
+#include "servent.h"
 
 extern LRESULT CALLBACK GUIProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
 extern void ADDLOG(const char *str,int id,bool sel,void *data, LogBuffer::TYPE type);
@@ -175,6 +176,8 @@ public:
                selected = FALSE;
                serventDataTop = NULL;
                openFlg = FALSE;
+               type = Servent::T_NONE;
+               servent_id = -1;
        }
        int drawChannel(Gdiplus::Graphics *g, int x, int y);
 
@@ -219,6 +222,9 @@ public:
        int getServentCount();
 
        bool checkDown(int x, int y);
+
+       Servent::TYPE type; // COUT\82Ì\83T\81[\83o\83\93\83g\8fî\95ñ\95Û\8e\9d\97p
+       int servent_id; // \93¯\8fã\81Bchannel_id\82Å\91ã\97p\82Å\82«\82½\82¯\82ÇPublic\82É\82µ\82½\82­\82È\82¢
 };