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

Annotation of /innwebd/base_active.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Sun Jul 4 06:45:23 2004 UTC (21 years, 8 months ago) by sysadm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Content type: text/x-chdr
Version 1.4.2

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

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