~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to programs/mythfrontend/schedulecommon.h

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-09-08 23:08:37 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20090908230837-zrm2j6wutp76hwso
Tags: 0.22.0~trunk21742-0ubuntu1
* New upstream checkout (21742)
  - Fixes FTBFS on PPC. See changeset 21571 for more details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SCHEDULE_COMMON_H
 
2
#define SCHEDULE_COMMON_H
 
3
 
 
4
// QT
 
5
#include <QObject>
 
6
#include <QEvent>
 
7
 
 
8
// libmythui
 
9
#include "mythscreentype.h"
 
10
 
 
11
class ProgramInfo;
 
12
class RecordingInfo;
 
13
 
 
14
class ScheduleCommon : public MythScreenType
 
15
{
 
16
  protected:
 
17
    ScheduleCommon(MythScreenStack *parent, const QString &name)
 
18
        : MythScreenType(parent, name) {};
 
19
   ~ScheduleCommon() {};
 
20
      
 
21
    void ShowDetails(ProgramInfo *pginfo) const;
 
22
    void EditRecording(ProgramInfo *pginfo);
 
23
    void EditScheduled(ProgramInfo *pginfo);
 
24
    void EditScheduled(RecordingInfo *recinfo);
 
25
    void ShowRecordingDialog(RecordingInfo recinfo);
 
26
    void ShowNotRecordingDialog(RecordingInfo recinfo);
 
27
 
 
28
    virtual void customEvent(QEvent*);
 
29
 
 
30
  private:
 
31
    bool IsFindApplicable(RecordingInfo recInfo) const;
 
32
        
 
33
};
 
34
 
 
35
#endif