/[LeafOK_CVS]/innwebd/base_active.h
ViewVC logotype

Contents of /innwebd/base_active.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Fri Apr 11 17:14:49 2008 UTC (17 years, 11 months ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -6 lines
Content type: text/x-chdr
Update copyright
Add extra log for exception

1 /*******************************************************/
2 /* */
3 /* LeafOK Innbbsd */
4 /* */
5 /* Copyright (C) LeafOK.com, 2003-2008 */
6 /* */
7 /* http://www.leafok.com */
8 /* */
9 /*******************************************************/
10
11 #pragma once
12 #include ".\base.h"
13
14 class base_active :
15 public base
16 {
17 public:
18 static UINT uThreadCount;
19 base_active(void);
20 ~base_active(void);
21 virtual int s_connect(const char* hostaddr, unsigned int port);
22 virtual int s_close(void);
23 virtual int work(bool get = false, bool use_ihave = false);
24 protected:
25 int get_article(const char* news_server, unsigned int news_id);
26 int get_cancel(const char* news_server, unsigned int news_id, int step=1);
27 int post_article(const char* news_server);
28 int post_cancel(const char* news_server);
29 int ihave_article(const char* news_server);
30 int ihave_cancel(const char* news_server);
31 int get(void);
32 int post(void);
33 int ihave(void);
34 bool check_todo_list(void);
35 virtual int w_call(void);
36 static DWORD SendThread(LPVOID pParam);
37 };

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1