• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • interfaces
  • tdemediaplayer
playerdcopobject.h
1// Copyright (C) 2002 Neil Stevens <neil@qualityassistant.com>
2//
3// Permission is hereby granted, free of charge, to any person obtaining a copy
4// of this software and associated documentation files (the "Software"), to deal
5// in the Software without restriction, including without limitation the rights
6// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7// copies of the Software, and to permit persons to whom the Software is
8// furnished to do so, subject to the following conditions:
9//
10// The above copyright notice and this permission notice shall be included in
11// all copies or substantial portions of the Software.
12//
13// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16// THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
17// AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19//
20// Except as contained in this notice, the name(s) of the author(s) shall not be
21// used in advertising or otherwise to promote the sale, use or other dealings
22// in this Software without prior written authorization from the author(s).
23
24#ifndef KMEDIAPLAYERPLAYERDCOPOBJECT_H
25#define KMEDIAPLAYERPLAYERDCOPOBJECT_H
26
27#include <dcopobject.h>
28#include <kurl.h>
29
30namespace KMediaPlayer
31{
32
33class TDE_EXPORT PlayerDCOPObject : public DCOPObject
34{
35K_DCOP
36
37public:
38 PlayerDCOPObject(void);
39
40k_dcop:
41 virtual bool openURL(const KURL &file) = 0;
42 virtual void pause() = 0;
43 virtual void play() = 0;
44 virtual void stop() = 0;
45
46 virtual void seek(unsigned long msec) = 0;
47 virtual bool isSeekable() const = 0;
48 virtual unsigned long position() const = 0;
49
50 virtual bool hasLength() const = 0;
51 virtual unsigned long length() const = 0;
52
53 virtual void setLooping(bool) = 0;
54 virtual bool isLooping() const = 0;
55
56 virtual int state() const = 0;
57 virtual void setState(int) = 0;
58};
59
60}
61
62#endif
DCOPObject
KURL
KMediaPlayer
KMediaPlayer contains an interface to reusable media player components.
Definition: player.h:34

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.