From 50b48aec6ddd451a6d1709c0942477b503457663 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 3 Feb 2010 02:15:56 +0000 Subject: Added abandoned KDE3 version of K3B git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1084400 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- plugins/encoder/skeleton.cpp | 123 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 plugins/encoder/skeleton.cpp (limited to 'plugins/encoder/skeleton.cpp') diff --git a/plugins/encoder/skeleton.cpp b/plugins/encoder/skeleton.cpp new file mode 100644 index 0000000..7a46caf --- /dev/null +++ b/plugins/encoder/skeleton.cpp @@ -0,0 +1,123 @@ +/* + * + * $Id: skeleton.cpp 619556 2007-01-03 17:38:12Z trueg $ + * Copyright (C) 2003 Sebastian Trueg + * + * This file is part of the K3b project. + * Copyright (C) 1998-2007 Sebastian Trueg + * + * 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. + * See the file "COPYING" for the exact licensing terms. + */ + +#include + +#include "k3bencoder.h" + +#include +#include +#include + + +K_EXPORT_COMPONENT_FACTORY( libk3bencoder, K3bPluginFactoryEncoder>( "libk3bencoder" ) ) + + +K3bEncoder::K3bEncoder( QObject* parent, const char* name ) + : K3bAudioEncoder( parent, name ) +{ +} + + +K3bEncoder::~K3bEncoder() +{ +} + + +bool K3bEncoder::initEncoderInternal( const QString& ) +{ + // PUT YOUR CODE HERE + return false; +} + + +long K3bEncoder::encodeInternal( const char* data, Q_ULONG len ) +{ + // PUT YOUR CODE HERE + return false; +} + + +void K3bEncoder::finishEncoderInternal() +{ + // PUT YOUR CODE HERE +} + + +void K3bEncoder::setMetaDataInternal( K3bAudioEncoder::MetaDataField f, const QString& value ) +{ + // PUT YOUR CODE HERE +} + + +QStringList K3bEncoder::extensions() const +{ + // PUT YOUR CODE HERE + return QStringList( "" ); +} + + +QString K3bEncoder::fileTypeComment( const QString& ) const +{ + // PUT YOUR CODE HERE + return ""; +} + + +long long K3bEncoder::fileSize( const QString&, const K3b::Msf& msf ) const +{ + // PUT YOUR CODE HERE + return -1; +} + + +K3bPluginConfigWidget* K3bEncoder::createConfigWidget( QWidget* parent, + const char* name ) const +{ + return new K3bEncoderSettingsWidget( parent, name ); +} + + + +K3bEncoderSettingsWidget::K3bEncoderSettingsWidget( QWidget* parent, const char* name ) + : K3bPluginConfigWidget( parent, name ) +{ +} + + +K3bEncoderSettingsWidget::~K3bEncoderSettingsWidget() +{ +} + + +void K3bEncoderSettingsWidget::loadConfig() +{ + KConfig* c = k3bcore->config(); + c->setGroup( "K3bEncoderPlugin" ); + + // PUT YOUR CODE HERE +} + + +void K3bEncoderSettingsWidget::saveConfig() +{ + KConfig* c = k3bcore->config(); + c->setGroup( "K3bEncoderPlugin" ); + + // PUT YOUR CODE HERE +} + + +#include "k3bencoder.moc" -- cgit v1.2.1