summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.h
authorsimon <simon>2002-12-02 11:21:24 (UTC)
committer simon <simon>2002-12-02 11:21:24 (UTC)
commit5a7c8386e4d526558becf2553912eb42a42107ee (patch) (side-by-side diff)
treebe3ebf33bf8cff012c25883adeda9427f4787698 /noncore/multimedia/opieplayer2/lib.h
parentb2532533a8a28680db967a45090a3ba1dd53ed73 (diff)
downloadopie-5a7c8386e4d526558becf2553912eb42a42107ee.zip
opie-5a7c8386e4d526558becf2553912eb42a42107ee.tar.gz
opie-5a7c8386e4d526558becf2553912eb42a42107ee.tar.bz2
- made the version functions static and some other functions constant that
are constant by design
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.h38
1 files changed, 18 insertions, 20 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h
index 75b9f12..a7e51fb 100644
--- a/noncore/multimedia/opieplayer2/lib.h
+++ b/noncore/multimedia/opieplayer2/lib.h
@@ -63,5 +63,5 @@ namespace XINE {
QCString version();
- int majorVersion()/*const*/;
- int minorVersion()/*const*/;
- int subVersion()/*const*/;
+ static int majorVersion();
+ static int minorVersion();
+ static int subVersion();
@@ -73,6 +73,6 @@ namespace XINE {
int start_time = 0 );
- void stop() /*const*/;
- void pause()/*const*/;
+ void stop();
+ void pause();
- int speed() /*const*/;
+ int speed() const;
@@ -89,11 +89,11 @@ namespace XINE {
- int status() /*const*/;
+ int status() const;
- int currentPosition()/*const*/;
+ int currentPosition()const;
//in seconds
- int currentTime()/*const*/;
+ int currentTime()const;
- int length() /*const*/;
+ int length() const;
- bool isSeekable()/*const*/;
+ bool isSeekable()const;
@@ -107,3 +107,3 @@ namespace XINE {
*/
- bool isShowingVideo() /*const*/;
+ bool isShowingVideo() const;
@@ -117,3 +117,3 @@ namespace XINE {
*/
- bool isVideoFullScreen()/*const*/ ;
+ bool isVideoFullScreen() const;
@@ -133,3 +133,3 @@ namespace XINE {
*/
- QString metaInfo( int number );
+ QString metaInfo( int number ) const;
@@ -138,3 +138,3 @@ namespace XINE {
*/
- bool isScaling();
+ bool isScaling() const;
@@ -149,3 +149,3 @@ namespace XINE {
*/
- bool hasVideo();
+ bool hasVideo() const;
@@ -165,3 +165,3 @@ namespace XINE {
*/
- Frame currentFrame()/*const*/;
+ Frame currentFrame() const;
@@ -174,3 +174,3 @@ namespace XINE {
*/
- int error() /*const*/;
+ int error() const;
@@ -185,4 +185,2 @@ namespace XINE {
int m_bytes_per_pixel;
- int m_length, m_pos, m_time;
- int m_major_version, m_minor_version, m_sub_version;
bool m_video:1;