File: mailfilter.h

package info (click to toggle)
aethera 0.9.3-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,588 kB
  • ctags: 7,282
  • sloc: cpp: 64,544; sh: 9,913; perl: 1,756; makefile: 1,680; python: 258
file content (31 lines) | stat: -rw-r--r-- 553 bytes parent folder | download
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
#ifndef MAILFILTER_H
#define MAILFILTER_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <kore/serviceprovider.h>

#define MAILFILTER_TYPE "Filter"
#define MAILFILTER_SERVICE "Kore/UI/Filter"

using namespace kore;

class QWidget;
class IndexClass;
class MessageClass;
class QString;

class MailFilterV: public ServiceProvider
{
public:
    virtual void applyFilter(IndexClass*, bool useForwardActions = true ) = 0;
    virtual QString messageFolder( MessageClass* ) = 0;
    virtual void configure(QWidget *,const char*) = 0;
};

#endif