summaryrefslogtreecommitdiff
path: root/tools/functor.h
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>2010-02-14 12:53:07 +0000
committercvs2svn <admin@example.com>2010-02-14 12:53:07 +0000
commit038a1d31955a315b5fdf8cee142623226ac3e48e (patch)
treebceeb16f00f4e73f602a56285093d897052d0063 /tools/functor.h
parent56b10fbbe13a6eb219f41da6d8a78a37d15bd378 (diff)
downloadxineliboutput-branch-1_o_x.tar.gz
xineliboutput-branch-1_o_x.tar.bz2
This commit was manufactured by cvs2svn to create branch 'branch-1_o_x'.branch-1_o_x
Diffstat (limited to 'tools/functor.h')
-rw-r--r--tools/functor.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/tools/functor.h b/tools/functor.h
deleted file mode 100644
index 0dadf1fc..00000000
--- a/tools/functor.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * functor.h:
- *
- * See the main source file 'xineliboutput.c' for copyright information and
- * how to reach the author.
- *
- * $Id: functor.h,v 1.1 2006-08-24 23:25:07 phintuka Exp $
- *
- */
-
-#ifndef __XINELIB_FUNCTOR_H
-#define __XINELIB_FUNCTOR_H
-
-#include <vdr/tools.h>
-
-
-class cFunctor : public cListObject
-{
- public:
- cFunctor() : cListObject() {}
- virtual ~cFunctor() {}
- virtual void Execute(void) = 0;
-};
-
-#if 1 /* gcc 3.3.x (?) does not accept class TRESULT=void */
-template<class TCLASS>
-cFunctor *CreateFunctor(TCLASS *c,
- void (TCLASS::*fp)(void));
-
-template<class TCLASS, class TARG1>
-cFunctor *CreateFunctor(TCLASS *c,
- void (TCLASS::*fp)(TARG1),
- TARG1 arg1);
-#endif
-
-template<class TCLASS, class TRESULT>
-cFunctor *CreateFunctor(TCLASS *c,
- TRESULT (TCLASS::*fp)(void));
-
-template<class TCLASS, class TRESULT, class TARG1>
-cFunctor *CreateFunctor(TCLASS *c,
- TRESULT (TCLASS::*fp)(TARG1),
- TARG1 arg1);
-
-#include "functorimpl.h"
-
-#endif