blob: a143df0ec7be1661d5e54af9c447cc345c1f8084 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
class center_jmod_info{
public:
char name[NAME_MAX + 1];
int cacheid;
void *manage_dll;
void *manage_sub_fn;
void *manage_res_fn;
center_jmod_info(char *name,int cacheid){
this->name[0] = '\0';
strncat(this->name,name,sizeof(this->name));
this->cacheid = cacheid;
this->manage_dll = NULL;
this->manage_sub_fn = NULL;
this->manage_res_fn = NULL;
}
};
class center_pro_info{
public:
int proid;
int cacheid;
center_jmod_info *jmod_info;
int lang_flag;
center_pro_info(int proid,int cacheid,center_jmod_info *jmod_info,int lang_flag){
this->proid = proid;
this->cacheid = cacheid;
this->jmod_info = jmod_info;
this->lang_flag = lang_flag;
}
};
class center_submit_info{
public:
int subid;
int uid;
center_jmod_info *jmod_info;
center_pro_info *pro_info;
int lang;
char *param;
void *jmod_manage_data;
center_submit_info(int subid,int uid,center_jmod_info *jmod_info,center_pro_info *pro_info,int lang,char *param){
this->subid = subid;
this->uid = uid;
this->jmod_info = jmod_info;
this->pro_info = pro_info;
this->lang = lang;
this->param = param;
this->jmod_manage_data = NULL;
}
};
|