From 46a924d34890f64e168ab247bcdad47cfc44a889 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Tue, 12 Oct 2010 15:56:41 +0200 Subject: Add vim/emacs modelines to all source files Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth --- xmerge/inc/pch/precompiled_xmerge.cxx | 2 ++ xmerge/source/activesync/XMergeFactory.cpp | 2 ++ xmerge/source/activesync/XMergeFilter.cpp | 3 +++ xmerge/source/activesync/XMergeSync.cpp | 2 ++ xmerge/source/activesync/stdafx.cpp | 2 ++ xmerge/source/regutil/regutil.cpp | 4 +++- 6 files changed, 14 insertions(+), 1 deletion(-) (limited to 'xmerge') diff --git a/xmerge/inc/pch/precompiled_xmerge.cxx b/xmerge/inc/pch/precompiled_xmerge.cxx index a3c5d7a24808..9cd60aa39f1e 100644 --- a/xmerge/inc/pch/precompiled_xmerge.cxx +++ b/xmerge/inc/pch/precompiled_xmerge.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -27,3 +28,4 @@ #include "precompiled_xmerge.hxx" +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmerge/source/activesync/XMergeFactory.cpp b/xmerge/source/activesync/XMergeFactory.cpp index 1c59cd79a8a0..024771d1e011 100644 --- a/xmerge/source/activesync/XMergeFactory.cpp +++ b/xmerge/source/activesync/XMergeFactory.cpp @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // XMergeFactory.cpp: implementation of the CXMergeFactory class. // ////////////////////////////////////////////////////////////////////// @@ -88,3 +89,4 @@ STDMETHODIMP CXMergeFactory::LockServer(BOOL fLock) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmerge/source/activesync/XMergeFilter.cpp b/xmerge/source/activesync/XMergeFilter.cpp index a02f11d03ad3..f6d0a4d5394f 100644 --- a/xmerge/source/activesync/XMergeFilter.cpp +++ b/xmerge/source/activesync/XMergeFilter.cpp @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // XMergeFilter.cpp: implementation of the CXMergeFilter class. // ////////////////////////////////////////////////////////////////////// @@ -493,3 +494,5 @@ TCHAR* CXMergeFilter::GetXMergeClassPath() // Return the data return _strdup(clsPath.c_str()); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmerge/source/activesync/XMergeSync.cpp b/xmerge/source/activesync/XMergeSync.cpp index 469c15b2f292..13c5cdf57f88 100644 --- a/xmerge/source/activesync/XMergeSync.cpp +++ b/xmerge/source/activesync/XMergeSync.cpp @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include "stdafx.h" @@ -835,3 +836,4 @@ long CXMergeSyncModule::GetLockCount() return m_lLocks + m_lObjs; } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmerge/source/activesync/stdafx.cpp b/xmerge/source/activesync/stdafx.cpp index eefe5176aad4..65cdc8840ca6 100644 --- a/xmerge/source/activesync/stdafx.cpp +++ b/xmerge/source/activesync/stdafx.cpp @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ // // stdafx.cpp : source file that includes just the standard includes // stdafx.pch will be the pre-compiled header @@ -5,3 +6,4 @@ // #include "stdafx.h" +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmerge/source/regutil/regutil.cpp b/xmerge/source/regutil/regutil.cpp index 3703192d79b5..17b1656fb282 100644 --- a/xmerge/source/regutil/regutil.cpp +++ b/xmerge/source/regutil/regutil.cpp @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Simple Application which calls the DllRegisterServer or DllUnregisterServer functions * of the XMerge ActiveSync plugin. @@ -99,4 +100,5 @@ int main(int argc, char* argv[]) FreeLibrary(hmXMDll); return 0; -} \ No newline at end of file +} +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit