diff options
author | scop <scop> | 2005-04-18 19:34:23 +0000 |
---|---|---|
committer | scop <scop> | 2005-04-18 19:34:23 +0000 |
commit | 7d8c274a64df5375bb4dea2cf18ac5984165467b (patch) | |
tree | 2c38c462e116620dd8504c0f42e927c6449cc401 | |
parent | 47b28fc077f15acca6a0ee6bca61bdab03a5adff (diff) | |
download | vdr-plugin-dxr3-7d8c274a64df5375bb4dea2cf18ac5984165467b.tar.gz vdr-plugin-dxr3-7d8c274a64df5375bb4dea2cf18ac5984165467b.tar.bz2 |
Add (X)Emacs indentation settings.
55 files changed, 325 insertions, 9 deletions
@@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * -* $Id: dxr3.c,v 1.4 2005/03/22 20:55:42 scop Exp $ +* $Id: dxr3.c,v 1.5 2005/04/18 19:34:23 scop Exp $ */ @@ -444,3 +444,9 @@ cOsdObject* cPluginDxr3::MainMenuAction() } VDRPLUGINCREATOR(cPluginDxr3); // Don't touch this! + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -149,3 +149,9 @@ public: }; #endif /*_DXR3_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3audiodecoder.c b/dxr3audiodecoder.c index 3e77a4a..bbf3c2e 100644 --- a/dxr3audiodecoder.c +++ b/dxr3audiodecoder.c @@ -293,3 +293,9 @@ bool cDxr3AudioDecoder::HeadCheck(unsigned long head) return retval; } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3audiodecoder.h b/dxr3audiodecoder.h index 5be42d2..6c76886 100644 --- a/dxr3audiodecoder.h +++ b/dxr3audiodecoder.h @@ -78,3 +78,9 @@ private: }; #endif /*_DXR3_AUDIODECODER_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3blackframe.c b/dxr3blackframe.c index c128b6d..a12589e 100644 --- a/dxr3blackframe.c +++ b/dxr3blackframe.c @@ -1284,3 +1284,9 @@ char blackframe[] = 0x0, 0x0, 0x0, 0x0, 0x0 }; int blackframeLength = sizeof(blackframe); + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3colormanager.c b/dxr3colormanager.c index 2e94720..d6206c4 100644 --- a/dxr3colormanager.c +++ b/dxr3colormanager.c @@ -377,3 +377,9 @@ void cColorManager::SetBgColor(unsigned int bgColor) { // cColorManager::BgColor = bgColor; } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3colormanager.h b/dxr3colormanager.h index 063252d..67d7b55 100644 --- a/dxr3colormanager.h +++ b/dxr3colormanager.h @@ -120,3 +120,9 @@ private: // Private attributes }; #endif /*_DXR3COLORMANAGER_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3configdata.c b/dxr3configdata.c index 8a4739b..8cdd864 100644 --- a/dxr3configdata.c +++ b/dxr3configdata.c @@ -39,3 +39,9 @@ cDxr3ConfigData::cDxr3ConfigData() m_Contrast = 500; m_Saturation = 500; } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3configdata.h b/dxr3configdata.h index f26130e..097cd8a 100644 --- a/dxr3configdata.h +++ b/dxr3configdata.h @@ -108,3 +108,9 @@ protected: }; #endif /*_DXR3_CONFIGDATA_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -135,3 +135,9 @@ bool cDxr3CPU::Cpuid(unsigned long function, unsigned long& out_eax, unsigned lo : "0" (function)); return true; } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -103,5 +103,10 @@ private: CPUInformation m_Info; }; - #endif /*_DXR3_CPU_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3demuxdevice.c b/dxr3demuxdevice.c index 8fc50d2..dbb061b 100644 --- a/dxr3demuxdevice.c +++ b/dxr3demuxdevice.c @@ -673,3 +673,9 @@ int cDxr3DemuxDevice::DemuxAudioPes(const uint8_t* buf, int length) return origLength; } } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3demuxdevice.h b/dxr3demuxdevice.h index fc299d3..ac239f7 100644 --- a/dxr3demuxdevice.h +++ b/dxr3demuxdevice.h @@ -86,3 +86,9 @@ private: }; #endif // __DXR3_DEMUX_DEVICE_H + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3device.c b/dxr3device.c index 3418f33..31cd16f 100644 --- a/dxr3device.c +++ b/dxr3device.c @@ -512,3 +512,8 @@ cOsdBase *cDxr3Device::NewOsd(int x, int y) } #endif +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3device.h b/dxr3device.h index 2252c94..f032863 100644 --- a/dxr3device.h +++ b/dxr3device.h @@ -92,3 +92,9 @@ protected: }; #endif /*_DXR3_DEVICE_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3dolbydigital.c b/dxr3dolbydigital.c index 2c5503f..4d74448 100644 --- a/dxr3dolbydigital.c +++ b/dxr3dolbydigital.c @@ -57,3 +57,8 @@ void cDxr3DolbyDigital::Action() { } +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3dolbydigital.h b/dxr3dolbydigital.h index f2d88e4..ae21b56 100644 --- a/dxr3dolbydigital.h +++ b/dxr3dolbydigital.h @@ -47,3 +47,9 @@ private: }; #endif /*_DXR3_DOLBYDIGITAL_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3ffmpeg.c b/dxr3ffmpeg.c index 67ab99e..0a7ddcc 100644 --- a/dxr3ffmpeg.c +++ b/dxr3ffmpeg.c @@ -88,3 +88,9 @@ void cDxr3Ffmepg::CloseCodec(struct Dxr3Codec& Codec) Codec.Open = false; } } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3ffmpeg.h b/dxr3ffmpeg.h index 46fed73..d4347e2 100644 --- a/dxr3ffmpeg.h +++ b/dxr3ffmpeg.h @@ -66,3 +66,9 @@ private: }; #endif /*_DXR3_FFMPEG_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3generaldefines.h b/dxr3generaldefines.h index 5a53999..4f01e84 100644 --- a/dxr3generaldefines.h +++ b/dxr3generaldefines.h @@ -44,7 +44,10 @@ enum eDxr3TrickState { DXR3_FREEZE, }; - - - #endif // __DXR3_GENERAL_DEFINES_H + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -746,3 +746,9 @@ const tI18nPhrase Phrases[] = { }, { NULL } }; + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -27,3 +27,9 @@ extern const tI18nPhrase Phrases[]; #endif /*_DXR3_I18N_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3interface.c b/dxr3interface.c index 0ca9d1f..ba5d248 100644 --- a/dxr3interface.c +++ b/dxr3interface.c @@ -1390,3 +1390,9 @@ char cDxr3Interface::Dxr3CopyYUVData(int pos, int *dst, int length) // ================================== cMutex* cDxr3Interface::m_pMutex = new cMutex; + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3interface.h b/dxr3interface.h index bf7bd94..d790eef 100644 --- a/dxr3interface.h +++ b/dxr3interface.h @@ -177,3 +177,9 @@ protected: }; #endif /*_DXR3_INTERFACE_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -73,3 +73,9 @@ void cLog::Close() } Unlock(); } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -104,5 +104,10 @@ protected: static void Unlock() { cLog::m_pMutex->Unlock(); } }; - #endif /*_DXR3_LOG_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3memcpy.c b/dxr3memcpy.c index 374cc32..c4736b1 100644 --- a/dxr3memcpy.c +++ b/dxr3memcpy.c @@ -441,3 +441,9 @@ unsigned long long int cDxr3MemcpyBench::Rdtsc(uint32_t config_flags) return times(&tp); #endif /* __i386__ || __x86_64__ */ } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3memcpy.h b/dxr3memcpy.h index 977af5d..9214d53 100644 --- a/dxr3memcpy.h +++ b/dxr3memcpy.h @@ -90,3 +90,9 @@ private: extern void *(* dxr3_memcpy)(void *to, const void *from, size_t len); #endif /*_DXR3MEMCPY_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3multichannelaudio.c b/dxr3multichannelaudio.c index 1f1471d..8c31aea 100644 --- a/dxr3multichannelaudio.c +++ b/dxr3multichannelaudio.c @@ -643,3 +643,8 @@ void cMultichannelAudio::Encapsulate(uchar *b, int length) Unlock(); } +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3multichannelaudio.h b/dxr3multichannelaudio.h index 689f8f1..1c8091e 100644 --- a/dxr3multichannelaudio.h +++ b/dxr3multichannelaudio.h @@ -31,3 +31,9 @@ public: }; #endif /*_DXR3MULTICHANNELAUDIO_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3nextpts.c b/dxr3nextpts.c index 8aaf837..6f6ffeb 100644 --- a/dxr3nextpts.c +++ b/dxr3nextpts.c @@ -23,3 +23,9 @@ // ================================== cMutex* cDxr3NextPts::m_pMutex = new cMutex; + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3nextpts.h b/dxr3nextpts.h index 64fe8eb..daddbfb 100644 --- a/dxr3nextpts.h +++ b/dxr3nextpts.h @@ -53,3 +53,9 @@ private: }; #endif /*_DXR3NEXTPTS_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -157,3 +157,9 @@ void cDxr3Osd::MoveWindow(cWindow *Window, int x, int y) } #endif /*VDRVERSNUM*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: @@ -40,3 +40,9 @@ public: #endif /*VDRVERSNUM*/ #endif /*_DXR3_OSD_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3osd_subpicture.c b/dxr3osd_subpicture.c index bc49086..3b9f6a8 100644 --- a/dxr3osd_subpicture.c +++ b/dxr3osd_subpicture.c @@ -174,3 +174,8 @@ void cDxr3SubpictureOsd::Flush() #endif /*VDRVERSNUM*/ +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3osd_subpicture.h b/dxr3osd_subpicture.h index e128380..8eae204 100644 --- a/dxr3osd_subpicture.h +++ b/dxr3osd_subpicture.h @@ -27,3 +27,9 @@ public: #endif /*VDRVERSNUM*/ #endif /*_DXR3OSD_SUBPICTURE_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3outputthread.c b/dxr3outputthread.c index 300d0e7..2130a7d 100644 --- a/dxr3outputthread.c +++ b/dxr3outputthread.c @@ -229,5 +229,10 @@ void cDxr3VideoOutThread::Action() } } - #undef SCR + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3outputthread.h b/dxr3outputthread.h index 504b241..2a5c329 100644 --- a/dxr3outputthread.h +++ b/dxr3outputthread.h @@ -82,3 +82,9 @@ private: }; #endif /*_DXR3OUTPUTTHREAD_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3palettemanager.c b/dxr3palettemanager.c index b93eaeb..59c6ea5 100644 --- a/dxr3palettemanager.c +++ b/dxr3palettemanager.c @@ -113,3 +113,9 @@ uint32_t* cDxr3PaletteManager::GetPalette() return m_pal; } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3palettemanager.h b/dxr3palettemanager.h index 94253b8..4a05e52 100644 --- a/dxr3palettemanager.h +++ b/dxr3palettemanager.h @@ -37,3 +37,9 @@ private: }; #endif /*_DXR3PALETTEMANAGER_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3pesframe.c b/dxr3pesframe.c index e1cbb9e..297ae5c 100644 --- a/dxr3pesframe.c +++ b/dxr3pesframe.c @@ -247,3 +247,8 @@ uint32_t cDxr3PesFrame::m_staticAspectRatio = EM8300_ASPECTRATIO_4_3; uint32_t cDxr3PesFrame::m_staticHorizontalSize = 720; const uint32_t cDxr3PesFrame::MAX_PES_HEADER_SIZE = 184; +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3pesframe.h b/dxr3pesframe.h index e032cb9..56f6963 100644 --- a/dxr3pesframe.h +++ b/dxr3pesframe.h @@ -165,7 +165,10 @@ private: }; - #endif /*_DXR3PESFRAME_H_*/ - +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3singleton.h b/dxr3singleton.h index 849224d..316d8ac 100644 --- a/dxr3singleton.h +++ b/dxr3singleton.h @@ -44,3 +44,9 @@ class Singleton }; #endif /*_DXR3_SINGLETON_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3spudecoder.c b/dxr3spudecoder.c index 28231bb..fc49b42 100644 --- a/dxr3spudecoder.c +++ b/dxr3spudecoder.c @@ -103,3 +103,9 @@ int cDxr3SpuDecoder::setTime(uint32_t pts) { return (pts == 0) ? 0 : 1; } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3spudecoder.h b/dxr3spudecoder.h index 7de6360..e5c8bc7 100644 --- a/dxr3spudecoder.h +++ b/dxr3spudecoder.h @@ -62,3 +62,9 @@ private: }; #endif /*_DXR3SPUDECODER_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3spuencoder.c b/dxr3spuencoder.c index ebfe0df..18ef0e1 100644 --- a/dxr3spuencoder.c +++ b/dxr3spuencoder.c @@ -238,3 +238,9 @@ void cSPUEncoder::CalculateActiveOsdArea() cLog::Instance() << "OSD x1: " << m_active_osd.x1 << "\n"; cLog::Instance() << "OSD y1: " << m_active_osd.y1 << "\n"; } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3spuencoder.h b/dxr3spuencoder.h index 1f486c3..f3ccea6 100644 --- a/dxr3spuencoder.h +++ b/dxr3spuencoder.h @@ -201,3 +201,9 @@ private: */ #endif /*_DXR3_INTERFACE_SPU_ENCODER_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c index e7544ec..f9f9d50 100644 --- a/dxr3syncbuffer.c +++ b/dxr3syncbuffer.c @@ -462,3 +462,9 @@ void cDxr3SyncBuffer::ReceiverStopped(void) { receiverStopped.Broadcast(); } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3syncbuffer.h b/dxr3syncbuffer.h index 63c6e1e..f0d82fa 100644 --- a/dxr3syncbuffer.h +++ b/dxr3syncbuffer.h @@ -136,3 +136,9 @@ private: }; #endif /*_DXR3SYNCBUFFER_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3sysclock.c b/dxr3sysclock.c index 8c32948..192ccc9 100644 --- a/dxr3sysclock.c +++ b/dxr3sysclock.c @@ -68,3 +68,9 @@ void cDxr3SysClock::SetSpuPts(uint32_t pts) ioctl(m_fdspu, EM8300_IOCTL_SPU_SETPTS, &newPts); mutex.Unlock(); } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3sysclock.h b/dxr3sysclock.h index 21910e0..deb969c 100644 --- a/dxr3sysclock.h +++ b/dxr3sysclock.h @@ -54,3 +54,9 @@ protected: }; #endif /*_DXR3_SYSCLOCK_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3tools.h b/dxr3tools.h index 5a8c890..15d709a 100644 --- a/dxr3tools.h +++ b/dxr3tools.h @@ -99,3 +99,9 @@ namespace Tools } #endif /*_DXR3TOOLS_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3unixserversocket.c b/dxr3unixserversocket.c index d4a9100..0ddceb7 100644 --- a/dxr3unixserversocket.c +++ b/dxr3unixserversocket.c @@ -207,3 +207,9 @@ void cDxr3StartStopThread::Action() while (mySocket.GetNextMessage()); } } + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3unixserversocket.h b/dxr3unixserversocket.h index 3638a30..3e56599 100644 --- a/dxr3unixserversocket.h +++ b/dxr3unixserversocket.h @@ -82,3 +82,9 @@ private: }; #endif // __DXR3_UNIX_SERVER_SOCKET_H + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: diff --git a/dxr3vdrincludes.h b/dxr3vdrincludes.h index c3d8e17..39d0f51 100644 --- a/dxr3vdrincludes.h +++ b/dxr3vdrincludes.h @@ -53,3 +53,9 @@ #endif #endif /*_DXR3_VDRINCLUDES_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// indent-tabs-mode: t +// End: |