summaryrefslogtreecommitdiff
path: root/search.h
blob: 1bf9e182b38a72ef2bee5e4e496e3d5ef38d4652 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * search.h
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id: search.h,v 1.2 2006/06/18 13:59:36 schmitzj Exp $
 *
 */

#ifndef SEARCH_H
#define SEARCH_H

#include <vdr/plugin.h>
#include <time.h>
#include "gfxtools.h"
#include "config.h"

class EventItem : public cOsdItem
{
    const class cEvent *myev;

public:
    EventItem(const class cEvent *ev);

    const class cEvent *Event(void)
    {
        return myev;
    };
};

// -----------------------------------------------------------------------------

class cSearchMenu : public cOsdMenu
{
    cSchedulesLock _schedulesLock;

    const class cEvent *myev;

    int search(const cSchedule *s,const class cEvent *ev);

public:
    cSearchMenu(const class cEvent *EventInfo);
    const class cEvent *currentSelected(void);

    void searchIn(const cSchedule** schedArray,int schedArrayNum);
};

#endif