summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>2009-10-21 00:02:02 +0000
committercvs2svn <admin@example.com>2009-10-21 00:02:02 +0000
commit97a97ca3358eb48de3eb7a222e487e800566569f (patch)
tree97c920d0225a1c9773a3bce2207f261d7d230123 /menuitems.h
parenta61961358c5a2ec92340b3f8e056bab55438f103 (diff)
downloadxineliboutput-CVS.tar.gz
xineliboutput-CVS.tar.bz2
This commit was manufactured by cvs2svn to create branch 'CVS'.CVS
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h106
1 files changed, 0 insertions, 106 deletions
diff --git a/menuitems.h b/menuitems.h
deleted file mode 100644
index cbbc6d79..00000000
--- a/menuitems.h
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * menuitems.h: New menu item types
- *
- * See the main source file 'xineliboutput.c' for copyright information and
- * how to reach the author.
- *
- * $Id: menuitems.h,v 1.9 2009-08-03 12:11:35 phintuka Exp $
- *
- */
-
-#ifndef __XINELIB_MENUITEMS_H_
-#define __XINELIB_MENUITEMS_H_
-
-#include <vdr/menuitems.h>
-
-// --- cMenuEditTypedIntItem -------------------------------------------------
-
-class cMenuEditTypedIntItem : public cMenuEditIntItem
-{
- protected:
- cString type;
- cString zeroString;
-
- virtual void Set(void);
-
- public:
- cMenuEditTypedIntItem(const char *Name, const char *Type, int *Value,
- int Min = 0, int Max = INT_MAX, const char *ZeroString = NULL,
- const char *MinString = NULL, const char *MaxString = NULL);
-};
-
-// --- cMenuEditOddIntItem -------------------------------------------------
-
-class cMenuEditOddIntItem : public cMenuEditIntItem
-{
- public:
- cMenuEditOddIntItem(const char *Name, int *Value, int Min = 1, int Max = INT_MAX, const char *MinString = NULL, const char *MaxString = NULL);
- eOSState ProcessKey(eKeys Key);
-};
-
-
-// --- cMenuEditFpIntItem -------------------------------------------------
-
-// Fixed-point decimal number
-
-class cMenuEditFpIntItem : public cMenuEditIntItem
-{
- protected:
- int decimals;
- cString zeroString;
-
- virtual void Set(void);
-
- public:
- cMenuEditFpIntItem(const char *Name, int *Value, int Min = 1, int Max = INT_MAX,
- int Decimals = 1, const char *ZeroString = NULL,
- const char *MinString = NULL, const char *MaxString = NULL);
-};
-
-
-// --- cMenuEditStraI18nItem -------------------------------------------------
-
-class cMenuEditStraI18nItem : public cMenuEditIntItem
-{
- private:
- const char * const *strings;
-
- protected:
- virtual void Set(void);
-
- public:
- cMenuEditStraI18nItem(const char *Name, int *Value,
- int NumStrings, const char * const *Strings);
-};
-
-// --- cFileListItem ---------------------------------------------------------
-
-class cFileListItem : public cOsdItem
-{
- private:
- cString m_Name;
- cString m_SubFile;
- bool m_IsDir, m_HasResume, m_ShowFlags, m_Up;
- bool m_IsDvd, m_IsBluRay;
-
- protected:
- virtual void Set(void);
-
- public:
- cFileListItem(const char *name, bool isDir,
- bool HasResume, const char *subfile,
- bool IsDvd = false, bool IsBluRay = false);
- cFileListItem(const char *name, bool isDir);
-
- const char *Name(void) { return m_Name; }
- const char *SubFile(void) { return m_SubFile; }
- bool IsDir(void) { return m_IsDir; }
- bool IsDvd(void) { return m_IsDvd; }
- bool IsBluRay(void) { return m_IsBluRay; }
- bool HasResume(void) { return m_HasResume; }
-
- virtual bool operator< (const cListObject &ListObject);
- virtual int Compare(const cListObject &ListObject) const;
-};
-
-#endif //__XINELIB_MENUITEMS_H_