summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-10-29 15:50:22 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-10-29 15:50:22 +0300
commitfbc4f38c31feba097d62271e8cd45dcf8533e42f (patch)
tree10e5601f4a62bb5f16b67f7aa4f227621316a221
parent3ff65aeb24ed0e24e802e855cbc67d409fdb18c4 (diff)
downloadvdr-plugin-text2skin-fbc4f38c31feba097d62271e8cd45dcf8533e42f.tar.gz
vdr-plugin-text2skin-fbc4f38c31feba097d62271e8cd45dcf8533e42f.tar.bz2
Add Emacs mode and indentation settings.
-rw-r--r--.dir-locals.el2
-rw-r--r--bitmap.c2
-rw-r--r--bitmap.h2
-rw-r--r--cache.c2
-rw-r--r--cache.h2
-rw-r--r--common.c2
-rw-r--r--common.h2
-rw-r--r--display.c2
-rw-r--r--display.h2
-rw-r--r--file.c2
-rw-r--r--file.h2
-rw-r--r--font.c2
-rw-r--r--font.h2
-rw-r--r--i18n.c2
-rw-r--r--i18n.h2
-rw-r--r--loader.c2
-rw-r--r--loader.h2
-rw-r--r--menu.c2
-rw-r--r--menu.h2
-rw-r--r--quantize.c2
-rw-r--r--quantize.h2
-rw-r--r--render.c2
-rw-r--r--render.h2
-rw-r--r--screen.c2
-rw-r--r--screen.h2
-rw-r--r--scroller.c2
-rw-r--r--scroller.h2
-rw-r--r--setup.c2
-rw-r--r--setup.h2
-rw-r--r--status.c2
-rw-r--r--status.h2
-rw-r--r--text2skin.c2
-rw-r--r--text2skin.h2
-rw-r--r--theme.c2
-rw-r--r--theme.h2
-rw-r--r--xml/display.c2
-rw-r--r--xml/display.h2
-rw-r--r--xml/function.c2
-rw-r--r--xml/function.h2
-rw-r--r--xml/object.c2
-rw-r--r--xml/object.h2
-rw-r--r--xml/parser.c2
-rw-r--r--xml/parser.h2
-rw-r--r--xml/skin.c2
-rw-r--r--xml/skin.h2
-rw-r--r--xml/string.c2
-rw-r--r--xml/string.h2
-rw-r--r--xml/type.c2
-rw-r--r--xml/type.h2
-rw-r--r--xml/xml.c2
-rw-r--r--xml/xml.h2
51 files changed, 99 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..62903e3
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,2 @@
+((c++-mode . ((indent-tabs-mode . t)
+ (c-basic-offset . 8))))
diff --git a/bitmap.c b/bitmap.c
index ac287b7..c43609f 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "bitmap.h"
#include "setup.h"
#include <vdr/tools.h>
diff --git a/bitmap.h b/bitmap.h
index 9dfbb8d..671d773 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_BITMAP_H
#define VDR_TEXT2SKIN_BITMAP_H
diff --git a/cache.c b/cache.c
index 05b26b0..7912f78 100644
--- a/cache.c
+++ b/cache.c
@@ -1 +1,3 @@
+// -*- c++ -*-
+
#include "cache.h"
diff --git a/cache.h b/cache.h
index f37e693..69f17c0 100644
--- a/cache.h
+++ b/cache.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_CACHE_HPP
#define VDR_TEXT2SKIN_CACHE_HPP
diff --git a/common.c b/common.c
index ea74be3..114a101 100644
--- a/common.c
+++ b/common.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "common.h"
#include <sstream>
#include <vdr/plugin.h>
diff --git a/common.h b/common.h
index e21dc06..1d46ae3 100644
--- a/common.h
+++ b/common.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_COMMON_H
#define VDR_TEXT2SKIN_COMMON_H
diff --git a/display.c b/display.c
index 2f7c6e4..577f2a6 100644
--- a/display.c
+++ b/display.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "render.h"
#include "loader.h"
#include "display.h"
diff --git a/display.h b/display.h
index b85e631..ecd838e 100644
--- a/display.h
+++ b/display.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_SKIN_H
#define VDR_TEXT2SKIN_SKIN_H
diff --git a/file.c b/file.c
index 0012568..5dd47ff 100644
--- a/file.c
+++ b/file.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "file.h"
#include <unistd.h>
diff --git a/file.h b/file.h
index 60b3764..4592c33 100644
--- a/file.h
+++ b/file.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_FILE_H
#define VDR_TEXT2SKIN_FILE_H
diff --git a/font.c b/font.c
index 3c94df1..ea9cdc5 100644
--- a/font.c
+++ b/font.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "font.h"
#include "render.h"
#include <vdr/tools.h>
diff --git a/font.h b/font.h
index 753e72b..853f3fa 100644
--- a/font.h
+++ b/font.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_FONT_H
#define VDR_TEXT2SKIN_FONT_H
diff --git a/i18n.c b/i18n.c
index 1d38506..990752a 100644
--- a/i18n.c
+++ b/i18n.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "i18n.h"
#include <vdr/config.h>
diff --git a/i18n.h b/i18n.h
index 7d44bde..c54a1e7 100644
--- a/i18n.h
+++ b/i18n.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_I18N_H
#define VDR_TEXT2SKIN_I18N_H
diff --git a/loader.c b/loader.c
index fbaa43e..19a3598 100644
--- a/loader.c
+++ b/loader.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "loader.h"
#include "i18n.h"
#include "theme.h"
diff --git a/loader.h b/loader.h
index 0229da7..fd8d7cd 100644
--- a/loader.h
+++ b/loader.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_LOADER_H
#define VDR_TEXT2SKIN_LOADER_H
diff --git a/menu.c b/menu.c
index a2915a7..ecd3d62 100644
--- a/menu.c
+++ b/menu.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "menu.h"
#include "bitmap.h"
diff --git a/menu.h b/menu.h
index ba4a516..94df793 100644
--- a/menu.h
+++ b/menu.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_MENU_H
#define VDR_TEXT2SKIN_MENU_H
diff --git a/quantize.c b/quantize.c
index 84546f5..24bc2e9 100644
--- a/quantize.c
+++ b/quantize.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/quantize.h b/quantize.h
index af6a623..4dbffbf 100644
--- a/quantize.h
+++ b/quantize.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_GRAPHTFT_QUANTIZE_H
#define VDR_GRAPHTFT_QUANTIZE_H
diff --git a/render.c b/render.c
index 7c6d0ce..aaedb56 100644
--- a/render.c
+++ b/render.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "render.h"
#include "loader.h"
#include "i18n.h"
diff --git a/render.h b/render.h
index 8bbb84a..4088b87 100644
--- a/render.h
+++ b/render.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_RENDER_H
#define VDR_TEXT2SKIN_RENDER_H
diff --git a/screen.c b/screen.c
index 4a7dcd0..879d2f8 100644
--- a/screen.c
+++ b/screen.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "screen.h"
cText2SkinScreen::cText2SkinScreen(bool OffScreen):
diff --git a/screen.h b/screen.h
index f222d27..6fb90c8 100644
--- a/screen.h
+++ b/screen.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_SCREEN_H
#define VDR_TEXT2SKIN_SCREEN_H
diff --git a/scroller.c b/scroller.c
index bcb2344..26a496d 100644
--- a/scroller.c
+++ b/scroller.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "scroller.h"
#include "screen.h"
#include <vdr/tools.h>
diff --git a/scroller.h b/scroller.h
index 0ee1197..8647154 100644
--- a/scroller.h
+++ b/scroller.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_SCROLLER_H
#define VDR_TEXT2SKIN_SCROLLER_H
diff --git a/setup.c b/setup.c
index 998f8f5..d59b7fa 100644
--- a/setup.c
+++ b/setup.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "setup.h"
cText2SkinSetup Text2SkinSetup;
diff --git a/setup.h b/setup.h
index e6b0fb1..178b9f7 100644
--- a/setup.h
+++ b/setup.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_SETUP_H
#define VDR_TEXT2SKIN_SETUP_H
diff --git a/status.c b/status.c
index ff06f5e..bb04424 100644
--- a/status.c
+++ b/status.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "status.h"
#include "render.h"
#include "menu.h"
diff --git a/status.h b/status.h
index 603e4b8..9c6fc47 100644
--- a/status.h
+++ b/status.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_STATUS_H
#define VDR_TEXT2SKIN_STATUS_H
diff --git a/text2skin.c b/text2skin.c
index 816c0ef..1ff3abc 100644
--- a/text2skin.c
+++ b/text2skin.c
@@ -1,4 +1,4 @@
-/*
+/* -*- c++ -*-
* text2skin.c: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
diff --git a/text2skin.h b/text2skin.h
index 1052793..c9e9755 100644
--- a/text2skin.h
+++ b/text2skin.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_H
#define VDR_TEXT2SKIN_H
diff --git a/theme.c b/theme.c
index 2736811..69c19e1 100644
--- a/theme.c
+++ b/theme.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "theme.h"
#include <vdr/osd.h>
diff --git a/theme.h b/theme.h
index e0ec2ef..67e1eb5 100644
--- a/theme.h
+++ b/theme.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_THEME_H
#define VDR_TEXT2SKIN_THEME_H
diff --git a/xml/display.c b/xml/display.c
index 64c9caa..ae4ffa4 100644
--- a/xml/display.c
+++ b/xml/display.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "xml/display.h"
static const std::string DisplayNames[] =
diff --git a/xml/display.h b/xml/display.h
index 30531e0..6316adc 100644
--- a/xml/display.h
+++ b/xml/display.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_DISPLAY_H
#define VDR_TEXT2SKIN_DISPLAY_H
diff --git a/xml/function.c b/xml/function.c
index ed48531..c9994e9 100644
--- a/xml/function.c
+++ b/xml/function.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "xml/function.h"
#include "render.h"
#include "bitmap.h"
diff --git a/xml/function.h b/xml/function.h
index 32bcfc3..889b1e0 100644
--- a/xml/function.h
+++ b/xml/function.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_XML_FUNCTION_H
#define VDR_TEXT2SKIN_XML_FUNCTION_H
diff --git a/xml/object.c b/xml/object.c
index 338856f..02fc3fc 100644
--- a/xml/object.c
+++ b/xml/object.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "xml/object.h"
#include "render.h"
#include "font.h"
diff --git a/xml/object.h b/xml/object.h
index 4b3ecf3..2343f82 100644
--- a/xml/object.h
+++ b/xml/object.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_XML_OBJECT_H
#define VDR_TEXT2SKIN_XML_OBJECT_H
diff --git a/xml/parser.c b/xml/parser.c
index 1f1d0a0..bbfd09b 100644
--- a/xml/parser.c
+++ b/xml/parser.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "xml/parser.h"
#include "xml/xml.h"
#include "xml/skin.h"
diff --git a/xml/parser.h b/xml/parser.h
index 03e8f74..c8b8eb7 100644
--- a/xml/parser.h
+++ b/xml/parser.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_PARSER_H
#define VDR_TEXT2SKIN_PARSER_H
diff --git a/xml/skin.c b/xml/skin.c
index d8e5526..f4e5ffa 100644
--- a/xml/skin.c
+++ b/xml/skin.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "xml/skin.h"
#include "i18n.h"
#include <vdr/tools.h>
diff --git a/xml/skin.h b/xml/skin.h
index 0a27a06..db3f4b3 100644
--- a/xml/skin.h
+++ b/xml/skin.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_XML_SKIN_H
#define VDR_TEXT2SKIN_XML_SKIN_H
diff --git a/xml/string.c b/xml/string.c
index f2e1fc3..230a8f3 100644
--- a/xml/string.c
+++ b/xml/string.c
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#include "xml/string.h"
#include "render.h"
diff --git a/xml/string.h b/xml/string.h
index df9376a..3fd6361 100644
--- a/xml/string.h
+++ b/xml/string.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_XML_STRING_H
#define VDR_TEXT2SKIN_XML_STRING_H
diff --git a/xml/type.c b/xml/type.c
index 89e1e71..e278602 100644
--- a/xml/type.c
+++ b/xml/type.c
@@ -1 +1,3 @@
+// -*- c++ -*-
+
#include "xml/type.h"
diff --git a/xml/type.h b/xml/type.h
index 3317e3a..f0c43de 100644
--- a/xml/type.h
+++ b/xml/type.h
@@ -1,3 +1,5 @@
+// -*- c++ -*-
+
#ifndef VDR_TEXT2SKIN_XML_TYPE_H
#define VDR_TEXT2SKIN_XML_TYPE_H
diff --git a/xml/xml.c b/xml/xml.c
index cc7265d..894ccda 100644
--- a/xml/xml.c
+++ b/xml/xml.c
@@ -1,4 +1,4 @@
-/*
+/* -*- c++ -*-
* This module was kindly provided by Clemens Kirchgatterer
*/
diff --git a/xml/xml.h b/xml/xml.h
index d7f4c88..e4abf5d 100644
--- a/xml/xml.h
+++ b/xml/xml.h
@@ -1,4 +1,4 @@
-/*
+/* -*- c++ -*-
* This module was kindly provided by Clemens Kirchgatterer
*/