// rdexport.h // // A Batch Exporter for Rivendell. // // (C) Copyright 2016 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // // 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., 675 Mass Ave, Cambridge, MA 02139, USA. // #ifndef RDEXPORT_H #define RDEXPORT_H #include #include #include #include #include #include #include #include #include #define RDEXPORT_USAGE "[options] \n" class MainObject : public QObject { Q_OBJECT; public: MainObject(QObject *parent=0); private slots: void userData(); private: void ExportGroup(const QString &groupname); void ExportCart(unsigned cartnum); void ExportCut(RDCart *cart,RDCut *cut); QString ResolveOutputName(RDCart *cart,RDCut *cut,const QString &exten); void Verbose(const QString &msg); std::vector export_start_carts; std::vector export_end_carts; std::vector export_groups; QString export_metadata_pattern; QString export_output_to; RDConfig *export_config; RDRipc *export_ripc; RDStation *export_station; RDUser *export_user; bool export_verbose; }; #endif // RDEXPORT_H