summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ui/oholidayplugin.h
blob: 2e8c09e3704c4aba51cc86410210aa197350f553 (plain)
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
#ifndef _HOLIDAY_PLUGIN_H
#define _HOLIDAY_PLUGIN_H

#include <qstring.h>
#include <qstringlist.h>
#include <qdatetime.h>
#include <qmap.h>

namespace Opie {
namespace Datebook {

class HolidayPlugin
{
public:
    HolidayPlugin(){};
    virtual ~HolidayPlugin(){};
    virtual QString description()=0;
    virtual QStringList entries(const QDate&)=0;
    virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0;
    virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&)=0;
};

}
}
#endif