diff options
80 files changed, 104 insertions, 74 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..accb5f6 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,4 @@ +((nil . ((indent-tabs-mode . t))) + (c-mode . ((c-basic-offset . 8))) + (python-mode . ((python-indent . 8))) + (sh-mode . ((sh-basic-offset . 2)))) @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * borrowed from vdr-text2skin */ @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * Borrowed from vdr-text2skin */ @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * MP3/MPlayer plugin to VDR (C++) * * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de> @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * MP3/MPlayer plugin to VDR (C++) * * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de> diff --git a/imagecache.c b/imagecache.c index 96bf20c..8578910 100644 --- a/imagecache.c +++ b/imagecache.c @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * borrowed from vdr-text2skin */ diff --git a/imagecache.h b/imagecache.h index 4735061..5bd1da0 100644 --- a/imagecache.h +++ b/imagecache.h @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * borrowed from vdr-text2skin */ @@ -1,3 +1,5 @@ +// -*- c++ -*- + #include <string.h> #include <fstream> @@ -1,3 +1,5 @@ +// -*- c++ -*- + #ifndef __LYRICS_H #define __LYRICS_H diff --git a/menu-async.h b/menu-async.h index c8fc38c..611145c 100644 --- a/menu-async.h +++ b/menu-async.h @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * MP3/MPlayer plugin to VDR (C++) * * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de> @@ -1,4 +1,5 @@ -/*! * \file mg_db.c +/*! -*- c++ -*- + * \file mg_db.c * \brief A capsule around database access * * \version $Revision: 1.2 $ @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_db.h * \brief A generic capsule around database access * diff --git a/mg_db_gd_mysql.c b/mg_db_gd_mysql.c index e089575..b03216a 100644 --- a/mg_db_gd_mysql.c +++ b/mg_db_gd_mysql.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_db_gd_mysql.c * \brief A capsule around database access * diff --git a/mg_db_gd_mysql.h b/mg_db_gd_mysql.h index fa1dd53..64f6e25 100644 --- a/mg_db_gd_mysql.h +++ b/mg_db_gd_mysql.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_db_gd_mysql.h * \brief A capsule around giantdisc database access * diff --git a/mg_db_gd_pg.c b/mg_db_gd_pg.c index b51b1c8..a9c6a3b 100644 --- a/mg_db_gd_pg.c +++ b/mg_db_gd_pg.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_db_gd_pg.c * \brief A capsule around postgresql database access * diff --git a/mg_db_gd_pg.h b/mg_db_gd_pg.h index 10ba9c5..1055695 100644 --- a/mg_db_gd_pg.h +++ b/mg_db_gd_pg.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_db_gd_mysql.h * \brief A capsule around giantdisc database access * diff --git a/mg_db_gd_sqlite.c b/mg_db_gd_sqlite.c index 68fb03e..ef875b7 100644 --- a/mg_db_gd_sqlite.c +++ b/mg_db_gd_sqlite.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_db_gd_sqlite.c * \brief A capsule around database access * diff --git a/mg_db_gd_sqlite.h b/mg_db_gd_sqlite.h index 15ca066..1b1bd8d 100644 --- a/mg_db_gd_sqlite.h +++ b/mg_db_gd_sqlite.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_db_gd_sqlite.h * \brief A capsule around giantdisc database access * diff --git a/mg_image_provider.c b/mg_image_provider.c index c518201..babd2a7 100644 --- a/mg_image_provider.c +++ b/mg_image_provider.c @@ -1,4 +1,5 @@ -// +// -*- c++ -*- + #include "mg_image_provider.h" #include "mg_item_gd.h" diff --git a/mg_image_provider.h b/mg_image_provider.h index 4ee7dbb..1a4a910 100644 --- a/mg_image_provider.h +++ b/mg_image_provider.h @@ -1,3 +1,4 @@ +// -*- c++ -*- #ifndef MG_IMAGE_PROVIDER #define MG_IMAGE_PROVIDER diff --git a/mg_incremental_search.c b/mg_incremental_search.c index bd4a397..4df5c95 100644 --- a/mg_incremental_search.c +++ b/mg_incremental_search.c @@ -1,4 +1,5 @@ -/*! \file mg_incremental_search.c +/*! -*- c++ -*- + * \file mg_incremental_search.c * \ingroup muggle * \brief A class that encapsulates incremental search * diff --git a/mg_incremental_search.h b/mg_incremental_search.h index 19a249f..86b246c 100644 --- a/mg_incremental_search.h +++ b/mg_incremental_search.h @@ -1,4 +1,5 @@ -/*! \file mg_incremental_search.h +/*! -*- c++ -*- + * \file mg_incremental_search.h * \ingroup muggle * \brief A class that encapsulates incremental search * @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_item.c * \brief A general interface to data items, currently only GiantDisc * @@ -1,4 +1,5 @@ -/* \file mg_item.h +/*! -*- c++ -*- + * \file mg_item.h * \brief A general interface to data items, currently only GiantDisc * * \version $Revision: 1.0 $ diff --git a/mg_item_gd.c b/mg_item_gd.c index e6160c8..0b245a2 100644 --- a/mg_item_gd.c +++ b/mg_item_gd.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_item_gd.c * \brief An interface to GiantDisc data items * diff --git a/mg_item_gd.h b/mg_item_gd.h index 3b5bc0a..f60a483 100644 --- a/mg_item_gd.h +++ b/mg_item_gd.h @@ -1,5 +1,5 @@ -/*! - * \file mg_item.h +/*! -*- c++ -*- + * \file mg_item_gd.h * \brief A general interface to data items, currently only GiantDisc * * \version $Revision: 1.0 $ diff --git a/mg_keytypes.h b/mg_keytypes.h index a1d6a1b..9c1626e 100644 --- a/mg_keytypes.h +++ b/mg_keytypes.h @@ -1,6 +1,7 @@ -/*! \file mg_keytypes.h - * \ingroup muggle - * \brief key type definitions for all backends +/*! -*- c++ -*- + * \file mg_keytypes.h + * \ingroup muggle + * \brief key type definitions for all backends * * \version $Revision: 1.4 $ * \author Wolfgang Rohdewald diff --git a/mg_listitem.c b/mg_listitem.c index 902d958..099e9c0 100644 --- a/mg_listitem.c +++ b/mg_listitem.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_listitem.c * \brief An item as delivered by mgSelection * diff --git a/mg_listitem.h b/mg_listitem.h index 007942f..fdf1178 100644 --- a/mg_listitem.h +++ b/mg_listitem.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_listitem.h * \brief an item as delivered by mgSelection * \version $Revision: 1.0 $ @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_menu.c * \brief Implements menu handling for browsing media libraries within VDR * @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_menu.h * \brief Implements menu handling for broswing media libraries within VDR * diff --git a/mg_playcommands.c b/mg_playcommands.c index ce6bcdd..02b38ca 100644 --- a/mg_playcommands.c +++ b/mg_playcommands.c @@ -1,3 +1,4 @@ +// -*- c++ -*- #include <string> #include <fstream> diff --git a/mg_playcommands.h b/mg_playcommands.h index 2b9f2d0..d6ca3d4 100644 --- a/mg_playcommands.h +++ b/mg_playcommands.h @@ -1,3 +1,5 @@ +// -*- c++ -*- + #ifndef __COMMANDS_H #define __COMMANDS_H diff --git a/mg_sel_gd.c b/mg_sel_gd.c index 82a9f4b..b1b6aac 100644 --- a/mg_sel_gd.c +++ b/mg_sel_gd.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_sel_gd.c * \brief A general interface to data items, currently only GiantDisc * diff --git a/mg_sel_gd.h b/mg_sel_gd.h index 7cf9fc0..f9452d2 100644 --- a/mg_sel_gd.h +++ b/mg_sel_gd.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_sel_gd.h * \brief A general interface to data items, currently only GiantDisc * diff --git a/mg_selection.c b/mg_selection.c index 80738a4..51a55a9 100644 --- a/mg_selection.c +++ b/mg_selection.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_selection.c * \brief A general interface to data items, currently only GiantDisc * diff --git a/mg_selection.h b/mg_selection.h index f256dcd..a743144 100644 --- a/mg_selection.h +++ b/mg_selection.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_selection.h * \brief A general interface to data items, currently only GiantDisc * @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_setup.c * \brief A setup class for a VDR media plugin (muggle) * @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_setup.h * \brief A setup class for a VDR media plugin (muggle) * @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * Music plugin to VDR (C++) * * (C) 2006 Morone @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * Music plugin to VDR (C++) * * (C) 2006 Morone diff --git a/mg_thread_sync.c b/mg_thread_sync.c index fcf4e6e..d035ac9 100644 --- a/mg_thread_sync.c +++ b/mg_thread_sync.c @@ -1,3 +1,4 @@ +// -*- c++ -*- #include "mg_thread_sync.h" #include "mg_db.h" diff --git a/mg_thread_sync.h b/mg_thread_sync.h index e948a5b..aad1ae2 100644 --- a/mg_thread_sync.h +++ b/mg_thread_sync.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_sync.h * \brief synchronization between SQL and filesystem * @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mg_tools.c * \brief A few util functions for standalone and plugin messaging for the vdr muggle plugindatabase * @@ -1,5 +1,5 @@ - -/*! \file mg_tools.h +/*! -*- c++ -*- + * \file mg_tools.h * \ingroup muggle * \brief A few utility functions for standalone and plugin messaging for the vdr muggle plugindatabase * diff --git a/mg_valmap.c b/mg_valmap.c index 6e31e88..6ec52dc 100644 --- a/mg_valmap.c +++ b/mg_valmap.c @@ -1,3 +1,5 @@ +// -*- c++ -*- + #include "mg_valmap.h" #include "mg_tools.h" diff --git a/mg_valmap.h b/mg_valmap.h index 8a279f8..b7f4047 100644 --- a/mg_valmap.h +++ b/mg_valmap.h @@ -1,3 +1,5 @@ +// -*- c++ -*- + #ifndef _MG_VALMAP_H #define _MG_VALMAP_H @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file muggle.c * \brief Implements a plugin for browsing media libraries within VDR * @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file muggle.h * \ingroup vdr * \brief Implements a plugin for browsing media libraries within VDR @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file mugglei.c * \brief implement a small utility for importing files * diff --git a/pcmplayer.c b/pcmplayer.c index 2a51877..696ed92 100644 --- a/pcmplayer.c +++ b/pcmplayer.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file pcmplayer.c * \brief A generic PCM player for a VDR media plugin (muggle) * diff --git a/pcmplayer.h b/pcmplayer.h index 33edef7..8f10a82 100644 --- a/pcmplayer.h +++ b/pcmplayer.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file pcmplayer.c * \brief A generic PCM player for a VDR media plugin (muggle) * @@ -1,3 +1,5 @@ +// -*- c++ -*- + #include <stdio.h> #include <stdlib.h> @@ -1,3 +1,5 @@ +// -*- c++ -*- + #ifndef VDR_GRAPHTFT_QUANTIZE_H #define VDR_GRAPHTFT_QUANTIZE_H diff --git a/scripts/gentables b/scripts/gentables index 6e8fa0c..6410fba 100755 --- a/scripts/gentables +++ b/scripts/gentables @@ -1,8 +1,7 @@ #!/bin/sh ( - echo " -//autogenerated by $0 + echo "// autogenerated by scripts/gentables -*- c++ -*- genres_t genres[] = {" @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * MP3/MPlayer plugin to VDR (C++) * * (C) 2001-2006 Stefan Huelswitt <s.huelswitt@gmx.de> @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * MP3/MPlayer plugin to VDR (C++) * * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de> diff --git a/vdr_actions.c b/vdr_actions.c index df816ea..dd35831 100644 --- a/vdr_actions.c +++ b/vdr_actions.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_actions.c * \brief Implements all actions for browsing media libraries within VDR * diff --git a/vdr_actions.h b/vdr_actions.h index e97034e..559a823 100644 --- a/vdr_actions.h +++ b/vdr_actions.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_actions.h * \brief Implements all actions for broswing media libraries within VDR * diff --git a/vdr_config.h b/vdr_config.h index c05e0a6..a4a06b8 100644 --- a/vdr_config.h +++ b/vdr_config.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_config.h * \brief Implements menu handling for browsing media libraries within VDR * diff --git a/vdr_decoder.c b/vdr_decoder.c index 8bd52ef..4ee990c 100644 --- a/vdr_decoder.c +++ b/vdr_decoder.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_decoder.h * \brief A generic decoder for a VDR media plugin (muggle) * \ingroup vdr diff --git a/vdr_decoder.h b/vdr_decoder.h index 67f26b5..c6e06fa 100644 --- a/vdr_decoder.h +++ b/vdr_decoder.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_decoder.h * \brief A generic decoder for a VDR media plugin (muggle) * \ingroup vdr diff --git a/vdr_decoder_flac.c b/vdr_decoder_flac.c index c0e5869..d39ff63 100644 --- a/vdr_decoder_flac.c +++ b/vdr_decoder_flac.c @@ -1,4 +1,5 @@ -/*! \file vdr_decoder_flac.c +/*! -*- c++ -*- + * \file vdr_decoder_flac.c * \ingroup vdr * * The file implements a decoder which is used by the player to decode flac audio files. diff --git a/vdr_decoder_flac.h b/vdr_decoder_flac.h index 58bbe72..5ce5fda 100644 --- a/vdr_decoder_flac.h +++ b/vdr_decoder_flac.h @@ -1,4 +1,5 @@ -/*! \file vdr_decoder_flac.h +/*! -*- c++ -*- + * \file vdr_decoder_flac.h * \ingroup vdr * * The file contains a decoder which is used by the player to decode flac audio files. diff --git a/vdr_decoder_mp3.c b/vdr_decoder_mp3.c index 9c677a3..5b5f06c 100644 --- a/vdr_decoder_mp3.c +++ b/vdr_decoder_mp3.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_decoder_mp3.h * \brief An mp3 decoder for a VDR media plugin (muggle) * diff --git a/vdr_decoder_mp3.h b/vdr_decoder_mp3.h index 23e0d4f..bd666ff 100644 --- a/vdr_decoder_mp3.h +++ b/vdr_decoder_mp3.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_decoder_mp3.h * \brief An mp3 decoder for a VDR media plugin (muggle) * diff --git a/vdr_decoder_ogg.c b/vdr_decoder_ogg.c index a94b5e4..ece111d 100644 --- a/vdr_decoder_ogg.c +++ b/vdr_decoder_ogg.c @@ -1,4 +1,5 @@ -/*! \file vdr_decoder_ogg.c +/*! -*- c++ -*- + * \file vdr_decoder_ogg.c * \ingroup vdr * * The file implements a decoder which is used by the player to decode ogg vorbis audio files. diff --git a/vdr_decoder_ogg.h b/vdr_decoder_ogg.h index 9e42d63..c64ae5e 100644 --- a/vdr_decoder_ogg.h +++ b/vdr_decoder_ogg.h @@ -1,4 +1,5 @@ -/*! \file vdr_decoder_ogg.h +/*! -*- c++ -*- + * \file vdr_decoder_ogg.h * \ingroup vdr * * The file contains a decoder which is used by the player to decode ogg vorbis audio files. diff --git a/vdr_decoder_sndfile.c b/vdr_decoder_sndfile.c index da10eda..91d995c 100644 --- a/vdr_decoder_sndfile.c +++ b/vdr_decoder_sndfile.c @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * MP3/MPlayer plugin to VDR (C++) * * (C) 2001-2005 Stefan Huelswitt <s.huelswitt@gmx.de> diff --git a/vdr_decoder_sndfile.h b/vdr_decoder_sndfile.h index fc02076..abfcbb0 100644 --- a/vdr_decoder_sndfile.h +++ b/vdr_decoder_sndfile.h @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * Muggle plugin to VDR (C++) * * (C) 2005 Lars von Wedel, Wolfgang Rohdewald, mainly copied from @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_menu.c * \brief Implements menu handling for browsing media libraries within VDR * @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_menu.h * \brief Implements menu handling for broswing media libraries within VDR * diff --git a/vdr_network.h b/vdr_network.h index d3ccf79..333a998 100644 --- a/vdr_network.h +++ b/vdr_network.h @@ -1,4 +1,4 @@ -/* +/* -*- c++ -*- * Adapted from * MP3/MPlayer plugin to VDR (C++) * (C) 2001,2002 Stefan Huelswitt <huels@iname.com> diff --git a/vdr_player.c b/vdr_player.c index d73bfc1..2a5ee95 100644 --- a/vdr_player.c +++ b/vdr_player.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_player.c * \brief A generic PCM player for a VDR media plugin (muggle) * diff --git a/vdr_player.h b/vdr_player.h index 2208bfa..42a35d4 100644 --- a/vdr_player.h +++ b/vdr_player.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_player.h * \brief A player/control combination to let VDR play music * diff --git a/vdr_setup.c b/vdr_setup.c index 47efc10..53cb13c 100644 --- a/vdr_setup.c +++ b/vdr_setup.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_setup.c * \brief A setup class for a VDR media plugin (muggle) * diff --git a/vdr_setup.h b/vdr_setup.h index 32e0e01..67c0c63 100644 --- a/vdr_setup.h +++ b/vdr_setup.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_setup.h * \brief A setup class for a VDR media plugin (muggle) * diff --git a/vdr_sound.c b/vdr_sound.c index b2e5288..88dd0f2 100644 --- a/vdr_sound.c +++ b/vdr_sound.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_sound.c * \brief Sound manipulation classes for a VDR media plugin (muggle) * diff --git a/vdr_stream.c b/vdr_stream.c index d166f60..48d06a4 100644 --- a/vdr_stream.c +++ b/vdr_stream.c @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_stream.c * \brief Implementation of media stream classes * diff --git a/vdr_stream.h b/vdr_stream.h index b5fd808..896c2a1 100644 --- a/vdr_stream.h +++ b/vdr_stream.h @@ -1,4 +1,4 @@ -/*! +/*! -*- c++ -*- * \file vdr_stream.h * \brief Definitions of media streams * |