annotate include/TaskManager/MailManager.h @ 347:ee3db22c03b9

error in SceneGraph.[cpp,h]
author e065746@localhost.localdomain
date Wed, 08 Jul 2009 15:04:03 +0900
parents 7927e00fb8e2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_MAIL_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_MAIL_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
4 typedef struct mail_queue {
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
5 unsigned int data;
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
6 struct mail_queue *next;
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
7 } MailQueue, *MailQueuePtr;
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
8
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
9 class MailManager {
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
10 public:
19
98bb1b2bb71e *** empty log message ***
gongo
parents: 3
diff changeset
11 /* constructor */
98bb1b2bb71e *** empty log message ***
gongo
parents: 3
diff changeset
12 MailManager(void);
20
31a7ff27ee20 *** empty log message ***
gongo
parents: 19
diff changeset
13 ~MailManager(void);
19
98bb1b2bb71e *** empty log message ***
gongo
parents: 3
diff changeset
14
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
15 /* functions */
50
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
16 int init(int num);
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
17 MailQueuePtr create(unsigned int data);
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
18 void free(MailQueuePtr q);
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
19 static MailQueuePtr append_mailQueue(MailQueuePtr list, MailQueuePtr q);
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
20
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
21 private:
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
22 /* variables */
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
23 MailQueuePtr mailQueuePool;
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
24 MailQueuePtr freeMailQueue;
50
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
25
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
26 /* functions */
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
27 int extend_pool(int num);
7927e00fb8e2 *** empty log message ***
gongo
parents: 20
diff changeset
28 void destroy(void);
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
29 };
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
30
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
31 #endif