diff options
author | MountainMan <MountainMan@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-02-02 17:57:53 +0000 |
---|---|---|
committer | MountainMan <MountainMan@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-02-02 17:57:53 +0000 |
commit | 41b962e0042a8e3cf66caeea7fd6610648175941 (patch) | |
tree | e9f294a6453e73050f56d0f1c81a4bf82dd8bd07 /mg_media.c | |
parent | d79d2d24fcf5a3b4594face6a8c7e7bcb36d1dbc (diff) | |
download | vdr-plugin-muggle-41b962e0042a8e3cf66caeea7fd6610648175941.tar.gz vdr-plugin-muggle-41b962e0042a8e3cf66caeea7fd6610648175941.tar.bz2 |
values m_ival, m_bbal, m_strval are now public
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@15 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'mg_media.c')
-rw-r--r-- | mg_media.c | 35 |
1 files changed, 2 insertions, 33 deletions
@@ -3,8 +3,8 @@ * \brief Top level access to media in vdr plugin muggle * for the vdr muggle plugindatabase ******************************************************************** - * \version $Revision: 1.2 $ - * \date $Date: 2004/02/02 02:01:11 $ + * \version $Revision: 1.3 $ + * \date $Date: 2004/02/02 17:57:53 $ * \author Ralf Klueber, Lars von Wedel, Andreas Kellner * \author file owner: $Author: MountainMan $ * @@ -48,10 +48,6 @@ mgFilterInt::~mgFilterInt() { } -int mgFilterInt::getVal() -{ - return m_intval; -} string mgFilterInt::getStrVal() { char buffer[20]; @@ -68,11 +64,6 @@ int mgFilterInt::getMax() return m_max; } -void mgFilterInt::setVal(int value) -{ - m_intval = value; -} - mgFilterString::mgFilterString(const char *name, const char* value) : mgFilter(name) { @@ -87,24 +78,12 @@ mgFilterString::~mgFilterString() } } -const char* mgFilterString::getVal() -{ - return m_strval; -} string mgFilterString::getStrVal() { return (string) m_strval; } -void mgFilterString::setVal(const char* value) -{ - if(m_strval) - { - free(m_strval); - } - m_strval = strdup(value); -} mgFilterBool::mgFilterBool(const char *name, bool value) : mgFilter(name) { @@ -115,11 +94,6 @@ mgFilterBool::~mgFilterBool() { } -bool mgFilterBool::getVal() -{ - return m_bval; -} - string mgFilterBool::getStrVal() { if(m_bval) @@ -128,11 +102,6 @@ string mgFilterBool::getStrVal() return "false"; } -void mgFilterBool::setVal(bool value) -{ - m_bval = value; -} - mgTrackFilters::mgTrackFilters() { } |