Logo Search packages:      
Sourcecode: kaffeine version File versions

kaffeine_part_iface.h

/***************************************************************************
 *   Copyright (C) 2004-2005 by J├╝rgen Kofler                                   *
 *   kaffeine@gmx.net                                                      *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/

 /*
  * Last modified: $Date: 2005/02/02 10:08:27 $ by $Author: juergenk $
  */
 
#ifndef _KAFFEINEPARTIFACE_H_
#define _KAFFEINEPARTIFACE_H_

#include <dcopobject.h>

class KaffeinePartIface : virtual public DCOPObject
{
  K_DCOP
public:

k_dcop:
  /*
   * Returns the contrast value (0 - 65535).
   */
  virtual int getContrast() = 0;
  
  /*
   * Set the contrast (0 - 65535).
   */
  virtual void setContrast(int c) = 0;

  /*
   * Returns the brightness value (0 - 65535).
   */
  virtual int getBrightness() = 0;
  
  /*
   * Set the brightness (0 - 65535).
   */
  virtual void setBrightness(int b) = 0;

 /*
  * Move the menu cursor upwards.
  */
  virtual void dvdMenuUp() = 0;

 /*
  * Move the menu cursor downwards.
  */
  virtual void dvdMenuDown() = 0;

 /*
  * Move the menu cursor to the left.
  */
  virtual void dvdMenuLeft() = 0;

 /*
  * Move the menu cursor to the right.
  */
  virtual void dvdMenuRight() = 0;

 /*
  * Select the menu item pointed by the cursor.
  */
  virtual void dvdMenuSelect() = 0;

  /*
   * Set the aspect ratio automatically.
   */
  virtual void aspectRatioAuto() = 0;

  /*
   * Set the aspect ratio to 4:3.
   */
  virtual void aspectRatio4_3() = 0;

  /*
   * Set the aspect ration to 16:9.
   */
  virtual void aspectRatioAnamorphic() = 0;

  /*
   * Set the aspect ratio to 1:1.
   */
  virtual void aspectRatioSquare() = 0;

  /*
   * Set the aspect ratio to 2.11:1.
   */
  virtual void aspectRatioDVB() = 0;

  /*
   * Zoom in.
   */
  virtual void zoomIn() = 0;

  /*
   * Zoom out.
   */
  virtual void zoomOut() = 0;

  /*
   * Zoom off.
   */
  virtual void zoomOff() = 0;
};

#endif // _KAFFEINEPARTIFACE_H_

Generated by  Doxygen 1.6.0   Back to index