SilentEye 0.4.1

sef/videomoduleinterface.h

Go to the documentation of this file.
00001 //  This file is part of SilentEye.
00002 //
00003 //  SilentEye is free software: you can redistribute it and/or modify
00004 //  it under the terms of the GNU General Public License as published by
00005 //  the Free Software Foundation, either version 3 of the License, or
00006 //  (at your option) any later version.
00007 //
00008 //  SilentEye is distributed in the hope that it will be useful,
00009 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 //  GNU General Public License for more details.
00012 //
00013 //  You should have received a copy of the GNU General Public License
00014 //  along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
00015 
00016 #ifndef VIDEOMODULEINTERFACE_H_
00017 #define VIDEOMODULEINTERFACE_H_
00018 
00019 #include "formatmoduleinterface.h"
00020 #include "video.h"
00021 
00022 namespace SilentEyeFramework {
00023 
00025     class VideoModuleInterface : public FormatModuleInterface
00026     {
00027     public:
00028         virtual QPointer<Video> encodeVideo(QPointer<Video>, bool=false) = 0;
00029         virtual QPointer<Video> decodeVideo(QPointer<Video>, bool=false) = 0;
00030     };
00031 
00032 }
00033 
00034 Q_DECLARE_INTERFACE(SilentEyeFramework::VideoModuleInterface,
00035                     "org.silenteye.sef.VideoModuleInterface/1.0");
00036 
00037 #endif