Main Page   Class Hierarchy   Compound List   File List   Compound Members  

qtvisioniface.h

00001 // -*- c++ -*-
00002 
00003 /*
00004  *
00005  * Copyright (C) 2002 Richard Moore <rich@kde.org>
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Library General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Library General Public License
00018  * along with this library; see the file COPYING.LIB.  If not, write to
00019  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00020  * Boston, MA 02111-1307, USA.
00021  */
00022 
00023 
00024 #ifndef QTVISIONIFACE_H
00025 #define QTVISIONIFACE_H
00026 
00027 #include <dcopobject.h>
00028 #include <dcopref.h>
00029 
00035 class QtVisionIface : virtual public DCOPObject
00036 {
00037     K_DCOP
00038 k_dcop:
00042     virtual void selectDevice()=0;
00043 
00047     virtual void setSource( const QString &src )=0;
00048 
00052     virtual void start()=0;
00053 
00057     virtual void stop()=0;
00058 
00062     virtual void startVideo()=0;
00063 
00067     virtual void stopVideo()=0;
00068 
00072     virtual DCOPRef channelStoreIface()=0;
00073 
00077     virtual DCOPRef channelIface()=0;
00078 
00082     virtual QString channelName() const=0;
00083 
00087     virtual int channelNumber() const=0;
00088 
00093     virtual void channelDown()=0;
00094 
00099     virtual void channelUp()=0;
00100     
00104      virtual void previousChannel() = 0;
00105 
00106     //
00107     // Sound
00108     //
00109 
00113     virtual void volumeMute()=0;
00114 
00118     virtual void volumeUp()=0;
00119 
00123     virtual void volumeDown()=0;
00124 
00128     virtual void setVolume(int vol)=0;
00129 
00133     virtual void setVolume(int left, int right)=0;
00134 
00135     //
00136     // IO
00137     //
00138 
00142     virtual void importDefaultChannels() = 0;
00143 
00147     virtual void openChannelFile() = 0;
00148 
00152     virtual void openChannelFile(const QString &filename) = 0;
00153 
00154     //
00155     // Misc
00156     //
00157 
00161     virtual void setVideoDesktop(bool on) = 0;
00162 
00166     virtual void settings()=0;
00167 
00171     virtual int launchWizard()=0;    
00172 };
00173 
00174 #endif // QTVISIONIFACE_H
00175 
00176 
00177 // Local Variables:
00178 // c-basic-offset: 4
00179 // End:
00180 

Generated at Thu Jan 30 02:56:02 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001