File: spoollist.hh

package info (click to toggle)
bbmail 0.8.3-7
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 784 kB
  • sloc: cpp: 7,307; sh: 3,506; makefile: 83; perl: 26
file content (63 lines) | stat: -rw-r--r-- 1,630 bytes parent folder | download | duplicates (5)
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
54
55
56
57
58
59
60
61
62
63
//  spoollist.hh for bbmail - an tool to display new mail in X11.
//
//  this program is free software; you can redistribute it and/or modify
//  it under the terms of the gnu general public license as published by
//  the free software foundation; either version 2 of the license, or
//  (at your option) any later version.
//
//  this program is distributed in the hope that it will be useful,
//  but without any warranty; without even the implied warranty of
//  merchantability or fitness for a particular purpose.  see the
//  gnu general public license for more details.
//
//  you should have received a copy of the gnu general public license
//  along with this program; if not, write to the free software
//  foundation, inc., 675 mass ave, cambridge, ma 02139, usa.
//
// (see the included file copying / gpl-2.0)
//


#ifndef __SPOOLLIST_HH
#define __SPOOLLIST_HH

#include "bbmail.hh"

class SpoolList
{

public:
	SpoolList(void);
	~SpoolList(void);

	enum TYPE {mbox,maildir,other} type;
	char *filename;
	char *cur_maildir;
	char *new_maildir;
	char *name;
	BColor newmail_textColor;
	BColor newmail_error_textColor;
	BTexture newmail_texture;
	BTexture newmail_pressed_texture;
	char *runCommand;
	char *statusFlag;
	bool procDefined;
	char *proc;
	char *reversedProc;
	char *newmailProc;
	bool force_check;
	bool bell;
	bool first_is_new;
	bool second_is_total;
	bool second_ignore;

	void LoadFilename(char *);
	void LoadName(char *);
	void LoadrunCommand(char *);
	void LoadstatusFlag(char *);
	void LoadProc(char *);
	void LoadreversedProc(char *);
	void LoadnewmailProc(char *);
};

#endif /* __SPOLLIST_H */