Update of /cvsroot/ap-python/python/src
In directory usw-pr-cvs1:/tmp/cvs-serv22902
Modified Files:
pycoreplayer.cpp
Log Message:
Add binding for CorePlayer::Pause and CorePlayer::UnPause.
Remove duplicated declaration of the Stop method from the methods list.
Index: pycoreplayer.cpp
===================================================================
RCS file: /cvsroot/ap-python/python/src/pycoreplayer.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pycoreplayer.cpp 2 Jun 2002 09:46:38 -0000 1.5
--- pycoreplayer.cpp 6 Jul 2002 17:40:26 -0000 1.6
***************
*** 49,52 ****
--- 49,54 ----
// Start start
// Stop stop
+ // Pause pause
+ // UnPause unpause
// Seek seek
// Load load
***************
*** 83,86 ****
--- 85,90 ----
// MAP by DEFINITIONS ---------------------------------------------------
mapsimple(Unload, unload)
+ mapsimple(Pause, pause)
+ mapsimple(UnPause, unpause)
mapsimple_with_intret (GetPosition, get_position)
***************
*** 384,388 ****
{"is_active", (PyCFunction) pyis_active, METH_VARARGS},
{"is_playing", (PyCFunction) pyis_playing, METH_VARARGS},
! {"stop", (PyCFunction) pystop, METH_VARARGS},
{NULL, NULL}
};
--- 388,393 ----
{"is_active", (PyCFunction) pyis_active, METH_VARARGS},
{"is_playing", (PyCFunction) pyis_playing, METH_VARARGS},
! {"pause", (PyCFunction) pypause, METH_VARARGS},
! {"unpause", (PyCFunction) pyunpause, METH_VARARGS},
{NULL, NULL}
};
|