~ubuntu-branches/ubuntu/maverick/vdr-plugin-xineliboutput/maverick

« back to all changes in this revision

Viewing changes to menuitems.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-07-09 21:49:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080709214909-kixrkpx2q3sa8roy
Tags: 1.0.1-4ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/rules: Unexport CFLAGS, CXXFLAGS and LDFLAGS to fix FTBFS
    with the new dpkg-buildpackage. (LP 200906)
  - Change the maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * See the main source file 'xineliboutput.c' for copyright information and
5
5
 * how to reach the author.
6
6
 *
7
 
 * $Id: menuitems.h,v 1.5 2007/05/17 21:41:52 phintuka Exp $
 
7
 * $Id: menuitems.h,v 1.7 2007/06/21 10:00:29 phintuka Exp $
8
8
 *
9
9
 */
10
10
 
18
18
class cMenuEditTypedIntItem : public cMenuEditIntItem 
19
19
{
20
20
  protected:
21
 
    char *type;
22
 
    char *zeroString;
 
21
    cString type;
 
22
    cString zeroString;
23
23
 
24
24
    virtual void Set(void);
25
25
 
27
27
    cMenuEditTypedIntItem(const char *Name, const char *Type, int *Value, 
28
28
                          int Min = 0, int Max = INT_MAX, const char *ZeroString = NULL,
29
29
                          const char *MinString = NULL, const char *MaxString = NULL);
30
 
    ~cMenuEditTypedIntItem();
31
30
};
32
31
 
33
32
// --- cMenuEditOddIntItem -------------------------------------------------
48
47
{
49
48
  protected:
50
49
    int decimals;
51
 
    char *zeroString;
 
50
    cString zeroString;
52
51
 
53
52
    virtual void Set(void);
54
53
 
56
55
    cMenuEditFpIntItem(const char *Name, int *Value, int Min = 1, int Max = INT_MAX,
57
56
                       int Decimals = 1, const char *ZeroString = NULL,
58
57
                       const char *MinString = NULL, const char *MaxString = NULL);
59
 
    ~cMenuEditFpIntItem();
60
58
};
61
59
 
62
60
 
80
78
class cFileListItem : public cOsdItem 
81
79
{
82
80
  private:
83
 
    char *m_Name;
84
 
    bool  m_IsDir, m_HasResume, m_HasSubs, m_ShowFlags, m_Up;
 
81
    cString m_Name;
 
82
    cString m_SubFile;
 
83
    bool  m_IsDir, m_HasResume, m_ShowFlags, m_Up;
85
84
    bool  m_IsDvd;
86
85
 
87
86
  protected:
89
88
 
90
89
  public:
91
90
    cFileListItem(const char *name, bool isDir, 
92
 
                  bool HasResume, bool HasSubs,
 
91
                  bool HasResume, const char *subfile,
93
92
                  bool IsDvd = false);
94
93
    cFileListItem(const char *name, bool isDir);
95
 
    ~cFileListItem();
96
94
 
97
 
    const char *Name(void) { return m_Name; }
 
95
    const char *Name(void)    { return m_Name; }
 
96
    const char *SubFile(void) { return m_SubFile; }
98
97
    bool IsDir(void)       { return m_IsDir; }
99
98
    bool IsDvd(void)       { return m_IsDvd; }
100
99